Merge in NetBSD libedit changes and new man pages. Also fix some
authormillert <millert@openbsd.org>
Thu, 16 Jan 1997 05:18:27 +0000 (05:18 +0000)
committermillert <millert@openbsd.org>
Thu, 16 Jan 1997 05:18:27 +0000 (05:18 +0000)
commitbabb851a03da708c23432c3b0e2db2e2d63a0ef9
treed668950408f4b1778018080418b2f76b9aff9340
parent3874c371d58ca852c519aa420e86febd442b9b58
Merge in NetBSD libedit changes and new man pages.  Also fix some
strncpy() usage in their code.  NetBSD change log was:
    * add a man page for the editline routines
    * 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
    * document ^char and \ escape sequences
    * 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)
    * Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input
    * line (a la ^R). This is useful if the binding outputs information and
    * mucks up the input line. To be used in ``list-choices'' bindings (refer
    * to the ^D binding in csh when filec is set)
37 files changed:
lib/libedit/Makefile
lib/libedit/TEST/test.c
lib/libedit/chared.c
lib/libedit/chared.h
lib/libedit/common.c
lib/libedit/el.c
lib/libedit/el.h
lib/libedit/emacs.c
lib/libedit/hist.c
lib/libedit/hist.h
lib/libedit/histedit.h
lib/libedit/history.c
lib/libedit/key.c
lib/libedit/key.h
lib/libedit/makelist
lib/libedit/map.c
lib/libedit/map.h
lib/libedit/parse.c
lib/libedit/parse.h
lib/libedit/prompt.c
lib/libedit/prompt.h
lib/libedit/read.c
lib/libedit/refresh.c
lib/libedit/refresh.h
lib/libedit/search.c
lib/libedit/search.h
lib/libedit/sig.c
lib/libedit/sig.h
lib/libedit/sys.h
lib/libedit/term.c
lib/libedit/term.h
lib/libedit/termcap.h
lib/libedit/tokenizer.c
lib/libedit/tokenizer.h
lib/libedit/tty.c
lib/libedit/tty.h
lib/libedit/vi.c