summaryrefslogtreecommitdiff
path: root/lib/libedit/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-01-16 05:18:56 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-01-16 05:18:56 +0000
commitd811c9277c942ef81ec5f325ae55337ff3089842 (patch)
treeaf13e7c0dcb8d4e9d9d938bce60eb610f8bb6748 /lib/libedit/Makefile
parent891d48fc5656bed485ad5e2b5e154786b9f84d2e (diff)
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)
Diffstat (limited to 'lib/libedit/Makefile')
-rw-r--r--lib/libedit/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index c990dffaca0..18ba3406249 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -1,4 +1,5 @@
-# @(#)Makefile 8.1 (Berkeley) 6/4/93
+# $OpenBSD: Makefile,v 1.4 1997/01/16 05:18:27 millert Exp $
+# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB= edit
@@ -6,6 +7,15 @@ OSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \
prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \
help.c fcns.c
+MAN= editline.3 editrc.5
+
+MLINKS= editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \
+ editline.3 el_gets.3 editline.3 el_getc.3 editline.3 el_push.3 \
+ editline.3 el_parse.3 editline.3 el_set.3 editline.3 el_source.3 \
+ editline.3 el_resize.3 editline.3 el_line.3 \
+ editline.3 el_insertstr.3 editline.3 el_deletestr.3 \
+ editline.3 history_init.3 editline.3 history_end.3 editline.3 history.3
+
# For speed and debugging
#SRCS= ${OSRCS} tokenizer.c history.c
# For protection