diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-16 05:18:56 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-16 05:18:56 +0000 |
commit | d811c9277c942ef81ec5f325ae55337ff3089842 (patch) | |
tree | af13e7c0dcb8d4e9d9d938bce60eb610f8bb6748 /lib/libedit/emacs.c | |
parent | 891d48fc5656bed485ad5e2b5e154786b9f84d2e (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/emacs.c')
-rw-r--r-- | lib/libedit/emacs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libedit/emacs.c b/lib/libedit/emacs.c index 273de1079f7..c921bdbdd09 100644 --- a/lib/libedit/emacs.c +++ b/lib/libedit/emacs.c @@ -1,3 +1,5 @@ +/* $OpenBSD: emacs.c,v 1.2 1997/01/16 05:18:32 millert Exp $ */ + /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #if !defined(lint) && !defined(SCCSID) +#if 0 static char sccsid[] = "@(#)emacs.c 8.1 (Berkeley) 6/4/93"; +#else +static char rcsid[] = "$OpenBSD: emacs.c,v 1.2 1997/01/16 05:18:32 millert Exp $"; +#endif #endif /* not lint && not SCCSID */ /* |