Initial Commit
[packages] / xemacs-packages / tpu / tpu-edt.xmodmap
1 ! Last modified:26-oct-92.90
2 !
3 ! Input file for xmodmap.  This file is used to re-map a Sun4 right keypad
4 ! into a VT100 style right keypad.
5 !
6 ! See 'man xmodmap' for more details.
7 !
8 ! Usage:  xmodmap this_file
9 !
10 !        +-------+-------+-------+-------+
11 ! Keycode|  28   |   29  |  30   |  105  |
12 !        |       |       |       |       |
13 !  VT100 |   ^   |    V  |  <-   |   ->  |
14 !        +-------+-------+-------+-------+
15 !        |  52   |   53  |  54   |   78  |
16 !        |       |       |       |       |
17 !        |  PF1  |  PF2  |  PF3  |  PF4  |
18 !        +-------+-------+-------+-------+
19 !        |  75   |   76  |  77   |  132  |
20 !        |       |       |       |       |
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
25 !        |   4   |    5  |   6   |       |
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   |
31 !        |      101      |  57   |   t   |
32 !        |               |       |   e   |
33 !        |       0       |   .   |   r   |
34 !        +---------------+-------+-------+
35 !
36 clear Mod4
37 ! Redefine the L1-L10 keys on left side of keyboard
38 keycode 8 = F21
39 keycode 10 = F22
40 keycode 32 = F23
41 keycode 33 = F24
42 keycode 56 = F25
43 keycode 58 = F26
44 keycode 79 = F31
45 keycode 80 = F28
46 keycode 102 = F29
47 keycode 104 = F30
48 ! Redefine R1-R3 and NumLock for arrow keys ... Why no repeat no most?
49 keycode 28 = Up
50 keycode 29 = Down
51 keycode 30 = Left
52 keycode 105 = Right
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)
58 keycode 12 = F1 F11
59 keycode 13 = F2 F12
60 keycode 15 = F3 F13
61 keycode 17 = F4 F14
62 keycode 19 = F5 F15
63 keycode 21 = F6 F16
64 keycode 23 = F7 F17
65 keycode 24 = F8 F18
66 keycode 25 = F9 F19
67 keycode 14 = F10 F20
68 !keycode 16 = 
69 !keycode 18= 
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
73 keycode 75 = KP_7 F27
74 keycode 76 = KP_8 Up
75 keycode 77 = KP_9 F29
76 keycode 98 = KP_4 Left
77 !keycode 99 = KP_5 F31
78 keycode 99 = KP_5 
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
85 keycode 97 = KP_Enter
86
87 clear mod2
88 clear mod3
89 clear mod4
90 clear mod5