home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13233 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.2 KB  |  61 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!aun.uninett.no!nuug!dhhalden.no!fenris.dhhalden.no!eskilb
  3. From: eskilb@dhhalden.no (Eskil Brun)
  4. Subject: Re: Emacs on the HP710 (problems)...
  5. Message-ID: <eskilb.722436203@fenris.dhhalden.no>
  6. Organization: Ostfold College
  7. References: <1992Nov17.090913.1@pa621a.inland.com>
  8. Date: Sun, 22 Nov 1992 12:43:23 GMT
  9. Lines: 50
  10.  
  11. solomon@pa621a.inland.com (Paul J. Solomon) writes:
  12.  
  13. >Greetings:
  14.  
  15. >I recently installed emacs on my 710 (from the HP LaserPro demo
  16. >CDROM).  I am having a problem with a particular key combination:
  17. >M-w (ExtendChar-w).  This key combination is supposed to copy the
  18. >current region into the paste buffer (copy-region-as-kill).  Whenever
  19. >I type this key combo, though, a ~ is inserted at the cursor point
  20. >instead.  If I try to use describe-key and hit M-w, it is not recognized.
  21. >ESC w seems to work.  Also, this version of emacs seems to recognize
  22. >other Meta key combinations (except M-w).
  23.  
  24. >Am I doing something wrong in the setup files?  Or is this version
  25. >from the LaserPro disk (vol 2.1) bogus?
  26.  
  27. See FAQ 68 in the emacs-18.58 distribution.
  28.  
  29. If you're running HP-UX 8.07, you can just do:
  30.  
  31.  xmodmap -e 'remove mod1 = Mode_switch'
  32.  
  33. or put remove mod1 = Mode_switch into your ~/.Xmodmap.
  34.  
  35. If you're running 8.05, this won't work due to a bug in the HP X
  36. server. You must then iterate over all keycodes and change the 3rd and
  37. 4th entries to the same as the 1st and 2nd, i.e. something like:
  38.  
  39. keycode 61 = w W w asciitilde
  40. keycode 123 = slash question slash question
  41.  
  42. aso.
  43.  
  44. Yech.
  45.  
  46. Here is FAQ no. 68 - in extenso:
  47.  
  48. 68: Why doesn't my ExtendChar key work as a Meta key under HP-UX 8.0?
  49.   
  50.   This is a result of an internationalization extension in X11R4 and
  51. the fact that HP is now using this extension.  Emacs assumes that
  52. XLookupString returns the same result regardless of the Meta key state
  53. which is no longer necessarily true.  Until Emacs is fixed, the
  54. temporary kludge is to run this command after each time the X server
  55. is started but preferably before any xterm clients are:
  56.   
  57.     xmodmap -e 'remove mod1 = Mode_switch'
  58.   
  59.   NOTE:  This will disable the use of the extra keysyms systemwide,
  60. which may be undesirable if you actually intend to use them.
  61.