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 fix id header... 1999-09-21 00:07:03 +00:00
Makefile Use LIBEDITDIR instead of CURDIR so we can use that Makefile to compile 1999-07-06 14:10:21 +00:00
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 More trailing white space. 1999-07-02 15:14:07 +00:00
common.c More trailing white space. 1999-07-02 15:14:07 +00:00
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 More trailing white space. 1999-07-02 15:14:07 +00:00
hist.c More trailing white space. 1999-07-02 15:14:07 +00:00
hist.h PR/4257: Jaromir Dolecek: history() has no generic error handling and isn't 1997-10-14 15:05:49 +00:00
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 More trailing white space. 1999-07-02 15:14:07 +00:00
key.c PR/9244: Kevin Schoedel: libedit dumps bindings inconsistently 2000-01-19 18:31:10 +00:00
key.h More trailing white space. 1999-07-02 15:14:07 +00:00
makelist * add -m option to makelist, which generates an mdoc table with the key 2000-06-21 03:21:28 +00:00
map.c don't assume locales are not working - it may not be the case 1999-10-15 17:01:19 +00:00
map.h More trailing white space. 1999-07-02 15:14:07 +00:00
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 More trailing white space. 1999-07-02 15:14:07 +00:00
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 Const de-poisoning :-( Unfortunately the default gnu readline does not 1997-10-23 22:51:59 +00:00
refresh.c Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
refresh.h RCSid police 1997-01-11 06:47:47 +00:00
search.c More trailing white space. 1999-07-02 15:14:07 +00:00
search.h More trailing white space. 1999-07-02 15:14:07 +00:00
shlib_version - implement printing a right-side prompt. code derived from similar work 1999-11-12 01:05:07 +00:00
sig.c More trailing white space. 1999-07-02 15:14:07 +00:00
sig.h RCSid police 1997-01-11 06:47:47 +00:00
sys.h RCSid police 1997-01-11 06:47:47 +00:00
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 More trailing white space. 1999-07-02 15:14:07 +00:00
tokenizer.h More trailing white space. 1999-07-02 15:14:07 +00:00
tty.c Fix PR7685 (gdb under emacs prints spurious ^M and messes up terminal) 1999-08-02 01:01:55 +00:00
tty.h apparantly need <unistd.h> for portable way of getting _POSIX_VDISABLE 1999-09-26 14:37:47 +00:00
vi.c More trailing white space. 1999-07-02 15:14:07 +00:00