[Gllug] vt100 emulation
Tethys
tet at accucard.com
Fri Oct 25 16:22:55 UTC 2002
"brad" writes:
>but what is the hex code for F13?
Hex code? OK... using xev, we find (on my keyboard at least, yours
may differ) that F1 is keycode 67. Using xmodmap, we can say:
keycode 67 = F1 F13
Now when we press Shift-F1, we simulate someone pressing an F13 key.
Checking the terminfo map for rxvt, we see that F13 is mapped (via
the kf13 capability) to the escape sequence "\E[25~". Now a genuine
VT100 didn't have 13 function keys, so we look for the next closest,
a VT220. "infocmp vt220" shows that it uses the same escape sequence
for F13 that rxvt does, so no further remapping is necessary.
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list