home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / emacs / 3004 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.9 KB

  1. Path: sparky!uunet!mdcbbs!sdlhpp2!alanb
  2. Newsgroups: comp.emacs
  3. Subject: Re: setting up function key for X windows Gnu emacs?
  4. Message-ID: <ALANB.92Sep2114728@sdlhpp2.sdl.mdcbbs.com>
  5. From: alanb@sdl.mdcbbs.com (Alan Braggins)
  6. Date: 02 Sep 92 10:47:28 GMT
  7. References: <1992Sep1.222158.7993@ccu1.aukuni.ac.nz> <HARDY.92Sep1214404@golem.ps.uci.edu>
  8. Organization: Shape Data (Division of EDS), Cambridge UK
  9. Nntp-Posting-Host: 134.244.153.162
  10. In-reply-to: hardy@golem.ps.uci.edu's message of 2 Sep 92 04:44:10 GMT
  11. Lines: 28
  12.  
  13. y>>>>> On 2 Sep 92 04:44:10 GMT, hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) said:
  14.  
  15. > The least you could have done is say what machines you are using.
  16. > For HP 9000 the HUGE unofficial emacs comes with a function key setup.
  17.  
  18. But X is supposed to remove/hide machine dependencies...
  19.  
  20. I modified emacs to have X as a terminal type of its own, rather than remap
  21. X keys to vt100 or Suntool or HP term etc. - works much better when using it
  22. on assorted platforms (in particular, when emacs is running on different
  23. machine type from keyboard).
  24. Has a lookup function with lots of lines like 
  25.         case XK_KP_F1: return mod_string("KP_F1", mod, prefix, suffix);
  26.         case XK_KP_F2: return mod_string("KP_F2", mod, prefix, suffix);
  27.         case XK_KP_F3: return mod_string("KP_F3", mod, prefix, suffix);
  28.         case XK_KP_F4: return mod_string("KP_F4", mod, prefix, suffix);
  29.         case XK_KP_Equal: return mod_string("KP_Equal", mod, prefix, suffix);
  30.  
  31. and changes to x11term.c where it used to call stringFuncVal.
  32.  
  33. Mail me if you want details. Hopefully V19 will do all this much more
  34. cleanly, having been written considering X from the start. Any rumours
  35. on when it will appear?
  36.  
  37. --
  38. Alan Braggins, Shape Data (A Division of EDS Ltd), Cambridge, UK +44-223-316673
  39.    "Any technology distinguishable from magic is insufficiently advanced."
  40.  "My employer does not necessarily share my views - but I'm working on it."
  41.