1. Function key mapping for Xterms?
I installed Linux 0.99pl13 on my boss's Dell, and got Xfree86-2.0
to work (well, only in 16 color mode, the S3 server didn't work),
and now it is on his desk. It is running TWM, and I have a cute
little .twmrc to help him out. Only he wants to telnet to a VMS
machine and use the TPU editor. Which requires that some keys on
the keyboard send through <ESC>OP, <ESC>OQ, <ESC>OR, and <ESC>OS.
I looked in the termcap and terminfo entries, and they seem to
have it already:
xterm termcap excerpt:
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
xterm terminfo excerpt:
kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
So, it should just work, right?
Well, so I tried adding an entry to the /usr/X386/lib/X11/app-defaults/XTerm
file:
*VT100.Translations: #override <Key>F13: keymap(dbx)
*VT100.dbxKeymap.translations: \
<Key>F1: string(0x09) string("OP") \
<Key>F2: string(0x09) string("OQ") \
<Key>F3: string(0x09) string("OR") \
<Key>F4: string(0x09) string("OS")
In all cases, my modifications failed to change the function keys
from 1~ , 2~ , 3~ or 4~ as output.
I tried openning new xterms, rebooting, the whole spiel. No
dice. Only thing that changes it all is to run xterm -sf, which
changes the output to 24z , 25z , 26z and 27z.
Does anyone know what I'm doing wrong?
Eric
2. Setting up email
3. IBM3151-Function key mapping problems
4. How MS will take over the net
5. Olwm - need cmdtool termcap and function key mappings
6. How can I check my kernel version?
7. Keyboard function key mappings with CDE dtterm session
8. Simple host monitor
9. Function Key mapping
10. Function Keys Mapping.
11. Mapping keys other than the function keys
12. vi question - mapping a function key in .exrc file that uses a yanked word
13. Query: Mapping function keys in OpenWindows