-
Committer:
Andrew Johnson
-
Date:
2014-07-06 06:34:17 UTC
-
Revision ID:
anj@aps.anl.gov-20140706063417-xw09eshe93bx0r3d
Build basic commandline history/editor into all targets
The build configuration parameter now specifies the preferred
history/editor module, but this can be disabled before starting the
IOC by setting the enviroment variable IOCSH_HISTEDIT_DISABLE in
which case the basic module will be used.
This commit splits the confusing osi/os/default/epicsReadline.c
file into four separate files; osi/epicsReadline.c which contains
the basic command-line module and has no history capabilities; the
osi/os/default/gnuReadline.c file provides the support for GNU
Readline, and can be included for any target that has GNU Readline
available; the osi/os/RTEMS/osdReadline.c impmentation uses tecla;
and osi/os/vxWorks/osdReadline.c uses the VxWorks ledLib API.
The Perl EPICS::IOC module now sets the IOCSH_HISTEDIT_DISABLE
environment variable to prevent unexpected output from the chosen
history/editor from confusing its parsing of command output.
THe VxWorks and RTEMS modules have not been built or tested yet.