/usr/share/qtermwidget5/kb-layouts/macbook.keytab is in qtermwidget5-data 0.6.0+20160108-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | # [README.default.Keytab] Buildin Keyboard Table
#
# To customize your keyboard, copy this file to something
# ending with .keytab and change it to meet you needs.
# Please read the README.KeyTab and the README.keyboard
# in this case.
#
# --------------------------------------------------------------
keyboard "Default (XFree 4)"
# --------------------------------------------------------------
#
# Note that this particular table is a "risc" version made to
# ease customization without bothering with obsolete details.
# See VT100.keytab for the more hairy stuff.
#
# --------------------------------------------------------------
# common keys
key Escape : "\x1b"
#key Control : "^"
key Tab -Shift : "\t"
key Tab +Shift+Ansi : "\E[Z"
key Tab +Shift-Ansi : "\t"
key Backtab +Ansi : "\E[Z"
key Backtab -Ansi : "\t"
key Return-Shift-NewLine : "\r"
key Return-Shift+NewLine : "\r\n"
key Return+Shift : "\EOM"
# Backspace and Delete codes are preserving CTRL-H.
key Backspace : "\x7f"
# Arrow keys in VT52 mode
# shift up/down are reserved for scrolling.
# shift left/right are reserved for switching between tabs (this is hardcoded).
# Command + C
# on mac - Control=Command, Meta=Ctrl
# do not use Control+C for interrupt signal - it's used for "Copy to clipboard"
#key Control +C : "\x03"
key Meta +C: "\x03"
# Arrow keys in ANSI mode with Application - and Normal Cursor Mode)
key Up -Shift+Ansi-AppCuKeys : "\E[A"
key Down -Shift+Ansi-AppCuKeys : "\E[B"
key Right-Shift+Ansi-AppCuKeys : "\E[C"
key Left -Shift+Ansi-AppCuKeys : "\E[D"
key Up -Ansi : "\E[1;*A"
key Down -Ansi : "\E[1;*B"
key Right -Ansi : "\E[1;*C"
key Left -Ansi : "\E[1;*D"
#key Up -Shift-Ansi : "\EA"
#key Down -Shift-Ansi : "\EB"
#key Right-Shift-Ansi : "\EC"
#key Left -Shift-Ansi : "\ED"
#key Up -Shift-AnyMod+Ansi-AppCuKeys : "\E[A"
#key Down -Shift-AnyMod+Ansi-AppCuKeys : "\E[B"
#key Right -Shift-AnyMod+Ansi-AppCuKeys : "\E[C"
#key Left -Shift-AnyMod+Ansi-AppCuKeys : "\E[D"
#key Up -Shift-AnyMod+Ansi-AppCuKeys : "\EOA"
#key Down -Shift-AnyMod+Ansi-AppCuKeys : "\EOB"
#key Right -Shift-AnyMod+Ansi-AppCuKeys : "\EOC"
#key Left -Shift-AnyMod+Ansi-AppCuKeys : "\EOD"
#key Up -Shift-AnyMod+Ansi : "\E[1;*A"
#key Down -Shift-AnyMod+Ansi : "\E[1;*B"
#key Right -Shift-AnyMod+Ansi : "\E[1;*C"
#key Left -Shift-AnyMod+Ansi : "\E[1;*D"
# other grey PC keys
key Enter+NewLine : "\r\n"
key Enter-NewLine : "\r"
key Home -AnyMod -AppCuKeys : "\E[H"
key End -AnyMod -AppCuKeys : "\E[F"
key Home -AnyMod +AppCuKeys : "\EOH"
key End -AnyMod +AppCuKeys : "\EOF"
key Home +AnyMod : "\E[1;*H"
key End +AnyMod : "\E[1;*F"
key Insert -AnyMod : "\E[2~"
key Delete -AnyMod : "\E[3~"
key Insert +AnyMod : "\E[2;*~"
key Delete +AnyMod : "\E[3;*~"
key Prior -Shift-AnyMod : "\E[5~"
key Next -Shift-AnyMod : "\E[6~"
key Prior -Shift+AnyMod : "\E[5;*~"
key Next -Shift+AnyMod : "\E[6;*~"
# Function keys
#key F1 -AnyMod : "\EOP"
#key F2 -AnyMod : "\EOQ"
#key F3 -AnyMod : "\EOR"
#key F4 -AnyMod : "\EOS"
#define ALT_KP_0 "\033Op"
#define ALT_KP_1 "\033Oq"
#define ALT_KP_2 "\033Or"
#define ALT_KP_3 "\033Os"
#define ALT_KP_4 "\033Ot"
#define ALT_KP_5 "\033Ou"
#define ALT_KP_6 "\033Ov"
#define ALT_KP_7 "\033Ow"
#define ALT_KP_8 "\033Ox"
#define ALT_KP_9 "\033Oy"
key F1 -AnyMod : "\EOP"
key F2 -AnyMod : "\EOQ"
key F3 -AnyMod : "\EOR"
key F4 -AnyMod : "\EOS"
key F5 -AnyMod : "\EOT"
key F6 -AnyMod : "\EOU"
key F7 -AnyMod : "\EOV"
key F8 -AnyMod : "\EOW"
key F9 -AnyMod : "\EOX"
key F10 -AnyMod : "\EOY"
#key F5 -AnyMod : "\E[15~"
#key F6 -AnyMod : "\E[17~"
#key F7 -AnyMod : "\E[18~"
#key F8 -AnyMod : "\E[19~"
#key F9 -AnyMod : "\E[20~"
#key F10 -AnyMod : "\E[21~"
#key F11 -AnyMod : "\E[23~"
#key F12 -AnyMod : "\E[24~"
#key F1 +AnyMod : "\EO*P"
#key F2 +AnyMod : "\EO*Q"
#key F3 +AnyMod : "\EO*R"
#key F4 +AnyMod : "\EO*S"
#key F5 +AnyMod : "\E[15;*~"
#key F6 +AnyMod : "\E[17;*~"
#key F7 +AnyMod : "\E[18;*~"
#key F8 +AnyMod : "\E[19;*~"
#key F9 +AnyMod : "\E[20;*~"
#key F10 +AnyMod : "\E[21;*~"
#key F11 +AnyMod : "\E[23;*~"
#key F12 +AnyMod : "\E[24;*~"
# Work around dead keys
key Space +Control : "\x00"
# Some keys are used by konsole to cause operations.
# The scroll* operations refer to the history buffer.
key Up +Shift-AppScreen : scrollLineUp
key Prior +Shift-AppScreen : scrollPageUp
key Down +Shift-AppScreen : scrollLineDown
key Next +Shift-AppScreen : scrollPageDown
#key Up +Shift : scrollLineUp
#key Prior +Shift : scrollPageUp
#key Down +Shift : scrollLineDown
#key Next +Shift : scrollPageDown
key ScrollLock : scrollLock
# keypad characters are not offered differently by Qt.
|