home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: 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
-
- 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
-