1 ! Last modified:26-oct-92.90
3 ! Input file for xmodmap. This file is used to re-map a Sun4 right keypad
4 ! into a VT100 style right keypad.
6 ! See 'man xmodmap' for more details.
8 ! Usage: xmodmap this_file
10 ! +-------+-------+-------+-------+
11 ! Keycode| 28 | 29 | 30 | 105 |
13 ! VT100 | ^ | V | <- | -> |
14 ! +-------+-------+-------+-------+
15 ! | 52 | 53 | 54 | 78 |
17 ! | PF1 | PF2 | PF3 | PF4 |
18 ! +-------+-------+-------+-------+
19 ! | 75 | 76 | 77 | 132 |
21 ! | 7 | 8 | 9 | - | Shift 8 is Up
22 ! +-------+-------+-------+ | Shift 4 is Left
23 ! | 98 | 99 | 100 | | Shift 6 is Right
24 ! | | | | , | Shift 2 is Down
26 ! +-------+-------+-------+-------+ To get the Sun4 keys as labelled
27 ! | 119 | 120 | 121 | 97 | on the keypad be sure that
28 ! | | | | | Shift is engaged (except for
29 ! | 1 | 2 | 3 | E | the + key.
30 ! +-------+-------+-------+ n |
34 ! +---------------+-------+-------+
37 ! Redefine the L1-L10 keys on left side of keyboard
48 ! Redefine R1-R3 and NumLock for arrow keys ... Why no repeat no most?
53 keycode 52 = KP_F1 KP_Equal
54 keycode 53 = KP_F2 KP_Divide
55 keycode 54 = KP_F3 KP_Multiply
56 keycode 78 = KP_F4 KP_Subtract
57 ! Redefine F1-F10 for F1-F20! (Use shift key)
70 ! The Sun4 + key is really 2 VT100 keys: , and - so use the Shift modifier
71 ! to mimic this. This means the loss of the normal Sun4 function
72 keycode 132 = KP_Separator KP_Subtract KP_Add
76 keycode 98 = KP_4 Left
77 !keycode 99 = KP_5 F31
79 keycode 100 = KP_6 Right
80 keycode 119 = KP_1 R13
81 keycode 120 = KP_2 Down
82 keycode 121 = KP_3 F35
83 keycode 101 = KP_0 Insert
84 keycode 57 = KP_Decimal