NetBSD/lib/libedit
chuck c23199d5e1 make xxgdb and a gdb linked with libedit's readline emulation work
properly together.   xxgdb communicates with a gdb running on a pty
that it sets to -echo,-onlcr prior to forking the gdb process.
GNU readline preserves the -echo setting while libedit was undoing it
(setting the tty to a sane state and totally confusing xxgdb's parser).

this diff simply disables libedit if both readline emulation and
"stty -echo" are used/set.   that is enough to make xxgdb work once
again, but (XXX) this is not how GNU readline handles stty -echo (it
does not echo anything, but editing commands like ^A,^K, etc.
still work), so the readline emulation isn't perfect.

change reviewed by christos.
2000-08-02 03:36:39 +00:00
..
TEST
Makefile
chared.c el_insertstr takes a "const char *" not "char *" now as it doesn't modify 2000-02-28 17:41:04 +00:00
chared.h
common.c
editline.3 el_insertstr takes a "const char *" not "char *" now as it doesn't modify 2000-02-28 17:41:04 +00:00
editrc.5 * add -m option to makelist, which generates an mdoc table with the key 2000-06-21 03:21:28 +00:00
el.c make xxgdb and a gdb linked with libedit's readline emulation work 2000-08-02 03:36:39 +00:00
el.h - implement printing a right-side prompt. code derived from similar work 1999-11-12 01:05:07 +00:00
emacs.c
hist.c
hist.h
histedit.h el_insertstr takes a "const char *" not "char *" now as it doesn't modify 2000-02-28 17:41:04 +00:00
history.c
key.c PR/9244: Kevin Schoedel: libedit dumps bindings inconsistently 2000-01-19 18:31:10 +00:00
key.h
makelist * add -m option to makelist, which generates an mdoc table with the key 2000-06-21 03:21:28 +00:00
map.c
map.h
parse.c include <stdlib.h> to get definition of malloc() and free(), so it's 2000-03-10 12:25:47 +00:00
parse.h
prompt.c - implement printing a right-side prompt. code derived from similar work 1999-11-12 01:05:07 +00:00
prompt.h - implement printing a right-side prompt. code derived from similar work 1999-11-12 01:05:07 +00:00
read.c PR/9243: Kevin Schoedel: libedit ignores repeat count 2000-01-19 18:30:19 +00:00
readline.c Fix _rl_compat_sub() to really honour 'globally' flag instead 2000-03-10 13:06:43 +00:00
readline.h
refresh.c Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
refresh.h
search.c
search.h
shlib_version - implement printing a right-side prompt. code derived from similar work 1999-11-12 01:05:07 +00:00
sig.c
sig.h
sys.h
term.c use strtol() (instead of atoi()) for sane error detection 2000-06-02 13:37:12 +00:00
term.h Add support for automatic and magic margins (from tcsh) 2000-01-20 22:56:21 +00:00
tokenizer.c
tokenizer.h
tty.c
tty.h
vi.c