Re: libreadline problem (BS key)
On 5 Oct 1997, Steve Dunham wrote:
> Guy Maor <email@example.com> writes:
> > Steve Dunham <firstname.lastname@example.org> writes:
> > > On my system the BackSpace key is mapped to DEL. When I run bash or
> > > ncftp it doesn't work, even though "stty" says that "erase=^?".
> > > (Pressing Control-H does work.)
> > > I'm guessing that this is a bug in libreadline (libreadlineg_2.1-7)
> > > but I was wondering if anyone else was seing this behaviour before I
> > > submitted a bug report. (This started after I recently synced my
> > > existing hamm system with the current hamm directory.)
> > Under which terminal? You should get correct behavior for DEL and BS
> > on xterm, rxvt, and linux. BS deletes left, and DEL deletes right.
> Ok, apparently it does work right for "vt100" iff you set the terminal
> to vt100 before you start bash.
> It's somewhat reasonable to argue that xterm always uses ^H for the
> BackSpace key, although I don't know why it would hurt to respect
> the "stty" settings (is this an upstream issue?). I guess I'm just
> going to have to set my xterms back to ^H (since readline ignores the
> "stty" settings), I hope it doesn't break remote logins.
I just want to note that there is a "Debian Keyboard Configuration
Project" whos goal is to solve exactly these problems. If you are
intrested in this, please join our discussion on debian-i18n.
The home page of the project is
-- Christian Schwarz
Do you know email@example.com, firstname.lastname@example.org,
Debian GNU/Linux? email@example.com, firstname.lastname@example.org
Visit PGP-fp: 8F 61 EB 6D CF 23 CA D7 34 05 14 5C C8 DC 22 BA
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .