File: tpu-edt.xmodmap

package info (click to toggle)
xemacs20 20.4-13
  • links: PTS
  • area: main
  • in suites: slink
  • size: 67,324 kB
  • ctags: 57,643
  • sloc: lisp: 586,197; ansic: 184,662; sh: 4,296; asm: 3,179; makefile: 2,021; perl: 1,059; csh: 96; sed: 22
file content (90 lines) | stat: -rw-r--r-- 2,782 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
! Last modified:26-oct-92.90
!
! Input file for xmodmap.  This file is used to re-map a Sun4 right keypad
! into a VT100 style right keypad.
!
! See 'man xmodmap' for more details.
!
! Usage:  xmodmap this_file
!
!        +-------+-------+-------+-------+
! Keycode|  28   |   29  |  30   |  105  |
!        |       |       |       |       |
!  VT100 |   ^   |    V  |  <-   |   ->  |
!        +-------+-------+-------+-------+
!        |  52   |   53  |  54   |   78  |
!        |       |       |       |       |
!        |  PF1  |  PF2  |  PF3  |  PF4  |
!        +-------+-------+-------+-------+
!        |  75   |   76  |  77   |  132  |
!        |       |       |       |       |
!        |   7   |    8  |   9   |   -   |    Shift 8 is Up
!        +-------+-------+-------+       |    Shift 4 is Left
!        |  98   |   99  | 100   |       |    Shift 6 is Right
!        |       |       |       |   ,   |    Shift 2 is Down
!        |   4   |    5  |   6   |       |
!        +-------+-------+-------+-------+    To get the Sun4 keys as labelled
!        | 119   |  120  | 121   |   97  |    on the keypad be sure that
!        |       |       |       |       |    Shift is engaged (except for
!        |   1   |    2  |   3   |   E   |    the + key.
!        +-------+-------+-------+   n   |
!        |      101      |  57   |   t   |
!        |               |       |   e   |
!        |       0       |   .   |   r   |
!        +---------------+-------+-------+
!
clear Mod4
! Redefine the L1-L10 keys on left side of keyboard
keycode 8 = F21
keycode 10 = F22
keycode 32 = F23
keycode 33 = F24
keycode 56 = F25
keycode 58 = F26
keycode 79 = F31
keycode 80 = F28
keycode 102 = F29
keycode 104 = F30
! Redefine R1-R3 and NumLock for arrow keys ... Why no repeat no most?
keycode 28 = Up
keycode 29 = Down
keycode 30 = Left
keycode	105 = Right
keycode 52 = KP_F1  KP_Equal
keycode 53 = KP_F2  KP_Divide
keycode 54 = KP_F3  KP_Multiply
keycode 78 = KP_F4  KP_Subtract
! Redefine F1-F10 for F1-F20! (Use shift key)
keycode 12 = F1 F11
keycode 13 = F2 F12
keycode 15 = F3 F13
keycode 17 = F4 F14
keycode 19 = F5 F15
keycode 21 = F6 F16
keycode 23 = F7 F17
keycode 24 = F8 F18
keycode 25 = F9 F19
keycode 14 = F10 F20
!keycode 16 = 
!keycode 18= 
! The Sun4 + key is really 2 VT100 keys: , and - so use the Shift modifier
! to mimic this.  This means the loss of the normal Sun4 function
keycode 132 = KP_Separator KP_Subtract KP_Add
keycode 75 = KP_7 F27
keycode 76 = KP_8 Up
keycode 77 = KP_9 F29
keycode 98 = KP_4 Left
!keycode 99 = KP_5 F31
keycode 99 = KP_5 
keycode 100 = KP_6 Right
keycode 119 = KP_1 R13
keycode 120 = KP_2 Down
keycode 121 = KP_3 F35
keycode 101 = KP_0 Insert
keycode 57 = KP_Decimal
keycode 97 = KP_Enter

clear mod2
clear mod3
clear mod4
clear mod5