1
# [linux.keytab] Konsole Keyboard Table (Linux console keys)
3
# --------------------------------------------------------------
5
# NOT TESTED, MAY NEED SOME CLEANUPS
6
keyboard "Linux console"
8
# --------------------------------------------------------------
10
# This configuration table allows to customize the
11
# meaning of the keys.
13
# The syntax is that each entry has the form :
15
# "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
17
# Keynames are those defined in <qnamespace.h> with the
18
# "Qt::Key_" removed. (We'd better insert the list here)
26
# The VT100 emulation has two modes that can affect the
27
# sequences emitted by certain keys. These modes are
28
# under control of the client program.
30
# - Newline : effects Return and Enter key.
31
# - Application : effects Up and Down key.
33
# - Ansi : effects Up and Down key (This is for VT52, really).
44
# If the key is not found here, the text of the
45
# key event as provided by QT is emitted, possibly
46
# preceded by ESC if the Alt key is pressed.
48
# --------------------------------------------------------------
53
# VT100 can add an extra \n after return.
54
# The NewLine mode is set by an escape sequence.
56
key Return-NewLine : "\r"
57
key Return+NewLine : "\r\n"
59
# Some desperately try to save the ^H.
61
key Backspace : "\x7f"
64
# These codes are for the VT52 mode of VT100
65
# The Ansi mode (i.e. VT100 mode) is set by
68
key Up -Shift-Ansi : "\EA"
69
key Down -Shift-Ansi : "\EB"
70
key Right-Shift-Ansi : "\EC"
71
key Left -Shift-Ansi : "\ED"
73
# VT100 emits a mode bit together
74
# with the arrow keys.The AppCuKeys
75
# mode is set by an escape sequence.
77
key Up -Shift+Ansi+AppCuKeys : "\EOA"
78
key Down -Shift+Ansi+AppCuKeys : "\EOB"
79
key Right-Shift+Ansi+AppCuKeys : "\EOC"
80
key Left -Shift+Ansi+AppCuKeys : "\EOD"
82
key Up -Shift+Ansi-AppCuKeys : "\E[A"
83
key Down -Shift+Ansi-AppCuKeys : "\E[B"
84
key Right-Shift+Ansi-AppCuKeys : "\E[C"
85
key Left -Shift+Ansi-AppCuKeys : "\E[D"
87
# linux functions keys F1-F5 differ from xterm
106
key Prior -Shift : "\E[5~"
107
key Next -Shift : "\E[6~"
108
key Insert-Shift : "\E[2~"
110
# Keypad-Enter. See comment on Return above.
112
key Enter+NewLine : "\r\n"
113
key Enter-NewLine : "\r"
115
key Space +Control : "\x00"
117
# some of keys are used by konsole.
119
key Up +Shift : scrollLineUp
120
key Prior +Shift : scrollPageUp
121
key Down +Shift : scrollLineDown
122
key Next +Shift : scrollPageDown
124
key ScrollLock : scrollLock
126
#----------------------------------------------------------
128
# keypad characters as offered by Qt
129
# cannot be recognized as such.
131
#----------------------------------------------------------
133
# Following other strings as emitted by konsole.