home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / emacs / help / 5455 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.9 KB  |  52 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!mcsun!sunic!kth.se!nada.kth.se!d90-osu
  3. From: d90-osu@nada.kth.se (Olle Sundblad)
  4. Subject: Re: Remapping DEL key on a SUN4
  5. Message-ID: <1993Jan21.160833.18126@kth.se>
  6. Sender: usenet@kth.se (Usenet)
  7. Nntp-Posting-Host: dupont.nada.kth.se
  8. Organization: Royal Institute of Technology, Stockholm, Sweden
  9. References:  <1ifcu5INNmn5@agate.berkeley.edu>
  10. Date: Thu, 21 Jan 1993 16:08:33 GMT
  11. Lines: 39
  12.  
  13. In article <1ifcu5INNmn5@agate.berkeley.edu>, pedro@eerc.berkeley.edu (Peter Clark) writes:
  14. |> Hi all,
  15. |> 
  16. |> I am using emacs 18.58 on a SUN 4 (Sparc 1) with a type 4 keyboard.
  17. |> 
  18. |> I would like to remap the DEL key on the keypad from delete-backward-char
  19. |> to delete-char.  I have tried in my .emacs
  20. |> (global-set-key "DEL" 'delete-char)
  21. |> (global-set-key "\DEL" 'delete-char)
  22. |> etc. to no avail.
  23. |> 
  24. |> I did notice that I could do a 
  25. |> M-x local-set-key DEL delete-char
  26. |> while running emacs and this worked OK.
  27. |> 
  28. |> I've looked in the FAQ, I've tried everything, please help explain this!!!
  29. |> 
  30. |> Thanks for all hints and pointers!
  31. |> 
  32. |> Cheers, Peter Clark
  33. |> pedro@eerc.berkeley.edu
  34.  
  35. If I understand you right, you want:
  36.  Delete to delete the character you stand on, and
  37.  Backspace to delete the previous character?
  38.  
  39. Well I also use a type 4 keyboard and if you use for example xev to check the
  40. code which the keyboard returns you'll see that they are the same for Bakspace and
  41. Delete so effectively it is only one key with two buttons. And thus they can`t work as 
  42. two different buttons.
  43.  
  44. But if you`ve found a way to separate them please mail me.
  45. -- 
  46. -------------------------------------------------------------------
  47. Who messed with my anti-paranoia shot?
  48. -------------------------------------------------------------------
  49. Olle Sundblad                    d90-osu@nada.kth.se
  50. Student at the Royal Institute of Technology,  Stockholm,  Sweden
  51. Department of Computer Science
  52.