Warning, /utilities/konsole/data/keyboard-layouts/historic/vt100.keytab is written in an unsupported language. File is not indexed.

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