Sun Managers!
Original Question
Does anyone have a file of key mappings for the Sun-4 and Sun-5 type keyboards.
I need a file that indicates what codes are output for each corresponding key. (For example, the f1 key outputs the '^[[224z' code.)
The responses were as follows:
1.) It's in the documentation ... check AnswerBook ...
2.) A program I've found to be very helpful is xkeycaps. It should be
available from export.lcs.mit.edu in the contrib directory.
It shows KeyCode, KeySyn, ASCII, Modifiers, AutoRepeat when you move the
cursor over a key.
3.) The easy thing to do is run the command "xev". this will pop up a window,
which you can ignore, and every x event will display in the xterm you ran
the command from. this includes key presses, which will give you the
keycode, keysym, value, etc.
4.) Actually, what it outputs is a keystation code of 5, which the PROM
monitor or the kernel's "keyboard driver" or the application turns
*into* '<ESC>[224z'...
...or doesn't. In an "xterm", it comes out as '<ESC>[11~', instead, for
example.
What is it you're trying to do here?
5.) This is a partial list of key codes that are the defaults generated on
our SPARC 1 & 2s. I have a program that prints the various keycodes as
they are generated, if you are interested.
mapi F1 \E[224z
mapi F2 \E[225z
mapi F3 \E[226z
mapi F4 \E[227z
mapi F5 \E[228z
mapi F6 \E[229z
mapi F7 \E[230z
mapi F8 \E[231z
mapi F9 \E[232z
mapi F10 \E[233z
mapi F11 \E[234z
mapi F12 \E[235z
mapi R1 \E[208z
mapi R2 \E[209z
mapi R3 \E[210z
mapi R4 \E[211z
mapi R5 \E[212z
mapi R6 \E[213z
mapi R7 \E[214z
mapi R9 \E[216z
mapi R11 \E[218z
mapi R13 \E[220z
mapi R15 \E[222z
mapi L2 \E[193z
mapi L3 \E[194z
mapi L4 \E[195z
Thanks to the respondents:
cigas@rckhurst1.bitnet
miker@il.us.swissbank.com
swlodin@kocrsv01.delcoelect.com
mitch@unidata.ucar.edu
guy@auspex.com
cigas@rckhurst1.bitnet
Summaries requested by:
nolfb@jcdbs.2000.disa.mi
root@cas.ds.boeing.com
admiral!xhaque@uunet.uu.net
kkinners@mike.ios.bc.ca
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:52 CDT