Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!sbphy.ai.mit.edu!bfox From: bfox@sbphy.ai.mit.edu (Brian Fox) Newsgroups: gnu.bash.bug Subject: How do I use ^H as backward-delete-char Message-ID: <8912091555.AA24879@sbphy.Ucsb.EDU> Date: 9 Dec 89 15:55:28 GMT References: <570.nlhp3@oracle.nl> Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox@aurel.cns.caltech.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 Date: 8 Dec 89 11:21:10 GMT From: mcsun!hp4nl!orcenl!bengsig@uunet.uu.net (Bjorn Engsig) Organization: ORACLE Europe, The Netherlands Sender: bug-bash-request@prep.ai.mit.edu I have bash 1.04 running on a sun3 with sunos4. On one of the terminals I am using, the big key for char erase send a ^H and not DEL, the latter being rather difficult to reach without moving fingers away from the keyboard. How do I make ^H (C-H in emacs terms) work as the backward-delete-char? I'm running in vi mode, and don't need ^H to do backspace. The erase character is automatically selected to do backward-delete-char in readline. Any stty settings for erase before calling bash, will be overwritten with DEL. This doesn't happen to me. I type "stty erase ^h; bash", and the new bash has C-h running backward-delete-char. Please send the sequence of commands that fail. Brian