W. Eric Norum
d99fb7029d
Change all instances of ioccrf' to iocsh' to reflect the added
...
capabilities of the IOC shell routines.
2001-05-17 18:16:49 +00:00
W. Eric Norum
84cd107ad9
Make epicsEnvShow work when called from vxWorks shell or iocsh.
...
Limits operation to a single argument.
2001-05-17 16:56:14 +00:00
W. Eric Norum
3ec821a74a
Create os-specific versions of routines to set and
...
display environment variables.
2001-05-07 16:11:57 +00:00
W. Eric Norum
f8f306624e
Remove env command -- vxWorks has no environ pointer.
...
Add epicsPrtEnvParams to print all EPICS environment parameters.
Add printEnv to print specified environment variables.
2001-05-01 18:38:50 +00:00
W. Eric Norum
f1f5f385bb
Add `env' command to print enviornment variables.
2001-04-24 19:35:57 +00:00
W. Eric Norum
647221079f
Fix up broken putenv().
2001-04-24 18:36:31 +00:00
Marty Kraimer
7170c80194
add epicsMutexShowAll
2001-04-05 14:57:14 +00:00
W. Eric Norum
d7137d3e02
Clean up handling of `argv' style arguments.
2001-03-20 03:25:04 +00:00
W. Eric Norum
92983574e7
Clean up the help message for # comments.
2001-03-19 22:14:35 +00:00
W. Eric Norum
45de0e4e1f
Add ioccrfArgArgv argument type to support functions which take an
...
arbitrary number of arguments (e.g. show). Clean up help display
of argument desciptors containing spaces.
2001-03-17 18:25:30 +00:00
W. Eric Norum
9b401acc13
Don't pass a truncated argument buffer array to a handler function.
2001-03-15 22:09:36 +00:00
Marty Kraimer
e87f32f6e9
strdup not available on vxWorks
2001-02-22 19:39:02 +00:00
W. Eric Norum
6f312ac705
Provide help message about comment lines.
2001-02-19 16:15:29 +00:00
W. Eric Norum
be26f7f684
Provide more meaningful help message.
2001-02-19 16:14:53 +00:00
Marty Kraimer
6a52eff141
osiTime=>epicsTime
2001-01-31 13:34:02 +00:00
Marty Kraimer
013587eeeb
epicsThreadInit is no longer public
2001-01-22 20:11:33 +00:00
Marty Kraimer
dbe9c8e75f
changes for osiThread=>epicsThread
2001-01-18 19:08:14 +00:00
W. Eric Norum
06c360c5eb
Move readline support to src/libCom/osi/os/xxx/.
...
The single source file is in src/libCom/osi/os/default/epicsReadline.c which
uses the readline library routines or uses local code to read lines of input.
Selection is made by src/libCom/osi/os/XXX/osdReadline.h. The default
version does not cause the readline library routines to be used.
2001-01-11 16:39:42 +00:00
W. Eric Norum
59b6494147
Fix putenv wrapper so that environment isn't left with pointers to freed memory.
2001-01-10 17:45:58 +00:00
Jeff Hill
95a0478582
fixed Microsloth DLL issues
2001-01-10 15:54:31 +00:00
Marty Kraimer
0d742d5408
dont override description of putenv
2001-01-10 14:23:37 +00:00
W. Eric Norum
36a46d4aad
C++ STL does not work on Solaris or Windows so replace the calls to it with
...
calls to the EPICS registry routines.
Maintain a local linked list of commands for use by the help command.
2001-01-09 16:16:02 +00:00
W. Eric Norum
d95e8b2822
Make ioccrf argument lists constant.
...
Add std namespace to ioccrf.cpp.
2000-12-21 20:35:43 +00:00
W. Eric Norum
3e09b0fd52
Use an unnamed namespace instead of a static to provide a file-local scope.
2000-12-21 19:42:03 +00:00
W. Eric Norum
8ea97a12b5
Compile properly when IOCCSH_USE_READLINE is not defined.
2000-12-21 19:36:01 +00:00
W. Eric Norum
fe4cad085e
Change the registerRecordDeviceDriver.pl script to create
...
registerRecordDeviceDriver.c as a C++ file (.cpp) so that it can
use a static constructor to register the registerRecordDeviceDriver()
command with the IOC shell
Remove the old registerRecordDeviceDriverRegister.[ch] source files.
2000-12-21 15:57:21 +00:00
W. Eric Norum
68e3f07c6a
Register more commands automatically from within ioccrf.cpp.
2000-12-20 01:04:52 +00:00
W. Eric Norum
85b58a1e05
Register common IOC shell commands automatically as part of ioccrf constructors.
2000-12-19 21:52:31 +00:00
W. Eric Norum
f89e77438d
A few more files added as part of the conversion to C++.
2000-12-18 15:35:10 +00:00
W. Eric Norum
ad7dc7153c
Big changes to ioccrf routines.
...
1) Switched from using the registry to using a C++ map. This provides
an easy way to add...
2) A help command. With no arguments, this command prints a table of
commands. With arguments it prints a synopsis of the specified
command(s).
3) ioccrf() is now thread-safe with plans to add multiple remote
access via telnet. The value pointers have been removed from the
argument structures and a pointer to an array of argument unions is
passed to the registered callback routines.
4) All command/argument configuration structures are now const.
2000-12-18 15:33:21 +00:00
Janet B. Anderson
670c772738
Added win32 resource file.
2000-09-25 22:15:10 +00:00
W. Eric Norum
66c7b2b2fa
Add iocLogInit() registration.
2000-09-21 22:19:47 +00:00
W. Eric Norum
d387b5d5b2
RTEMS no longer needs special version of the IOC shell file access routines.
2000-08-23 22:29:25 +00:00
Jeff Hill
e58e527b12
use osiUnistd.h
2000-06-01 15:55:39 +00:00
W. Eric Norum
85c2135b0d
Add putenv command.
2000-05-31 22:36:40 +00:00
Marty Kraimer
ecb63cc5c4
changed name
2000-05-25 19:18:00 +00:00
Jeff Hill
2ee38b4754
print an error when cd fails
2000-05-25 17:35:26 +00:00
Jeff Hill
dd24055ea8
fixed Tornado II build
2000-05-24 21:52:02 +00:00
Marty Kraimer
e4d9ceb26c
add epicsPrtEnvParams
2000-05-19 14:32:28 +00:00
Marty Kraimer
502527e7cf
add astac, dbtpn, threadSleep
2000-05-10 12:58:48 +00:00
W. Eric Norum
96f30d12e0
Convert iocccrf to take a single pathname argument.
...
If the pathname is NULL, emit prompts and read from stdin.
Use the last component of the pathname as the `filename' argument to showError.
Get the prompt from the IOCSH_PS1 environment variable or use default "iocsh> ".
Return 0 on success. Print message and return -1 on failure (e.g. can't open file).
If using readline, get history size from IOCSH_HISTSIZE environment variable.
2000-05-08 18:59:59 +00:00
Marty Kraimer
75764e26b2
add include ioccrf.h
2000-05-05 12:42:07 +00:00
Janet B. Anderson
d03698e990
Changes for win32 build.
2000-05-04 20:40:45 +00:00
Marty Kraimer
69da66e029
changes for registerRecordDeviceDriverRegister
2000-05-04 19:15:37 +00:00
Jeff Hill
1a460294ce
fixed DLL keyword related problems
2000-05-04 16:20:55 +00:00
Jeff Hill
489bf56f72
fixed DLL keyword related problems
2000-05-04 15:52:25 +00:00
Jeff Hill
6d1bed689e
use proper form of include for system libraries
2000-05-04 15:39:58 +00:00
Marty Kraimer
351b87e72b
new
2000-05-04 13:03:06 +00:00
Marty Kraimer
e9aa6298c3
move location on include ioccrf
2000-05-04 13:02:39 +00:00
Jeff Hill
0f67cc3054
fixed some of the DLL export problems
2000-05-04 01:21:44 +00:00