source: ogBrowser-Git/qtermwidget/lib/kb-layouts/vt420pc.keytab @ ffbf8ac

jenkinsmain
Last change on this file since ffbf8ac was 64efc22, checked in by Vadim Troshchinskiy <vtroshchinskiy@…>, 19 months ago

Update qtermwidget to modern version

  • Property mode set to 100644
File size: 4.4 KB
Line 
1#
2# NOTE: This keyboard binding is not installed because it
3# apparently doesn't work with actual VT420 systems
4# (see BUG:170220)
5#
6# [vt420pc.keytab] Konsole Keyboard Table (VT420pc keys)
7# adapted by ferdinand gassauer f.gassauer@aon.at
8# Nov 2000
9#
10################################################################
11#
12# The escape sequences emitted by the
13# keys Shift+F1 to Shift+F12 might not fit your needs
14#
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################################################################
22#
23# --------------------------------------------------------------
24
25keyboard "DEC VT420 Terminal"
26
27# --------------------------------------------------------------
28#
29# This configuration table allows to customize the
30# meaning of the keys.
31#
32# The syntax is that each entry has the form :
33#
34#   "key" Keyname { ("+"|"-") Modename } ":" (String|Operation)
35#
36# Keynames are those defined in <qnamespace.h> with the
37# "Qt::Key_" removed. (We'd better insert the list here)
38#
39# Mode names are :
40#
41# - Shift
42# - Alt
43# - Control
44#
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.
48#   
49# - Newline     : effects Return and Enter key.
50# - Application : effects Up and Down key.
51#
52# - Ansi        : effects Up and Down key (This is for VT52, really).
53#
54# Operations are
55#
56# - scrollUpLine
57# - scrollUpPage
58# - scrollDownLine
59# - scrollDownPage
60#
61# - emitSelection
62#
63# If the key is not found here, the text of the
64# key event as provided by QT is emitted, possibly
65# preceded by ESC if the Alt key is pressed.
66#
67# --------------------------------------------------------------
68
69key Escape : "\E"
70key Tab    : "\t"
71key Backtab: "\E[Z"
72
73# VT100 can add an extra \n after return.
74# The NewLine mode is set by an escape sequence.
75
76key Return-NewLine : "\r" 
77key Return+NewLine : "\r\n"
78
79# Some desperately try to save the ^H.
80# may be not everyone wants this
81
82key Backspace : "\x08"  # Control H
83key Delete    : "\x7f"
84
85# These codes are for the VT420pc
86# The Ansi mode (i.e. VT100 mode) is set by
87# an escape sequence
88
89key Up   -Shift-Ansi : "\EA"
90key Down -Shift-Ansi : "\EB"
91key Right-Shift-Ansi : "\EC"
92key Left -Shift-Ansi : "\ED"
93
94# VT100 emits a mode bit together
95# with the arrow keys.The AppCuKeys
96# mode is set by an escape sequence.
97
98key Up   -Shift+Ansi+AppCuKeys : "\EOA"
99key Down -Shift+Ansi+AppCuKeys : "\EOB"
100key Right-Shift+Ansi+AppCuKeys : "\EOC"
101key Left -Shift+Ansi+AppCuKeys : "\EOD"
102
103key Up   -Shift+Ansi-AppCuKeys : "\E[A"
104key Down -Shift+Ansi-AppCuKeys : "\E[B"
105key Right-Shift+Ansi-AppCuKeys : "\E[C"
106key Left -Shift+Ansi-AppCuKeys : "\E[D"
107
108# function keys
109
110key F1 -Shift    : "\E[11~" 
111key F2 -Shift    : "\E[12~"
112key F3 -Shift    : "\E[13~"
113key F4 -Shift    : "\E[14~"
114key F5 -Shift    : "\E[15~"
115key F6 -Shift    : "\E[17~"
116key F7 -Shift    : "\E[18~"
117key F8 -Shift    : "\E[19~"
118key F9 -Shift    : "\E[20~"
119key F10-Shift    : "\E[21~"
120key F11-Shift    : "\E[23~"
121key F12-Shift    : "\E[24~" 
122#
123# Shift F1-F12
124#
125key F1 +Shift    : "\E[11;2~"
126key F2 +Shift    : "\E[12;2~"
127key F3 +Shift    : "\E[13;2~"
128key F4 +Shift    : "\E[14;2~"
129key F5 +Shift    : "\E[15;2~"
130key F6 +Shift    : "\E[17;2~"
131key F7 +Shift    : "\E[18;2~"
132key F8 +Shift    : "\E[19;2~"
133key F9 +Shift    : "\E[20;2~"
134key F10+Shift    : "\E[21;2~"
135key F11+Shift    : "\E[23;2~"
136key F12+Shift    : "\E[24;2~"
137
138key Home   : "\E[H" 
139key End    : "\E[F" 
140
141key PgUp   -Shift : "\E[5~" 
142key PgDown -Shift : "\E[6~" 
143key Insert -Shift : "\E[2~" 
144
145# Keypad-Enter. See comment on Return above.
146
147key Enter+NewLine : "\r\n"
148key Enter-NewLine : "\r" 
149
150key Space +Control : "\x00"
151
152# some of keys are used by konsole.
153
154key Up      +Shift : scrollLineUp
155key PgUp    +Shift : scrollPageUp
156key Down    +Shift : scrollLineDown
157key PgDown  +Shift : scrollPageDown
158
159key ScrollLock     : scrollLock
160
161#----------------------------------------------------------
162
163# keypad characters as offered by Qt
164# cannot be recognized as such.
165
166#----------------------------------------------------------
167
168# Following other strings as emitted by konsole.
Note: See TracBrowser for help on using the repository browser.