🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2103

Re: Remapping DEL key on a SUN4

#2103
From: Edward S. Hirgelt
Date: Thu, 07 Jan 1993 17:50
23 lines
1124 bytes
On 6 Jan 1993 19:46:13 GMT,
pedro@eerc.berkeley.edu (Peter Clark) said:

Peter> I would like to remap the DEL key on the keypad from
Peter> delete-backward-char to delete-char.  I have tried in my .emacs

Peter> (global-set-key "DEL" 'delete-char)
Peter> (global-set-key "\DEL" 'delete-char)

Try 
	(global-set-key "\C-?" 'delete-char)

\C-? is translated to delete in quoted strings. Alternatively you can
use ^Q (quoted-insert) to but the real delete into the string.

Hope this helps,
Ed

--
Ex vitio alterius	|Ed Hirgelt			|esh@tss.com
sapiens emendat suum.	|Teknekron Software Systems, Inc|
(Publilius Syrus)	|Palo Alto, Ca.			|
Technical Details
Message-ID: <ESH.93Jan7095017@prague.tss.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!tekbspa!tssgate!esh
References: <1ifcu5INNmn5@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!tekbspa!tssgate!esh
From: esh@prague.tss.com (Edward S. Hirgelt)
Subject: Re: Remapping DEL key on a SUN4
In-Reply-To: pedro@eerc.berkeley.edu's message of 6 Jan 1993 19:46:13 GMT
Message-ID: <ESH.93Jan7095017@prague.tss.com>
Sender: news@tss.com (USENET Network News)
Organization: Teknekron Software Systems, Inc.
References: <1ifcu5INNmn5@agate.berkeley.edu>
Date: Thu, 7 Jan 1993 17:50:17 GMT
Lines: 23