garbled
38c96853cf
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-22 19:44:33 +00:00
mycroft
b59b039954
Add missing , in he_errlist[] initializer. Yay lint.
1999-03-06 00:17:25 +00:00
itohy
0abd947255
Add minimal dependency to make "make depend" optional
...
after cleandir.
1999-03-04 11:45:22 +00:00
abs
edc1a24a56
Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
...
RCS Id.
1999-02-25 08:02:19 +00:00
christos
468bdc50fc
PR/6957: Wolfgang Helbig: libedit swaps CR and LF control chars.
1999-02-07 14:34:05 +00:00
christos
571b899770
delint.
1999-02-05 20:53:49 +00:00
christos
84ee55f13e
Encode the history lines using strvis() before saving it. Fixes gdb history
...
problem with missing newlines.
1999-02-05 20:52:23 +00:00
christos
0d4dea9233
M-X:<enter> core-dumped.
1999-02-05 20:38:01 +00:00
kleink
3ed4fcf61e
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
lukem
ddfeeeebfd
fix history() prototype. (d@openbsd.org)
1999-01-05 22:46:22 +00:00
kleink
37709da758
Change multiple inclusion protection symbol name to NetBSD convention which
...
doesn't violate namespace rules.
1998-12-20 17:52:01 +00:00
christos
a6d4afba22
delint
1998-12-12 20:08:21 +00:00
christos
a0be074d8b
many problems; variables hidden by others, size_t <-> confusion
1998-12-12 19:54:16 +00:00
christos
61df62e6a8
- missing error message from array could cause core dump
...
- delint
1998-12-12 19:52:51 +00:00
cgd
244d803bb3
per e-mail with christos: history_next_event() should return -1, not NULL,
...
in case of error, just like history_prev_event() does.
1998-12-03 17:51:16 +00:00
christos
5e435627f6
fix core-dump caused by maps not being initialized before tty is called.
1998-09-28 11:00:05 +00:00
christos
622528ad62
Obey incoming tty char settings.
1998-09-27 18:04:12 +00:00
christos
016aaad0ba
PR/6081: Wolfgang Helbig: search broken in vi mode. When patbuf was changed
...
to be dynamically allocated, sizeof was not changed appropriately.
1998-09-02 21:33:50 +00:00
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
lukem
a7d411eb83
documentation is always probably incomplete; don't make an issue of it
1998-06-08 10:56:43 +00:00
lukem
fe1a16ac05
* implement CC_REFRESH_BEEP; as per CC_REFRESH but beep as well. this
...
is useful in completion when a partial completion is found
* remove entry in BUGS about el_parse(); that was fixed a while ago
1998-06-01 14:31:26 +00:00
christos
9f2cd5c8ff
Show the simpler way.
1998-05-20 01:38:53 +00:00
christos
eac8b13603
Add H_APPEND to simplify the interface.
1998-05-20 01:37:54 +00:00
christos
116d3cb1aa
Fix for api changes.
1998-05-20 01:12:25 +00:00
christos
e44dec2e4b
Adjust for changes.
1998-05-20 01:05:27 +00:00
christos
34f34f3dd5
change M_* constants to MD_* to avoid clashes with <stream.h>
1998-05-20 01:04:56 +00:00
christos
aa6425fdd4
remove term_beep hack.
1998-05-20 01:04:17 +00:00
christos
a6c5308263
Bump!
1998-05-20 01:03:51 +00:00
christos
32cdebd7ac
cast is*() arg to unsigned char
1998-05-20 01:03:30 +00:00
christos
96c915840c
Adjust to the libedit api changes.
1998-05-20 01:03:06 +00:00
christos
ccac6ba81c
Add a function to be able to set the cursor to a given event number.
1998-05-20 01:02:38 +00:00
christos
4b8b8611ee
- add extra argument to el_init
...
- fix history functions
- add el_beep()
1998-05-20 01:02:09 +00:00
christos
46573afdb6
cast is*() arg to unsigned char
1998-05-20 01:01:28 +00:00
christos
ff2402b524
el_init takes a third stream argument and add el_beep.
1998-05-20 01:01:00 +00:00
christos
84c5ecc419
Don't print to stderr, but to the editline error stream.
1998-05-20 01:00:33 +00:00
mrg
53b970783b
use int rather than char as an array index.
1998-03-30 01:30:14 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
perry
0b7831a37b
remove obsolete register declarations
1998-02-03 19:12:13 +00:00
perry
58a555d4a2
update to lite-2 (just an sccsid change)
1998-01-30 02:27:34 +00:00
lukem
63177b84ae
in el_parse(), use a temporary buffer to store the program name when
...
comparing, preventing trashing of argv[0]. remove note in man page
warning of former behaviour.
1998-01-21 11:12:34 +00:00
lukem
78b73237b4
fix compile errors if FIONREAD is defined. noted by
...
David Holland <dholland@bordeaux.eecs.harvard.edu> in [bin/4012].
1998-01-21 10:12:22 +00:00
perry
93db5caa95
RCSID Police.
1998-01-05 07:41:06 +00:00
christos
c49189ae41
Small optimization. Don't call isatty() on every invocation of el_gets, but
...
remember if the tty setup failed... Also trim the input line of trailing \r's.
1997-12-20 19:15:50 +00:00
thorpej
c8160e6ecd
Un-"protect" term_beep() and rename it to __term_beep() to keep it out
...
of the user's namespace. We need to do this because the readline
emulation functions call term_beep(), but readline isn't built using
the same (funky) namespace-protection method as the rest of libedit (it's
included like a normal library object).
Without this (fairly disgusting) hack, any program linked against
libedit will fail to link with an unresolved reference to term_beep()
if using an Elf toolchain (e.g. on the Alpha).
XXX Why this doesn't happen with NetBSD's a.out toolchain is a mystery
XXX to me, and I'm not sure I really want to know (given that a.out
XXX _should_ break the same way as Elf does in this case).
1997-11-13 04:48:48 +00:00
thorpej
285ed31737
Build readline.o into debugging versions of libedit, too.
1997-11-13 04:43:07 +00:00
thorpej
142a4c50c4
el_gets() takes an int *, not a size_t *.
1997-11-12 21:56:05 +00:00
lukem
94c2aad7df
move description of history() return value
1997-11-09 00:13:52 +00:00
christos
cc6167153e
Make el_gets() work when the input is not a tty.
1997-10-26 20:19:48 +00:00
christos
40ea82f3d5
Make a link for history.h -> readline.h
1997-10-26 20:17:48 +00:00
christos
bc7956dee1
Const de-poisoning :-( Unfortunately the default gnu readline does not
...
have full prototypes... With those changes, and a single line change in
gdb/top.c, gdb links with -ledit
1997-10-23 22:51:59 +00:00