From: John Henders (jhenders@jonh.wimsey.bc.ca)
Date: 06/14/93


From: jhenders@jonh.wimsey.bc.ca (John Henders)
Subject: Re: termcap entries: Backspace and Delete
Date: Mon, 14 Jun 1993 06:25:48 GMT

root@jacobs.jacobs.mn.org (Mike Horwath) writes:

>Only braindead DOS and PICK use ^H for the backspace key, 99% of the others,
>the DOS backspace key is DEL which is ^? or 127d and the DELETE key is ^D, or
>delete current letter.

>Intended? Hmm... Now thats a manner of opinion...

        That wasn't really the question, was it? Linux actually sends
^{[3~ for the delete key, not ^H or ^?, though delete does send ^?, but
bash still has to be told about it in ~/.inputrc.
        I mailed him a copy of a good ~/.inputrc and sent another to
Peter that will hopefully make it into SLS. From reading the manpage for
bash, it doesn't appear that there's any way to get a global key
definition file read the way /etc/profile is. I guess this makes it hard
to have SLS set this up automatically.
        BTW, I checked /etc/termcap, and Kd is defined correctly, so does
anyone know why bash doesn't use it? Do the terminals bash was written
to run on not have a delete key?

-- 
John Henders       GO/MU/E d* -p+ c+++ l++ t- m* s/++ g+ w+++ -x+