Commit Graph

7 Commits

Author SHA1 Message Date
lukem f87d250404 * add more checks for NULL pointers in passed arguments
* 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-07-29 02:26:00 +00:00
mrg 53b970783b use int rather than char as an array index. 1998-03-30 01:30:14 +00:00
perry 0b7831a37b remove obsolete register declarations 1998-02-03 19:12:13 +00:00
christos 54fac6850e Fix compiler warnings. 1997-07-06 18:25:21 +00:00
lukem 2543e3e651 RCSid police
editline first appeared in 4.4BSD not NetBSD1.0
1997-01-11 06:47:47 +00:00
mycroft 4d13217262 Trivial code ordering change. 1995-04-27 03:59:38 +00:00
cgd 6dc2f1db52 libedit! 1994-05-06 06:01:42 +00:00