Commit Graph

41 Commits

Author SHA1 Message Date
W. Eric Norum
cd4b7ba067 Work around problem with iocsh redirection from within vxWorks scripts. 2005-01-10 15:09:26 +00:00
W. Eric Norum
8739e1c298 Allow 'unsigned' integers. 2004-11-03 22:16:18 +00:00
W. Eric Norum
c7e7f8e221 Don't require pdbbase if not linking iocshRegisterCommon commands. 2004-11-03 17:14:48 +00:00
Andrew Johnson
e700d00db0 Moved static constructor call of iocshRegisterCommon() from iocsh.cpp into
the output from the registerRecordDeviceDriver.pl script, so standalone
sequencer programs don't import all of iocCore unnecessarily.
2004-10-29 23:24:35 +00:00
W. Eric Norum
4f731caf14 Add os-independent epicsStrtod() routine. 2004-10-11 18:22:12 +00:00
Jeff Hill
d91a3917ce new #include 2004-10-08 14:58:59 +00:00
W. Eric Norum
0d6784c31b Provide epicsStrGlobMatch().
Add globbing to iocsh help command.
2004-10-07 20:10:38 +00:00
W. Eric Norum
75e43a6b6c Detect memory exhaustion. 2004-10-05 18:21:30 +00:00
W. Eric Norum
42953c05f7 Treat \r as a separator -- should allow DOS-format scripts to work. 2004-10-02 15:34:47 +00:00
W. Eric Norum
3973a3fdb2 Typo. 2004-09-14 20:25:12 +00:00
W. Eric Norum
a7b44180bd Redirect special case. 2004-09-14 20:21:10 +00:00
W. Eric Norum
096172f252 Handle
<foo >bar
properly.
2004-09-14 19:58:09 +00:00
Marty Kraimer
4d636df146 extern C except for registerObj 2004-08-30 13:39:03 +00:00
W. Eric Norum
84dd4cdd2b Add iocshCmd command.
General cleanup.
Split help code into separate function.
2004-07-26 18:21:57 +00:00
Marty Kraimer
f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
W. Eric Norum
99778934c1 Ensure that redirection is off before attempting to read next line. 2004-07-09 18:40:42 +00:00
W. Eric Norum
f6e1d32b25 Add 'ok-to-block' flag. 2004-07-09 18:30:29 +00:00
W. Eric Norum
94e70da4ef Allow redirection from recursive iocsh invocations. 2004-07-09 13:18:40 +00:00
W. Eric Norum
744e836ad8 Add I/O redirection. 2004-07-08 21:19:42 +00:00
W. Eric Norum
33a5dd714e Echo comments read from a script. 2004-05-24 21:20:27 +00:00
Andrew Johnson
2bef3a2d08 Added two new envParams and converted iocsh to use these instead of getenv() 2004-05-17 21:40:10 +00:00
W. Eric Norum
26a6df0652 Clean up handling of redefinitions. 2003-09-02 20:07:18 +00:00
W. Eric Norum
e3c514ea9e Add *all* iocsh variables, not just the first.
A tip of the hat to Mark Rivers for fixing this.
2003-09-01 14:05:47 +00:00
Jeff Hill
8faa55056d fixed visual c++ 6.0 build 2003-07-28 18:38:59 +00:00
W. Eric Norum
0c8d2336b7 Echo lines read from scripts after macro expansion has completed. 2003-07-25 15:31:43 +00:00
W. Eric Norum
a907bc4df3 Expand line *before* breaking into arguments.
a) Much more efficient
    b) Allows expansion to multiple arguments.
2003-07-16 12:35:33 +00:00
Andrew Johnson
ac4890e5c9 Fixed locking problem in new iocshRegisterVariable routine. 2003-07-15 22:13:23 +00:00
W. Eric Norum
a4c82bfd9f Touch up previous fix. 2003-07-15 21:17:29 +00:00
W. Eric Norum
417dfcc191 Declare proper linkage for varCallFunc(). 2003-07-15 20:47:22 +00:00
W. Eric Norum
86158b907d Add support for environment variable macro expansion. 2003-07-15 20:38:09 +00:00
W. Eric Norum
1e2a950e0b Add support for simple variable set/show. 2003-07-15 18:55:14 +00:00
W. Eric Norum
ac128fc048 Add iocshArgPersistentString type. 2003-07-08 20:14:54 +00:00
W. Eric Norum
5ec41e6088 Allow run-time modification of prompt. 2003-05-08 16:04:04 +00:00
Marty Kraimer
3e1af8ce08 must use fprintf(stdout not printf so that help works on vxWorks 2002-12-12 20:09:36 +00:00
W. Eric Norum
1c7428c1cf Change command-line input to allow CONFIG_SITE selection of libtecla,
GNU readline, or built-in EPICS routines.
2002-11-20 20:17:36 +00:00
Andrew Johnson
dff960b3c3 Added command-line echoing when executing a script. 2002-09-24 22:06:54 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Marty Kraimer
02c8f06c7f call errlogFlush before terminating 2002-07-09 18:58:54 +00:00
Marty Kraimer
7799184457 make commandTableOnce a c program 2002-06-14 13:46:28 +00:00
Ralph Lange
8d3bc7abec Fix for bitching HPUX 11 compiler 2002-03-08 14:23:04 +00:00
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