🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188955

Re: rebinding backspace key in gnuemacs (on PC)

#188955
From: Peter Badovinatz
Date: Fri, 07 Jun 1991 13:11
18 lines
1424 bytes
In article <8943@drutx.ATT.COM> garyd@drutx.ATT.COM (DungcaGR) writes:
>  is there a way to rebind my backspace key in gnuemacs so that
>it actually functions as a backspace, as opposed to ^H, which always
>kicks me into emacs help?  the dumb terminal i used to use didn't
>cause me such grief, but now i'm resorting to using a pc as a terminal.

I use the sequence (in .emacs):
 (global-set-key "^H" 'backward-delete-char-untabify)
 (define-key global-map "\eh" 'help-command)

which sets ctl-h to be backspace/rubout, and sets escape-h to be the
help command.

-- 
these have been the opinions of:  Peter R Badovinatz, aka "Wombat"
 The wide world:  wombat@donald.aix.kingston.ibm.com 
 Inside IBM: wombat@aix.aix.kingston.ibm.com  or  WOMBAT at KGNVMC 
 Snailmail: 83ZA/988 IBM Kingston  NY  12401
Technical Details
Message-ID: <7718@aix.aix.kingston.ibm.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wuarchive!uunet!ibmps2!aix!wombat
References: <8943@drutx.ATT.COM>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,13b328a7ef271661
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-07 22:46:39 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!wuarchive!uunet!ibmps2!aix!wombat
From: wombat@aix.aix.kingston.ibm.com (Peter Badovinatz)
Newsgroups: gnu.emacs.help
Subject: Re: rebinding backspace key in gnuemacs (on PC)
Keywords: help!
Message-ID: <7718@aix.aix.kingston.ibm.com>
Date: 7 Jun 91 13:11:07 GMT
References: <8943@drutx.ATT.COM>
Organization: IBM Corp. Kingston NY
Lines: 18