Warning, /maui/mauikit-terminal/src/lib/kb-layouts/macbook.keytab is written in an unsupported language. File is not indexed.

0001 # [README.default.Keytab] Buildin Keyboard Table
0002 #
0003 # To customize your keyboard, copy this file to something
0004 # ending with .keytab and change it to meet you needs.
0005 # Please read the README.KeyTab and the README.keyboard
0006 # in this case.
0007 #
0008 # --------------------------------------------------------------
0009 
0010 keyboard "Default (XFree 4)"
0011 
0012 # --------------------------------------------------------------
0013 #
0014 # Note that this particular table is a "risc" version made to
0015 # ease customization without bothering with obsolete details.
0016 # See VT100.keytab for the more hairy stuff.
0017 #
0018 # --------------------------------------------------------------
0019 
0020 # common keys
0021 
0022 key Escape             : "\x1b"
0023 
0024 #key Control : "^"
0025 
0026 key Tab   -Shift       : "\t"
0027 key Tab   +Shift+Ansi  : "\E[Z"
0028 key Tab   +Shift-Ansi  : "\t"
0029 key Backtab     +Ansi  : "\E[Z"
0030 key Backtab     -Ansi  : "\t"
0031 
0032 key Return-Shift-NewLine : "\r"
0033 key Return-Shift+NewLine : "\r\n"
0034 
0035 key Return+Shift         : "\EOM"
0036 
0037 # Backspace and Delete codes are preserving CTRL-H.
0038 
0039 key Backspace      : "\x7f"
0040 
0041 # Arrow keys in VT52 mode
0042 # shift up/down are reserved for scrolling.
0043 # shift left/right are reserved for switching between tabs (this is hardcoded).
0044 
0045 
0046 # Command + C
0047 # on mac - Control=Command, Meta=Ctrl
0048 # do not use Control+C for interrupt signal - it's used for "Copy to clipboard"
0049 #key Control +C : "\x03"
0050 key Meta +C: "\x03"
0051 
0052 
0053 # Arrow keys in ANSI mode with Application - and Normal Cursor Mode)
0054 
0055 key Up   -Shift+Ansi-AppCuKeys : "\E[A"
0056 key Down -Shift+Ansi-AppCuKeys : "\E[B"
0057 key Right-Shift+Ansi-AppCuKeys : "\E[C"
0058 key Left -Shift+Ansi-AppCuKeys : "\E[D"
0059 
0060 key Up    -Ansi           : "\E[1;*A"
0061 key Down  -Ansi           : "\E[1;*B"
0062 key Right -Ansi           : "\E[1;*C"
0063 key Left  -Ansi           : "\E[1;*D"
0064 
0065 #key Up   -Shift-Ansi : "\EA"
0066 #key Down -Shift-Ansi : "\EB"
0067 #key Right-Shift-Ansi : "\EC"
0068 #key Left -Shift-Ansi : "\ED"
0069 
0070 #key Up    -Shift-AnyMod+Ansi-AppCuKeys           : "\E[A"
0071 #key Down  -Shift-AnyMod+Ansi-AppCuKeys           : "\E[B"
0072 #key Right -Shift-AnyMod+Ansi-AppCuKeys           : "\E[C"
0073 #key Left  -Shift-AnyMod+Ansi-AppCuKeys           : "\E[D"
0074 
0075 #key Up    -Shift-AnyMod+Ansi-AppCuKeys           : "\EOA"
0076 #key Down  -Shift-AnyMod+Ansi-AppCuKeys           : "\EOB"
0077 #key Right -Shift-AnyMod+Ansi-AppCuKeys           : "\EOC"
0078 #key Left  -Shift-AnyMod+Ansi-AppCuKeys           : "\EOD"
0079 
0080 #key Up    -Shift-AnyMod+Ansi                     : "\E[1;*A"
0081 #key Down  -Shift-AnyMod+Ansi                     : "\E[1;*B"
0082 #key Right -Shift-AnyMod+Ansi                     : "\E[1;*C"
0083 #key Left  -Shift-AnyMod+Ansi                     : "\E[1;*D"
0084 
0085 # other grey PC keys
0086 
0087 key Enter+NewLine : "\r\n"
0088 key Enter-NewLine : "\r"
0089 
0090 key Home        -AnyMod     -AppCuKeys           : "\E[H"  
0091 key End         -AnyMod     -AppCuKeys           : "\E[F"  
0092 key Home        -AnyMod     +AppCuKeys           : "\EOH"  
0093 key End         -AnyMod     +AppCuKeys           : "\EOF"  
0094 key Home        +AnyMod                          : "\E[1;*H"
0095 key End         +AnyMod                          : "\E[1;*F"
0096 
0097 key Insert      -AnyMod                          : "\E[2~"
0098 key Delete      -AnyMod                          : "\E[3~"
0099 key Insert      +AnyMod                          : "\E[2;*~"
0100 key Delete      +AnyMod                          : "\E[3;*~"
0101 
0102 key PgUp    -Shift-AnyMod                        : "\E[5~"
0103 key PgDown  -Shift-AnyMod                        : "\E[6~"
0104 key PgUp    -Shift+AnyMod                        : "\E[5;*~"
0105 key PgDown  -Shift+AnyMod                        : "\E[6;*~"
0106 
0107 # Function keys
0108 #key F1          -AnyMod                          : "\EOP"
0109 #key F2          -AnyMod                          : "\EOQ"
0110 #key F3          -AnyMod                          : "\EOR"
0111 #key F4          -AnyMod                          : "\EOS"
0112 #define ALT_KP_0                "\033Op"
0113 #define ALT_KP_1                "\033Oq"
0114 #define ALT_KP_2                "\033Or"
0115 #define ALT_KP_3                "\033Os"
0116 #define ALT_KP_4                "\033Ot"
0117 #define ALT_KP_5                "\033Ou"
0118 #define ALT_KP_6                "\033Ov"
0119 #define ALT_KP_7                "\033Ow"
0120 #define ALT_KP_8                "\033Ox"
0121 #define ALT_KP_9                "\033Oy"
0122 
0123 key F1          -AnyMod                          : "\EOP"
0124 key F2          -AnyMod                          : "\EOQ"
0125 key F3          -AnyMod                          : "\EOR"
0126 key F4          -AnyMod                          : "\EOS"
0127 key F5          -AnyMod                          : "\EOT"
0128 key F6          -AnyMod                          : "\EOU"
0129 key F7          -AnyMod                          : "\EOV"
0130 key F8          -AnyMod                          : "\EOW"
0131 key F9          -AnyMod                          : "\EOX"
0132 key F10                 -AnyMod                                                  : "\EOY"
0133 
0134 #key F5          -AnyMod                          : "\E[15~"
0135 #key F6          -AnyMod                          : "\E[17~"
0136 #key F7          -AnyMod                          : "\E[18~"
0137 #key F8          -AnyMod                          : "\E[19~"
0138 #key F9          -AnyMod                          : "\E[20~"
0139 #key F10         -AnyMod                          : "\E[21~"
0140 #key F11         -AnyMod                          : "\E[23~"
0141 #key F12         -AnyMod                          : "\E[24~"
0142 
0143 #key F1          +AnyMod                          : "\EO*P"
0144 #key F2          +AnyMod                          : "\EO*Q"
0145 #key F3          +AnyMod                          : "\EO*R"
0146 #key F4          +AnyMod                          : "\EO*S"
0147 #key F5          +AnyMod                          : "\E[15;*~"
0148 #key F6          +AnyMod                          : "\E[17;*~"
0149 #key F7          +AnyMod                          : "\E[18;*~"
0150 #key F8          +AnyMod                          : "\E[19;*~"
0151 #key F9          +AnyMod                          : "\E[20;*~"
0152 #key F10         +AnyMod                          : "\E[21;*~"
0153 #key F11         +AnyMod                          : "\E[23;*~"
0154 #key F12         +AnyMod                          : "\E[24;*~"
0155 
0156 # Work around dead keys
0157 
0158 key Space +Control : "\x00"
0159 
0160 # Some keys are used by konsole to cause operations.
0161 # The scroll* operations refer to the history buffer.
0162 
0163 key Up      +Shift-AppScreen  : scrollLineUp
0164 key PgUp    +Shift-AppScreen  : scrollPageUp
0165 key Down    +Shift-AppScreen  : scrollLineDown
0166 key PgDown  +Shift-AppScreen  : scrollPageDown
0167 
0168 #key Up    +Shift  : scrollLineUp
0169 #key Prior +Shift  : scrollPageUp
0170 #key Down  +Shift  : scrollLineDown
0171 #key Next  +Shift  : scrollPageDown
0172 
0173 key ScrollLock     : scrollLock
0174 
0175 # keypad characters are not offered differently by Qt.