🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2198

How to bind backspace ???

#2198
From: Donald I Hunter
Date: Mon, 25 Jan 1993 13:29
20 lines
1240 bytes
In emacs, how exactly do you redefine backspace so it doesn't return Ctrl-H.
I can easily do this in lucid emacs by doing 

	(define-key global-map 'backspace 'backward-delete-char)

but I can't work out what to replace the 'backspace with in gnu emacs.
I can always redefine backspace to be delete using xmodmap. But that 
buggers motif dialog boxes which require backspace for editing.

Any help would be appreciated.

Donald.
-- 

 +--------------------------------------------------------+
 | Donald I. Hunter                   donaldh@uk.ac.hw.cs |
 +--------------------------------------------------------+
 | Hello. Just walk along and try NOT to think about your |
 |    INTESTINES being almost FORTY YARDS LONG!!          |
 +--------------------------------------------------------+
Technical Details
Message-ID: <1993Jan25.132929.28033@cs.hw.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!doc.ic.ac.uk!uknet!edcastle!hwcs!hwcs!donaldh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!doc.ic.ac.uk!uknet!edcastle!hwcs!hwcs!donaldh
From: donaldh@cs.hw.ac.uk (Donald I Hunter)
Newsgroups: gnu.emacs.help
Subject: How to bind backspace ???
Message-ID: <1993Jan25.132929.28033@cs.hw.ac.uk>
Date: 25 Jan 93 13:29:29 GMT
Sender: news@cs.hw.ac.uk (News Administrator)
Organization: Dept of Computing & Electrical Engineering, Heriot-Watt University, Scotland
Lines: 20