summaryrefslogtreecommitdiff
path: root/lib/libedit/parse.c
AgeCommit message (Collapse)Author
1998-07-29* add more checks for NULL pointers in passed argumentslukem
* implement el_get(EditLine *, int op, void *result), which does the inverse of el_set() * add EL_EDITMODE operation to el_set and el_get; if non zero editing is enabled (the default). * add "edit on | off" editrc command, which modifies EL_EDITMODE. users can now add '*:edit off' in ~/.editrc as an advisory to disable editing. NOTE: at this time EL_EDITMODE is just an indication of the state of the 'edit' command. It's up to the application to check this after el_source() or el_parse() to determine if editing is still required.
1998-01-21in el_parse(), use a temporary buffer to store the program name whenlukem
comparing, preventing trashing of argv[0]. remove note in man page warning of former behaviour.
1997-07-06Fix compiler warnings.christos
1997-01-11* document ^char and \ escape sequenceslukem
* when parsing ^char control chars, check the correct char when determining validity (previously, ^char was a NOP interpreted as the literal string because of this bug)
1997-01-11RCSid policelukem
editline first appeared in 4.4BSD not NetBSD1.0
1997-01-11* in el_parse(), don't reference argv[0] if argc < 1 (return -1 instead)lukem
* clarify return value of el_parse()
1997-01-09* add a man page for the editline routineslukem
* add a man page describing editrc * fix bugs in el_parse(): * didn't execute command when program name matched (test reversed) * was checking against empty string instead of program name * after checks, command to run also pointed to empty string [christos - the author of libedit - ok-ed the man pages in general (which I wrote from scratch by RTFS) as well as the bugfix]
1994-05-06libedit!cgd