[64efc22] | 1 | # [solaris.keytab] Konsole Keyboard Table |
---|
| 2 | # |
---|
| 3 | |
---|
| 4 | keyboard "Solaris console" |
---|
| 5 | |
---|
| 6 | # -------------------------------------------------------------- |
---|
| 7 | # |
---|
| 8 | # This configuration table allows to customize the |
---|
| 9 | # meaning of the keys. |
---|
| 10 | # |
---|
| 11 | # The syntax is that each entry has the form : |
---|
| 12 | # |
---|
| 13 | # "key" Keyname { ("+"|"-") Modename } ":" (String|Operation) |
---|
| 14 | # |
---|
| 15 | # Keynames are those defined in <qnamespace.h> with the |
---|
| 16 | # "Qt::Key_" removed. (We'd better insert the list here) |
---|
| 17 | # |
---|
| 18 | # Mode names are : |
---|
| 19 | # |
---|
| 20 | # - Shift |
---|
| 21 | # - Alt |
---|
| 22 | # - Control |
---|
| 23 | # |
---|
| 24 | # The VT100 emulation has two modes that can affect the |
---|
| 25 | # sequences emitted by certain keys. These modes are |
---|
| 26 | # under control of the client program. |
---|
| 27 | # |
---|
| 28 | # |
---|
| 29 | # - Newline : effects Return and Enter key. |
---|
| 30 | # - Application : effects Up and Down key. |
---|
| 31 | # |
---|
| 32 | # - Ansi : effects Up and Down key (This is for VT52, really). |
---|
| 33 | # |
---|
| 34 | # Operations are |
---|
| 35 | # |
---|
| 36 | # - scrollUpLine |
---|
| 37 | # - scrollUpPage |
---|
| 38 | # - scrollDownLine |
---|
| 39 | # - scrollDownPage |
---|
| 40 | # |
---|
| 41 | # - emitSelection |
---|
| 42 | # |
---|
| 43 | # If the key is not found here, the text of the |
---|
| 44 | # key event as provided by QT is emitted, possibly |
---|
| 45 | # preceded by ESC if the Alt key is pressed. |
---|
| 46 | # |
---|
| 47 | # -------------------------------------------------------------- |
---|
| 48 | |
---|
| 49 | key Escape : "\E" |
---|
| 50 | key Tab : "\t" |
---|
| 51 | |
---|
| 52 | key Return-Alt : "\r" |
---|
| 53 | key Return+Alt : "\E\r" |
---|
| 54 | |
---|
| 55 | # Backspace and Delete codes are preserving CTRL-H. |
---|
| 56 | |
---|
| 57 | key Backspace : "\x08" |
---|
| 58 | #key Delete : "\x7F" |
---|
| 59 | |
---|
| 60 | # cursor keys |
---|
| 61 | |
---|
| 62 | key Up -Shift : "\EOA" |
---|
| 63 | key Down -Shift : "\EOB" |
---|
| 64 | key Right -Shift : "\EOC" |
---|
| 65 | key Left -Shift : "\EOD" |
---|
| 66 | |
---|
| 67 | # other grey PC keys |
---|
| 68 | |
---|
| 69 | key Enter : "\r" |
---|
| 70 | |
---|
| 71 | key Home : "\E[1~" |
---|
| 72 | key Insert-Shift : "\E[2~" |
---|
| 73 | key Delete : "\E[3~" |
---|
| 74 | key End : "\E[4~" |
---|
| 75 | key PgUp -Shift : "\E[5~" |
---|
| 76 | key PgDown -Shift : "\E[6~" |
---|
| 77 | |
---|
| 78 | # function keys |
---|
| 79 | |
---|
| 80 | key F1 : "\E[11~" |
---|
| 81 | key F2 : "\E[12~" |
---|
| 82 | key F3 : "\E[13~" |
---|
| 83 | key F4 : "\E[14~" |
---|
| 84 | key F5 : "\E[15~" |
---|
| 85 | key F6 : "\E[17~" |
---|
| 86 | key F7 : "\E[18~" |
---|
| 87 | key F8 : "\E[19~" |
---|
| 88 | key F9 : "\E[20~" |
---|
| 89 | key F10 : "\E[21~" |
---|
| 90 | key F11 : "\E[23~" |
---|
| 91 | key F12 : "\E[24~" |
---|
| 92 | |
---|
| 93 | # Work around dead keys |
---|
| 94 | |
---|
| 95 | key Space +Control : "\x00" |
---|
| 96 | |
---|
| 97 | # Some keys are used by konsole to cause operations. |
---|
| 98 | # The scroll* operations refer to the history buffer. |
---|
| 99 | |
---|
| 100 | #key Left +Shift : prevSession |
---|
| 101 | #key Right +Shift : nextSession |
---|
| 102 | key Up +Shift : scrollLineUp |
---|
| 103 | key PgUp +Shift : scrollPageUp |
---|
| 104 | key Down +Shift : scrollLineDown |
---|
| 105 | key PgDown +Shift : scrollPageDown |
---|
| 106 | #key Insert+Shift : emitSelection |
---|
| 107 | |
---|
| 108 | # keypad characters are not offered differently by Qt. |
---|