🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #820

How do I use ^H as backward-delete-char

#820
From: Bjorn Engsig
Date: Fri, 08 Dec 1989 11:21
15 lines
1088 bytes
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.

Any stty settings for erase before calling bash, will be overwritten with
DEL.

Please note that I do not want to do it in my .inputrc, since I also use
terminals where DEL is the big char erase key.
-- 
Bjorn Engsig,	Domain:		bengsig@oracle.nl, bengsig@oracle.com
		Path:		uunet!{mcsun!orcenl,oracle}!bengsig
Technical Details
Message-ID: <570.nlhp3@oracle.nl>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!orcenl!bengsig

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!orcenl!bengsig
From: bengsig@oracle.nl (Bjorn Engsig)
Newsgroups: gnu.bash.bug
Subject: How do I use ^H as backward-delete-char
Message-ID: <570.nlhp3@oracle.nl>
Date: 8 Dec 89 11:21:10 GMT
Reply-To: bengsig@oracle.nl (Bjorn Engsig)
Distribution: gnu
Organization: ORACLE Europe, The Netherlands
Lines: 15