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
___/vasta@apollo.HP.COM (John Vasta) (08/15/90)
In article <1751@tuvie> mike@tuvie (Inst.f.Techn.Informatik) writes: >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? If you have the patches distributed by Leonard Zubkoff for Emacs on the Apollo, then you can use the "x-rebind-key" function like this: (x-rebind-key "UpBox" nil "\M-v") ;scroll-down (x-rebind-key "DownBox" nil "\C-v") ;scroll-up (x-rebind-key "LeftBar" nil "\C-a") ;beginning-of-line (x-rebind-key "RightBar" nil "\C-e") ;end-of-line If you don't have the patches, you can get them from labrea.stanford.edu (36.8.0.47): the file is pub/gnu/apollo-emacs.tar.Z. John Vasta Hewlett-Packard Apollo Systems Division vasta@apollo.hp.com M.S. CHA-01-LT (508) 256-6600 x6362 300 Apollo Drive, Chelmsford, MA 01824 UUCP: {decwrl!decvax, mit-eddie, attunix}!apollo!vasta