1 # [vt420pc.keytab] Konsole Keyboard Table (VT420pc keys)
2 # adapted by ferdinand gassauer f.gassauer@aon.at
5 ################################################################
7 # The escape sequences emmited by the
8 # keys Shift+F1 to Shift+F12 might not fit your needs
10 ################# IMPORTANT NOTICE #############################
11 # the key bindings (Kcontrol -> look and feel -> keybindgs)
12 # overrule the settings in this file. The key bindings might be
13 # changed by the user WITHOUT notification of the maintainer of
14 # the keytab file. Konsole will not work as expected by
15 # the maintainer of the keytab file.
16 ################################################################
18 # --------------------------------------------------------------
20 keyboard "DEC VT420 Terminal"
22 # --------------------------------------------------------------
24 # This configuration table allows to customize the
25 # meaning of the keys.
27 # The syntax is that each entry has the form :
29 # "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
31 # Keynames are those defined in <qnamespace.h> with the
32 # "Qt::Key_" removed. (We'd better insert the list here)
40 # The VT100 emulation has two modes that can affect the
41 # sequences emitted by certain keys. These modes are
42 # under control of the client program.
44 # - Newline : effects Return and Enter key.
45 # - Application : effects Up and Down key.
47 # - Ansi : effects Up and Down key (This is for VT52, really).
58 # If the key is not found here, the text of the
59 # key event as provided by QT is emitted, possibly
60 # preceeded by ESC if the Alt key is pressed.
62 # --------------------------------------------------------------
68 # VT100 can add an extra \n after return.
69 # The NewLine mode is set by an escape sequence.
71 key Return-NewLine : "\r"
72 key Return+NewLine : "\r\n"
74 # Some desperately try to save the ^H.
75 # may be not everyone wants this
77 key Backspace : "\x08" # Control H
80 # These codes are for the VT420pc
81 # The Ansi mode (i.e. VT100 mode) is set by
84 key Up -Shift-Ansi : "\EA"
85 key Down -Shift-Ansi : "\EB"
86 key Right-Shift-Ansi : "\EC"
87 key Left -Shift-Ansi : "\ED"
89 # VT100 emits a mode bit together
90 # with the arrow keys.The AppCuKeys
91 # mode is set by an escape sequence.
93 key Up -Shift+Ansi+AppCuKeys : "\EOA"
94 key Down -Shift+Ansi+AppCuKeys : "\EOB"
95 key Right-Shift+Ansi+AppCuKeys : "\EOC"
96 key Left -Shift+Ansi+AppCuKeys : "\EOD"
98 key Up -Shift+Ansi-AppCuKeys : "\E[A"
99 key Down -Shift+Ansi-AppCuKeys : "\E[B"
100 key Right-Shift+Ansi-AppCuKeys : "\E[C"
101 key Left -Shift+Ansi-AppCuKeys : "\E[D"
105 key F1 -Shift : "\E[11~"
106 key F2 -Shift : "\E[12~"
107 key F3 -Shift : "\E[13~"
108 key F4 -Shift : "\E[14~"
109 key F5 -Shift : "\E[15~"
110 key F6 -Shift : "\E[17~"
111 key F7 -Shift : "\E[18~"
112 key F8 -Shift : "\E[19~"
113 key F9 -Shift : "\E[20~"
114 key F10-Shift : "\E[21~"
115 key F11-Shift : "\E[23~"
116 key F12-Shift : "\E[24~"
120 key F1 +Shift : "\E[11;2~"
121 key F2 +Shift : "\E[12;2~"
122 key F3 +Shift : "\E[13;2~"
123 key F4 +Shift : "\E[14;2~"
124 key F5 +Shift : "\E[15;2~"
125 key F6 +Shift : "\E[17;2~"
126 key F7 +Shift : "\E[18;2~"
127 key F8 +Shift : "\E[19;2~"
128 key F9 +Shift : "\E[20;2~"
129 key F10+Shift : "\E[21;2~"
130 key F11+Shift : "\E[23;2~"
131 key F12+Shift : "\E[24;2~"
136 key Prior -Shift : "\E[5~"
137 key Next -Shift : "\E[6~"
138 key Insert-Shift : "\E[2~"
140 # Keypad-Enter. See comment on Return above.
142 key Enter+NewLine : "\r\n"
143 key Enter-NewLine : "\r"
145 key Space +Control : "\x00"
147 # some of keys are used by konsole.
149 key Up +Shift : scrollLineUp
150 key Prior +Shift : scrollPageUp
151 key Down +Shift : scrollLineDown
152 key Next +Shift : scrollPageDown
154 key ScrollLock : scrollLock
156 #----------------------------------------------------------
158 # keypad characters as offered by Qt
159 # cannot be recognized as such.
161 #----------------------------------------------------------
163 # Following other strings as emitted by konsole.