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