[gnu.emacs] Apollo keys with Emacs 18.55

mike@tuvie (Inst.f.Techn.Informatik) (08/09/90)

Is it possible to use the Apollo special keys for screen up + down and
beginning + end of line with emacs 18.55 running under X11R3 on an Apollo.
If so, how do I go about?

				Thanx in advance,
						mike
       ____  ____
      /   / / / /   Michael K. Gschwind             mike@vlsivie.at
     /   / / / /    Technical University, Vienna    mike@vlsivie.uucp
     ---/           Voice: (++43).1.58801 8144      e182202@awituw01.bitnet
       /            Fax:   (++43).1.569697
   ___/

mike@tuvie (Inst.f.Techn.Informatik) (08/13/90)

Some time ago, I asked how I can utilize the special keys on an Apollo
keyboard; here is a preliminary solution for some function (thanks to
eero@tut.fi !). In my X keymap I now have the followind definitions:
keysym UpBox = 0xf6
keysym DownBox = 0x16
keysym RightBar = 0x05
keysym LeftBar = 0x01

keysym KP_Enter = 0x0a

This maps the Box and Bar keys to the appropriate emacs escapes. It also 
redefines the ENTER key on the numeric keyboard to LFD, which is really 
useful! Note that this works only 4 X11! Also, when logging in on a node
where DM owns root, this won't work, even after 
	# xdmc wmgr -off
	# xownroot -on
I don't know why, if anyone finds a solution, maybe (s)he could let us know.

Know for the tough part: I'd also like to have keys like <next window> 
(C-x o) or Save (C-x C-s) work. A quick and dirty solution is to map these 
keys to escape keys that don't have any meaning in Emacs and then map the
appropriate functions to these keys. This however may varify from mode to mode
and does not address the basic problem, which is to map Apollo keys to 
_any_ sequence of codes. Any ideas?? Please let us know! It would be a shame 
to have this wonderful keyboard go unused!

					bye,
						mike
       ____  ____
      /   / / / /   Michael K. Gschwind             mike@vlsivie.at
     /   / / / /    Technical University, Vienna    mike@vlsivie.uucp
     ---/           Voice: (++43).1.58801 8144      e182202@awituw01.bitnet
       /            Fax:   (++43).1.569697
   ___/