home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12481 next >
Encoding:
Internet Message Format  |  1992-12-11  |  2.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!spool.mu.edu!olivea!pagesat!spssig.spss.com!bobhays
  2. From: bobhays@spss.com (Bob Hays)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Emacs backspace (WAS: various first-time admin questions.)
  5. Message-ID: <1992Dec11.173751.9063@spss.com>
  6. Date: 11 Dec 92 17:37:51 GMT
  7. References: <101509@netnews.upenn.edu> <BAS.92Dec11102246@carlo.phys.uva.nl> <661@vercors.frec.bull.fr>
  8. Sender: news@spss.com (Net News Admin)
  9. Organization: SPSS, Inc.
  10. Lines: 45
  11.  
  12. In article <661@vercors.frec.bull.fr>, ravip@pinot.frec.bull.fr writes:
  13. > In article <BAS.92Dec11102246@carlo.phys.uva.nl>, bas@phys.uva.nl (Bas
  14. > de Bakker) writes:
  15. > |>>>>>> On 10 Dec 92 19:06:45 GMT, lau@desci.wharton.upenn.edu (Yan K.
  16. > Lau) said:
  17. > |>
  18. > |>ykl> I have been able to compile emacs but the backspace key is not
  19. > |>ykl> working properly within emacs. I was told that I need to use
  20. > |>ykl> xmodmap.  Where would I fix this?  Per user or system wide? Are
  21. > |>ykl> there sites with versions of software tested and compiled under
  22. > |>ykl> AIX 3.2?  Pointers appreciated.
  23. > |>
  24. > |>The easiest way (IMHO) is to edit a header file in emacs/src. It was
  25. > |>something like aixkeys.h. At the start of the last part (keys without
  26. > |>Alt, Ctrl etc.) there's a line which defines the backspace key, This
  27. > |>line is in an #if 0. Just change this to an #if 1.
  28. > |>
  29. > |>All this from memory.
  30. > |>
  31. > |>Bas de Bakker.
  32. >                 
  33. > The easier way is to set BS key or ( ctrl-h ?? ) to
  34. > backward-delete-char in your .emacs file if I remember correctly.
  35. > Like this:
  36. > global-set-key  "\C-h"  backward-delete-char
  37.  
  38. You might want to take this to the emacs comp group.  However....
  39.  
  40. If you use the global-set-key approach, you'll have to weed out all
  41. the definitions for each sub-mode that may define, on their own, in
  42. their local map, the backspace key.
  43.  
  44. Not that you shouldn't do it (this is exactly how we are getting
  45. Lucid, an X emacs editor, to do backspace), just be aware of the
  46. costs. 
  47.  
  48. Now, if anyone knows how to use the Num Lock key in emacs on AIX....
  49.  
  50. Have fun! - Bob
  51.  
  52. -- 
  53. ===============================================================================
  54. The opinions expressed above are those of Bob Hays and not SPSS, Inc.
  55.  bobhays@spss.com  Phone: (312) 329-3529 | "I'm hovering like a fly, waiting
  56.                    Fax:   (312) 329-3657 |  for a windshield on a freeway" -PG
  57.