Warning, /utilities/konsole/data/keyboard-layouts/README-KeyTab-original is written in an unsupported language. File is not indexed.
0001 [README.KeyTab] 0002 0003 The keytabs offered in the Options/Keyboard menu 0004 are taken from configurations files with a *.keytab 0005 pattern either located in $KDEDIR/share/apps/konsole 0006 or ~/.kde/share/apps/konsole. 0007 0008 Keytabs allow to configure the behavior of konsole 0009 on keyboard events, especially for functions keys. 0010 Please have a look into the README.keyboard file, too. 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_" prefix removed. 0018 0019 Mode names are: 0020 0021 - Shift : Shift Key pressed 0022 - Alt : Alt Key pressed 0023 - Control : Control Key pressed 0024 0025 ( The VT100 emulation has 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 - Ansi : effects Up and Down key (This is for VT52, really). 0032 0033 Since sending a state to a program that has set the state 0034 itself is positivly wrong and obsolete design, better forget 0035 about this nasty detail. I may well remove this "feature" 0036 in a future clean up round. ) 0037 0038 A "+" preceeding a Modename means the Key is pressed. 0039 A "-" preceeding a Modename means the Key is not pressed. 0040 If no mode is given it means don't care. 0041 0042 Note that the combination of Key and Modes (set/reset) 0043 has to be unique. This means, that 0044 0045 key A + Shift : "A" 0046 key A : "a" 0047 0048 will not accept the small letter "a" rule as expected, 0049 one has to add a "- Shift" to the last clause. Use 0050 the stdout/stderr dianostics of konsole when modifying 0051 keytabs to find problems like this. 0052 0053 Operations are 0054 0055 - scrollUpLine : scroll up one line in the history log 0056 - scrollUpPage : scroll up one page in the history log 0057 - scrollDownLine : scroll down one line in the history log 0058 - scrollDownPage : scroll down one page in the history log 0059 - scrollUpToTop : scroll up to the begining of the history log 0060 - scrollDownToBottom : scroll down to the end of the history log 0061 0062 0063 Strings have the syntax of C strings, 0064 one may use the following escapes: 0065 0066 - \E - escape 0067 - \\ - backslash 0068 - \" - double quote 0069 - \t - tab 0070 - \r - return 0071 - \n - newline 0072 - \b - backspace 0073 - \xHH - where HH are two hex digits