2
# NOTE: This keyboard binding is not installed because it
3
# apparently doesn't work with actual VT420 systems
6
# [vt420pc.keytab] Konsole Keyboard Table (VT420pc keys)
7
# adapted by ferdinand gassauer f.gassauer@aon.at
10
################################################################
12
# The escape sequences emmited by the
13
# keys Shift+F1 to Shift+F12 might not fit your needs
15
################# IMPORTANT NOTICE #############################
16
# the key bindings (Kcontrol -> look and feel -> keybindgs)
17
# overrule the settings in this file. The key bindings might be
18
# changed by the user WITHOUT notification of the maintainer of
19
# the keytab file. Konsole will not work as expected by
20
# the maintainer of the keytab file.
21
################################################################
23
# --------------------------------------------------------------
25
keyboard "DEC VT420 Terminal"
27
# --------------------------------------------------------------
29
# This configuration table allows to customize the
30
# meaning of the keys.
32
# The syntax is that each entry has the form :
34
# "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
36
# Keynames are those defined in <qnamespace.h> with the
37
# "Qt::Key_" removed. (We'd better insert the list here)
45
# The VT100 emulation has two modes that can affect the
46
# sequences emitted by certain keys. These modes are
47
# under control of the client program.
49
# - Newline : effects Return and Enter key.
50
# - Application : effects Up and Down key.
52
# - Ansi : effects Up and Down key (This is for VT52, really).
63
# If the key is not found here, the text of the
64
# key event as provided by QT is emitted, possibly
65
# preceeded by ESC if the Alt key is pressed.
67
# --------------------------------------------------------------
73
# VT100 can add an extra \n after return.
74
# The NewLine mode is set by an escape sequence.
76
key Return-NewLine : "\r"
77
key Return+NewLine : "\r\n"
79
# Some desperately try to save the ^H.
80
# may be not everyone wants this
82
key Backspace : "\x08" # Control H
85
# These codes are for the VT420pc
86
# The Ansi mode (i.e. VT100 mode) is set by
89
key Up -Shift-Ansi : "\EA"
90
key Down -Shift-Ansi : "\EB"
91
key Right-Shift-Ansi : "\EC"
92
key Left -Shift-Ansi : "\ED"
94
# VT100 emits a mode bit together
95
# with the arrow keys.The AppCuKeys
96
# mode is set by an escape sequence.
98
key Up -Shift+Ansi+AppCuKeys : "\EOA"
99
key Down -Shift+Ansi+AppCuKeys : "\EOB"
100
key Right-Shift+Ansi+AppCuKeys : "\EOC"
101
key Left -Shift+Ansi+AppCuKeys : "\EOD"
103
key Up -Shift+Ansi-AppCuKeys : "\E[A"
104
key Down -Shift+Ansi-AppCuKeys : "\E[B"
105
key Right-Shift+Ansi-AppCuKeys : "\E[C"
106
key Left -Shift+Ansi-AppCuKeys : "\E[D"
110
key F1 -Shift : "\E[11~"
111
key F2 -Shift : "\E[12~"
112
key F3 -Shift : "\E[13~"
113
key F4 -Shift : "\E[14~"
114
key F5 -Shift : "\E[15~"
115
key F6 -Shift : "\E[17~"
116
key F7 -Shift : "\E[18~"
117
key F8 -Shift : "\E[19~"
118
key F9 -Shift : "\E[20~"
119
key F10-Shift : "\E[21~"
120
key F11-Shift : "\E[23~"
121
key F12-Shift : "\E[24~"
125
key F1 +Shift : "\E[11;2~"
126
key F2 +Shift : "\E[12;2~"
127
key F3 +Shift : "\E[13;2~"
128
key F4 +Shift : "\E[14;2~"
129
key F5 +Shift : "\E[15;2~"
130
key F6 +Shift : "\E[17;2~"
131
key F7 +Shift : "\E[18;2~"
132
key F8 +Shift : "\E[19;2~"
133
key F9 +Shift : "\E[20;2~"
134
key F10+Shift : "\E[21;2~"
135
key F11+Shift : "\E[23;2~"
136
key F12+Shift : "\E[24;2~"
141
key Prior -Shift : "\E[5~"
142
key Next -Shift : "\E[6~"
143
key Insert-Shift : "\E[2~"
145
# Keypad-Enter. See comment on Return above.
147
key Enter+NewLine : "\r\n"
148
key Enter-NewLine : "\r"
150
key Space +Control : "\x00"
152
# some of keys are used by konsole.
154
key Up +Shift : scrollLineUp
155
key Prior +Shift : scrollPageUp
156
key Down +Shift : scrollLineDown
157
key Next +Shift : scrollPageDown
159
key ScrollLock : scrollLock
161
#----------------------------------------------------------
163
# keypad characters as offered by Qt
164
# cannot be recognized as such.
166
#----------------------------------------------------------
168
# Following other strings as emitted by konsole.