Warning, /maui/mauikit-terminal/src/lib/kb-layouts/linux.keytab is written in an unsupported language. File is not indexed.
0001 # [linux.keytab] Konsole Keyboard Table (Linux console keys) 0002 # 0003 # -------------------------------------------------------------- 0004 0005 # NOT TESTED, MAY NEED SOME CLEANUPS 0006 keyboard "Linux console" 0007 0008 # -------------------------------------------------------------- 0009 # 0010 # This configuration table allows to customize the 0011 # meaning of the keys. 0012 # 0013 # The syntax is that each entry has the form : 0014 # 0015 # "key" Keyname { ("+"|"-") Modename } ":" (String|Operation) 0016 # 0017 # Keynames are those defined in <qnamespace.h> with the 0018 # "Qt::Key_" removed. (We'd better insert the list here) 0019 # 0020 # Mode names are : 0021 # 0022 # - Shift 0023 # - Alt 0024 # - Control 0025 # 0026 # The VT100 emulation has two modes that can affect the 0027 # sequences emitted by certain keys. These modes are 0028 # under control of the client program. 0029 # 0030 # - Newline : effects Return and Enter key. 0031 # - Application : effects Up and Down key. 0032 # 0033 # - Ansi : effects Up and Down key (This is for VT52, really). 0034 # 0035 # Operations are 0036 # 0037 # - scrollUpLine 0038 # - scrollUpPage 0039 # - scrollDownLine 0040 # - scrollDownPage 0041 # 0042 # - emitSelection 0043 # 0044 # If the key is not found here, the text of the 0045 # key event as provided by QT is emitted, possibly 0046 # preceeded by ESC if the Alt key is pressed. 0047 # 0048 # -------------------------------------------------------------- 0049 0050 key Escape : "\E" 0051 key Tab : "\t" 0052 0053 # VT100 can add an extra \n after return. 0054 # The NewLine mode is set by an escape sequence. 0055 0056 key Return-NewLine : "\r" 0057 key Return+NewLine : "\r\n" 0058 0059 # Some desperately try to save the ^H. 0060 0061 key Backspace : "\x7f" 0062 key Delete : "\E[3~" 0063 0064 # These codes are for the VT52 mode of VT100 0065 # The Ansi mode (i.e. VT100 mode) is set by 0066 # an escape sequence 0067 0068 key Up -Shift-Ansi : "\EA" 0069 key Down -Shift-Ansi : "\EB" 0070 key Right-Shift-Ansi : "\EC" 0071 key Left -Shift-Ansi : "\ED" 0072 0073 # VT100 emits a mode bit together 0074 # with the arrow keys.The AppCuKeys 0075 # mode is set by an escape sequence. 0076 0077 key Up -Shift+Ansi+AppCuKeys : "\EOA" 0078 key Down -Shift+Ansi+AppCuKeys : "\EOB" 0079 key Right-Shift+Ansi+AppCuKeys : "\EOC" 0080 key Left -Shift+Ansi+AppCuKeys : "\EOD" 0081 0082 key Up -Shift+Ansi-AppCuKeys : "\E[A" 0083 key Down -Shift+Ansi-AppCuKeys : "\E[B" 0084 key Right-Shift+Ansi-AppCuKeys : "\E[C" 0085 key Left -Shift+Ansi-AppCuKeys : "\E[D" 0086 0087 key Up -Shift+AnyMod+Ansi : "\E[1;*A" 0088 key Down -Shift+AnyMod+Ansi : "\E[1;*B" 0089 key Right -Shift+AnyMod+Ansi : "\E[1;*C" 0090 key Left -Shift+AnyMod+Ansi : "\E[1;*D" 0091 0092 # linux functions keys F1-F5 differ from xterm 0093 0094 key F1 : "\E[[A" 0095 key F2 : "\E[[B" 0096 key F3 : "\E[[C" 0097 key F4 : "\E[[D" 0098 key F5 : "\E[[E" 0099 0100 key F6 : "\E[17~" 0101 key F7 : "\E[18~" 0102 key F8 : "\E[19~" 0103 key F9 : "\E[20~" 0104 key F10 : "\E[21~" 0105 key F11 : "\E[23~" 0106 key F12 : "\E[24~" 0107 0108 key Home : "\E[1~" 0109 key End : "\E[4~" 0110 0111 key PgUp -Shift : "\E[5~" 0112 key PgDown -Shift : "\E[6~" 0113 key Insert -Shift : "\E[2~" 0114 0115 # Keypad-Enter. See comment on Return above. 0116 0117 key Enter+NewLine : "\r\n" 0118 key Enter-NewLine : "\r" 0119 0120 key Space +Control : "\x00" 0121 0122 # some of keys are used by konsole. 0123 0124 key Up +Shift : scrollLineUp 0125 key PgUp +Shift : scrollPageUp 0126 key Down +Shift : scrollLineDown 0127 key PgDown +Shift : scrollPageDown 0128 0129 key ScrollLock : scrollLock 0130 0131 #---------------------------------------------------------- 0132 0133 # keypad characters as offered by Qt 0134 # cannot be recognized as such. 0135 0136 #---------------------------------------------------------- 0137 0138 # Following other strings as emitted by konsole.