author | zecke <zecke> | 2002-10-22 14:23:35 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-22 14:23:35 (UTC) |
commit | e006ea7655b455974ae64c30098eeecb7304508b (patch) (unidiff) | |
tree | 2dd89c638da37e0b3985d436532d470f6c5d50bb /etc | |
parent | 514c76157fcf558300973fd4ffb4b131911ef257 (diff) | |
download | opie-e006ea7655b455974ae64c30098eeecb7304508b.zip opie-e006ea7655b455974ae64c30098eeecb7304508b.tar.gz opie-e006ea7655b455974ae64c30098eeecb7304508b.tar.bz2 |
Add a keytab which makes mc with xterm happy :)
-rw-r--r-- | etc/keytabs/default.Keytab | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/etc/keytabs/default.Keytab b/etc/keytabs/default.Keytab new file mode 100644 index 0000000..93c76ad --- a/dev/null +++ b/etc/keytabs/default.Keytab | |||
@@ -0,0 +1,131 @@ | |||
1 | # [default.Keytab] Buildin Keyboard Table | ||
2 | |||
3 | # -------------------------------------------------------------- | ||
4 | # | ||
5 | # This file is used to create the buildin keyboard table. | ||
6 | # It is included for reference purpose with the *.keytab | ||
7 | # files that are loaded dynamically. | ||
8 | # | ||
9 | # Modifying it does not have any effect (unless you | ||
10 | # derive the default.keytab.h and recompile konsole). | ||
11 | # | ||
12 | # To customize your keyboard, copy this file to something | ||
13 | # ending with .keytab and change it to meet you needs. | ||
14 | # Please read the README.KeyTab and the README.keyboard | ||
15 | # in this case. | ||
16 | # | ||
17 | # -------------------------------------------------------------- | ||
18 | |||
19 | keyboard "XTerm (XFree 4.x.x)" | ||
20 | |||
21 | # -------------------------------------------------------------- | ||
22 | # | ||
23 | # Note that this particular table is a "risc" version made to | ||
24 | # ease customization without bothering with obsolete details. | ||
25 | # See VT100.keytab for the more hairy stuff. | ||
26 | # | ||
27 | # -------------------------------------------------------------- | ||
28 | |||
29 | # common keys | ||
30 | |||
31 | key Escape : "\E" | ||
32 | |||
33 | key Tab -Shift : "\t" | ||
34 | key Tab +Shift+Ansi : "\E[Z" | ||
35 | key Tab +Shift-Ansi : "\t" | ||
36 | |||
37 | key Return-Shift-NewLine : "\r" | ||
38 | key Return-Shift+NewLine : "\r\n" | ||
39 | |||
40 | key Return+Shift : "\EOM" | ||
41 | |||
42 | # Backspace and Delete codes are preserving CTRL-H. | ||
43 | |||
44 | key Backspace : "\x7f" | ||
45 | |||
46 | # Arrow keys in VT52 mode | ||
47 | |||
48 | key Up -Shift-Ansi : "\EA" | ||
49 | key Down -Shift-Ansi : "\EB" | ||
50 | key Right-Shift-Ansi : "\EC" | ||
51 | key Left -Shift-Ansi : "\ED" | ||
52 | |||
53 | # Arrow keys in ANSI mode with Application - and Normal Cursor Mode) | ||
54 | |||
55 | key Up -Shift+Ansi+AppCuKeys : "\EOA" | ||
56 | key Down -Shift+Ansi+AppCuKeys : "\EOB" | ||
57 | key Right-Shift+Ansi+AppCuKeys : "\EOC" | ||
58 | key Left -Shift+Ansi+AppCuKeys : "\EOD" | ||
59 | |||
60 | key Up -Shift+Ansi-AppCuKeys : "\E[A" | ||
61 | key Down -Shift+Ansi-AppCuKeys : "\E[B" | ||
62 | key Right-Shift+Ansi-AppCuKeys : "\E[C" | ||
63 | key Left -Shift+Ansi-AppCuKeys : "\E[D" | ||
64 | |||
65 | # other grey PC keys | ||
66 | |||
67 | key Enter+NewLine : "\r\n" | ||
68 | key Enter-NewLine : "\r" | ||
69 | |||
70 | key Home -Shift-AppCuKeys : "\E[H" | ||
71 | key End -Shift-AppCuKeys : "\E[F" | ||
72 | key Home +Shift-AppCuKeys : "\E[2H" | ||
73 | key End +Shift-AppCuKeys : "\E[2F" | ||
74 | |||
75 | key Home -Shift+AppCuKeys : "\EOH" | ||
76 | key End -Shift+AppCuKeys : "\EOF" | ||
77 | key Home +Shift+AppCuKeys : "\EO2H" | ||
78 | key End +Shift+AppCuKeys : "\EO2F" | ||
79 | |||
80 | key Insert-Shift : "\E[2~" | ||
81 | key Delete-Shift : "\E[3~" | ||
82 | key Prior -Shift : "\E[5~" | ||
83 | key Next -Shift : "\E[6~" | ||
84 | |||
85 | key Delete+Shift : "\E[3;2~" | ||
86 | |||
87 | # Function keys w/o Shift modifier | ||
88 | |||
89 | key F1 -Shift : "\EOP" | ||
90 | key F2 -Shift : "\EOQ" | ||
91 | key F3 -Shift : "\EOR" | ||
92 | key F4 -Shift : "\EOS" | ||
93 | key F5 -Shift : "\E[15~" | ||
94 | key F6 -Shift : "\E[17~" | ||
95 | key F7 -Shift : "\E[18~" | ||
96 | key F8 -Shift : "\E[19~" | ||
97 | key F9 -Shift : "\E[20~" | ||
98 | key F10 -Shift : "\E[21~" | ||
99 | key F11 -Shift : "\E[23~" | ||
100 | key F12 -Shift : "\E[24~" | ||
101 | |||
102 | key F1 +Shift : "\EO2P" | ||
103 | key F2 +Shift : "\EO2Q" | ||
104 | key F3 +Shift : "\EO2R" | ||
105 | key F4 +Shift : "\EO2S" | ||
106 | key F5 +Shift : "\E[15;2~" | ||
107 | key F6 +Shift : "\E[17;2~" | ||
108 | key F7 +Shift : "\E[18;2~" | ||
109 | key F8 +Shift : "\E[19;2~" | ||
110 | key F9 +Shift : "\E[20;2~" | ||
111 | key F10+Shift : "\E[21;2~" | ||
112 | key F11+Shift : "\E[23;2~" | ||
113 | key F12+Shift : "\E[24;2~" | ||
114 | |||
115 | # Work around dead keys | ||
116 | |||
117 | key Space +Control : "\x00" | ||
118 | |||
119 | # Some keys are used by konsole to cause operations. | ||
120 | # The scroll* operations refer to the history buffer. | ||
121 | |||
122 | key Up +Shift : scrollLineUp | ||
123 | key Prior +Shift : scrollPageUp | ||
124 | key Down +Shift : scrollLineDown | ||
125 | key Next +Shift : scrollPageDown | ||
126 | key Insert+Shift -Control : emitClipboard | ||
127 | key Insert+Shift +Control : emitSelection | ||
128 | |||
129 | key ScrollLock : scrollLock | ||
130 | |||
131 | # keypad characters are not offered differently by Qt. | ||