Warning, /utilities/konsole/data/keyboard-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 # linux functions keys F1-F5 differ from xterm
0088 
0089 key F1 : "\E[[A" 
0090 key F2 : "\E[[B" 
0091 key F3 : "\E[[C" 
0092 key F4 : "\E[[D" 
0093 key F5 : "\E[[E" 
0094 
0095 key F6     : "\E[17~" 
0096 key F7     : "\E[18~" 
0097 key F8     : "\E[19~" 
0098 key F9     : "\E[20~" 
0099 key F10    : "\E[21~" 
0100 key F11    : "\E[23~" 
0101 key F12    : "\E[24~" 
0102 
0103 key Home   : "\E[1~"  
0104 key End    : "\E[4~"  
0105 
0106 key PgUp    -Shift : "\E[5~"
0107 key PgDown  -Shift : "\E[6~"
0108 key Insert  -Shift : "\E[2~"
0109 
0110 # Keypad-Enter. See comment on Return above.
0111 
0112 key Enter+NewLine : "\r\n"
0113 key Enter-NewLine : "\r"  
0114 
0115 key Space +Control : "\x00"
0116 
0117 # some of keys are used by konsole.
0118 
0119 key Up      +Shift        : scrollLineUp
0120 key PgUp    +Shift-Ctrl   : scrollPageUp
0121 key PgUp    +Shift+Ctrl   : scrollPromptUp
0122 key Down    +Shift        : scrollLineDown
0123 key PgDown  +Shift-Ctrl   : scrollPageDown
0124 key PgDown  +Shift+Ctrl   : scrollPromptDown
0125 
0126 
0127 #----------------------------------------------------------
0128 
0129 # keypad characters as offered by Qt
0130 # cannot be recognized as such.
0131 
0132 #----------------------------------------------------------
0133 
0134 # Following other strings as emitted by konsole.