summaryrefslogtreecommitdiff
path: root/etc
authorzecke <zecke>2002-10-22 14:23:35 (UTC)
committer zecke <zecke>2002-10-22 14:23:35 (UTC)
commite006ea7655b455974ae64c30098eeecb7304508b (patch) (unidiff)
tree2dd89c638da37e0b3985d436532d470f6c5d50bb /etc
parent514c76157fcf558300973fd4ffb4b131911ef257 (diff)
downloadopie-e006ea7655b455974ae64c30098eeecb7304508b.zip
opie-e006ea7655b455974ae64c30098eeecb7304508b.tar.gz
opie-e006ea7655b455974ae64c30098eeecb7304508b.tar.bz2
Add a keytab which makes mc with xterm happy :)
Diffstat (limited to 'etc') (more/less context) (show whitespace changes)
-rw-r--r--etc/keytabs/default.Keytab131
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
19keyboard "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
31key Escape : "\E"
32
33key Tab -Shift : "\t"
34key Tab +Shift+Ansi : "\E[Z"
35key Tab +Shift-Ansi : "\t"
36
37key Return-Shift-NewLine : "\r"
38key Return-Shift+NewLine : "\r\n"
39
40key Return+Shift : "\EOM"
41
42# Backspace and Delete codes are preserving CTRL-H.
43
44key Backspace : "\x7f"
45
46# Arrow keys in VT52 mode
47
48key Up -Shift-Ansi : "\EA"
49key Down -Shift-Ansi : "\EB"
50key Right-Shift-Ansi : "\EC"
51key Left -Shift-Ansi : "\ED"
52
53# Arrow keys in ANSI mode with Application - and Normal Cursor Mode)
54
55key Up -Shift+Ansi+AppCuKeys : "\EOA"
56key Down -Shift+Ansi+AppCuKeys : "\EOB"
57key Right-Shift+Ansi+AppCuKeys : "\EOC"
58key Left -Shift+Ansi+AppCuKeys : "\EOD"
59
60key Up -Shift+Ansi-AppCuKeys : "\E[A"
61key Down -Shift+Ansi-AppCuKeys : "\E[B"
62key Right-Shift+Ansi-AppCuKeys : "\E[C"
63key Left -Shift+Ansi-AppCuKeys : "\E[D"
64
65# other grey PC keys
66
67key Enter+NewLine : "\r\n"
68key Enter-NewLine : "\r"
69
70key Home -Shift-AppCuKeys : "\E[H"
71key End -Shift-AppCuKeys : "\E[F"
72key Home +Shift-AppCuKeys : "\E[2H"
73key End +Shift-AppCuKeys : "\E[2F"
74
75key Home -Shift+AppCuKeys : "\EOH"
76key End -Shift+AppCuKeys : "\EOF"
77key Home +Shift+AppCuKeys : "\EO2H"
78key End +Shift+AppCuKeys : "\EO2F"
79
80key Insert-Shift : "\E[2~"
81key Delete-Shift : "\E[3~"
82key Prior -Shift : "\E[5~"
83key Next -Shift : "\E[6~"
84
85key Delete+Shift : "\E[3;2~"
86
87# Function keys w/o Shift modifier
88
89key F1 -Shift : "\EOP"
90key F2 -Shift : "\EOQ"
91key F3 -Shift : "\EOR"
92key F4 -Shift : "\EOS"
93key F5 -Shift : "\E[15~"
94key F6 -Shift : "\E[17~"
95key F7 -Shift : "\E[18~"
96key F8 -Shift : "\E[19~"
97key F9 -Shift : "\E[20~"
98key F10 -Shift : "\E[21~"
99key F11 -Shift : "\E[23~"
100key F12 -Shift : "\E[24~"
101
102key F1 +Shift : "\EO2P"
103key F2 +Shift : "\EO2Q"
104key F3 +Shift : "\EO2R"
105key F4 +Shift : "\EO2S"
106key F5 +Shift : "\E[15;2~"
107key F6 +Shift : "\E[17;2~"
108key F7 +Shift : "\E[18;2~"
109key F8 +Shift : "\E[19;2~"
110key F9 +Shift : "\E[20;2~"
111key F10+Shift : "\E[21;2~"
112key F11+Shift : "\E[23;2~"
113key F12+Shift : "\E[24;2~"
114
115# Work around dead keys
116
117key Space +Control : "\x00"
118
119# Some keys are used by konsole to cause operations.
120# The scroll* operations refer to the history buffer.
121
122key Up +Shift : scrollLineUp
123key Prior +Shift : scrollPageUp
124key Down +Shift : scrollLineDown
125key Next +Shift : scrollPageDown
126key Insert+Shift -Control : emitClipboard
127key Insert+Shift +Control : emitSelection
128
129key ScrollLock : scrollLock
130
131# keypad characters are not offered differently by Qt.