Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Chuck Cranor <chuck@netbsd.org>
List: source-changes
Date: 08/02/2000 06:36:40
Module Name: basesrc
Committed By: chuck
Date: Wed Aug 2 03:36:40 UTC 2000
Modified Files:
basesrc/lib/libedit: el.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 basesrc/lib/libedit/el.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.