diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-10-31 08:42:25 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-10-31 08:42:25 +0000 |
commit | 6ff1c1765c2b4495f0292fe730d9bb9a5daef063 (patch) | |
tree | f9b79c5d3b01533c847610f8410f66661df68535 /lib/libedit/config.h | |
parent | 4c1c60ce562b0cf6d8cb6e2e49e2b53193359874 (diff) |
Update to NetBSD libedit (from Oct 1, 2003), adding some string
cleaning and history bug fixes. The code includes GNU libreadline
functionality, but the corresponding header files are not installed,
since some libreadline functions are missing. There are some minor API
changes, notably:
old: EditLine *el_init(const char *, FILE *, FILE *);
new: EditLine *el_init(const char *, FILE *, FILE *, FILE *);
old: HistEvent *history(History *h, int op, ...);
new: int history(History *h, HistEvent *ev, int op, ...); plus some
changes in operation names. See editline(3) for details.
Tested by djm@, mouring@, jmc@.
ok deraadt@
Diffstat (limited to 'lib/libedit/config.h')
-rw-r--r-- | lib/libedit/config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libedit/config.h b/lib/libedit/config.h new file mode 100644 index 00000000000..a3986766294 --- /dev/null +++ b/lib/libedit/config.h @@ -0,0 +1,19 @@ +/* $OpenBSD: config.h,v 1.1 2003/10/31 08:42:24 otto Exp $ */ +/* config.h. Generated automatically by configure. */ +/* #undef SUNOS */ + +#define HAVE_SYS_CDEFS_H 1 +#define HAVE_TERMCAP_H 1 +/* #undef HAVE_CURSES_H */ +/* #undef HAVE_NCURSES_H */ +/* #undef HAVE_TERM_H */ +#define HAVE_VIS_H 1 +#define HAVE_ISSETUGID 1 + +#define HAVE_STRLCAT 1 +#define HAVE_STRLCPY 1 +#define HAVE_FGETLN 1 +#define HAVE_STRVIS 1 +#define HAVE_STRUNVIS 1 + +#include "sys.h" |