🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2155

Re: Remapping DEL key on a SUN4

#2155
From: Olle Sundblad
Date: Thu, 21 Jan 1993 16:08
39 lines
1971 bytes
In article <1ifcu5INNmn5@agate.berkeley.edu>, pedro@eerc.berkeley.edu (Peter Clark) writes:
|> Hi all,
|> 
|> I am using emacs 18.58 on a SUN 4 (Sparc 1) with a type 4 keyboard.
|> 
|> I would like to remap the DEL key on the keypad from delete-backward-char
|> to delete-char.  I have tried in my .emacs
|> (global-set-key "DEL" 'delete-char)
|> (global-set-key "\DEL" 'delete-char)
|> etc. to no avail.
|> 
|> I did notice that I could do a 
|> M-x local-set-key DEL delete-char
|> while running emacs and this worked OK.
|> 
|> I've looked in the FAQ, I've tried everything, please help explain this!!!
|> 
|> Thanks for all hints and pointers!
|> 
|> Cheers, Peter Clark
|> pedro@eerc.berkeley.edu

If I understand you right, you want:
 Delete to delete the character you stand on, and
 Backspace to delete the previous character?

Well I also use a type 4 keyboard and if you use for example xev to check the
code which the keyboard returns you'll see that they are the same for Bakspace and
Delete so effectively it is only one key with two buttons. And thus they can`t work as 
two different buttons.

But if you`ve found a way to separate them please mail me.
-- 
-------------------------------------------------------------------
Who messed with my anti-paranoia shot?
-------------------------------------------------------------------
Olle Sundblad					d90-osu@nada.kth.se
Student at the Royal Institute of Technology,  Stockholm,  Sweden
Department of Computer Science
Technical Details
Message-ID: <1993Jan21.160833.18126@kth.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!nada.kth.se!d90-osu
References: <1ifcu5INNmn5@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!nada.kth.se!d90-osu
From: d90-osu@nada.kth.se (Olle Sundblad)
Subject: Re: Remapping DEL key on a SUN4
Message-ID: <1993Jan21.160833.18126@kth.se>
Sender: usenet@kth.se (Usenet)
Nntp-Posting-Host: dupont.nada.kth.se
Organization: Royal Institute of Technology, Stockholm, Sweden
References:  <1ifcu5INNmn5@agate.berkeley.edu>
Date: Thu, 21 Jan 1993 16:08:33 GMT
Lines: 39