1# Default kernel keymap. This uses 7 modifier combinations. 2keymaps 0-2,4-5,8,12 3# Change the above line into 4# keymaps 0-2,4-6,8,12 5# in case you want the entries 6# altgr control keycode 83 = Boot 7# altgr control keycode 111 = Boot 8# below. 9# 10# In fact AltGr is used very little, and one more keymap can 11# be saved by mapping AltGr to Alt (and adapting a few entries): 12# keycode 100 = Alt 13# 14keycode 1 = grave asciitilde 15 alt keycode 1 = Meta_Escape 16keycode 2 = one exclam 17 alt keycode 2 = Meta_one 18keycode 3 = two at at 19 control keycode 3 = nul 20 shift control keycode 3 = nul 21 alt keycode 3 = Meta_two 22keycode 4 = three numbersign 23 control keycode 4 = Escape 24 alt keycode 4 = Meta_three 25keycode 5 = four dollar dollar 26 control keycode 5 = Control_backslash 27 alt keycode 5 = Meta_four 28keycode 6 = five percent 29 control keycode 6 = Control_bracketright 30 alt keycode 6 = Meta_five 31keycode 7 = six asciicircum 32 control keycode 7 = Control_asciicircum 33 alt keycode 7 = Meta_six 34keycode 8 = seven ampersand braceleft 35 control keycode 8 = Control_underscore 36 alt keycode 8 = Meta_seven 37keycode 9 = eight asterisk bracketleft 38 control keycode 9 = Delete 39 alt keycode 9 = Meta_eight 40keycode 10 = nine parenleft bracketright 41 alt keycode 10 = Meta_nine 42keycode 11 = zero parenright braceright 43 alt keycode 11 = Meta_zero 44keycode 12 = minus underscore backslash 45 control keycode 12 = Control_underscore 46 shift control keycode 12 = Control_underscore 47 alt keycode 12 = Meta_minus 48keycode 13 = equal plus 49 alt keycode 13 = Meta_equal 50keycode 15 = Delete Delete 51 control keycode 15 = BackSpace 52 alt keycode 15 = Meta_Delete 53keycode 16 = Tab Tab 54 alt keycode 16 = Meta_Tab 55keycode 17 = q 56keycode 18 = w 57keycode 19 = e 58keycode 20 = r 59keycode 21 = t 60keycode 22 = y 61keycode 23 = u 62keycode 24 = i 63keycode 25 = o 64keycode 26 = p 65keycode 27 = bracketleft braceleft 66 control keycode 27 = Escape 67 alt keycode 27 = Meta_bracketleft 68keycode 28 = bracketright braceright 69 control keycode 28 = Control_bracketright 70 alt keycode 28 = Meta_bracketright 71keycode 29 = backslash bar 72 control keycode 29 = Control_backslash 73 alt keycode 29 = Meta_backslash 74keycode 30 = Caps_Lock 75keycode 31 = a 76keycode 32 = s 77keycode 33 = d 78keycode 34 = f 79keycode 35 = g 80keycode 36 = h 81keycode 37 = j 82keycode 38 = k 83keycode 39 = l 84keycode 40 = semicolon colon 85 alt keycode 39 = Meta_semicolon 86keycode 41 = apostrophe quotedbl 87 control keycode 40 = Control_g 88 alt keycode 40 = Meta_apostrophe 89keycode 42 = grave asciitilde 90 control keycode 41 = nul 91 alt keycode 41 = Meta_grave 92keycode 43 = Return 93 alt keycode 43 = Meta_Control_m 94keycode 44 = Shift 95keycode 46 = z 96keycode 47 = x 97keycode 48 = c 98keycode 49 = v 99keycode 50 = b 100keycode 51 = n 101keycode 52 = m 102keycode 53 = comma less 103 alt keycode 51 = Meta_comma 104keycode 54 = period greater 105 control keycode 52 = Compose 106 alt keycode 52 = Meta_period 107keycode 55 = slash question 108 control keycode 53 = Delete 109 alt keycode 53 = Meta_slash 110keycode 57 = Shift 111keycode 58 = Control 112keycode 60 = Alt 113keycode 61 = space space 114 control keycode 61 = nul 115 alt keycode 61 = Meta_space 116keycode 62 = Alt 117 118keycode 75 = Insert 119keycode 76 = Delete 120 121keycode 83 = Up 122keycode 84 = Down 123 124keycode 85 = Prior 125 shift keycode 85 = Scroll_Backward 126keycode 86 = Next 127 shift keycode 86 = Scroll_Forward 128keycode 89 = Right 129 alt keycode 89 = Incr_Console 130keycode 79 = Left 131 alt keycode 79 = Decr_Console 132 133keycode 90 = Num_Lock 134 shift keycode 90 = Bare_Num_Lock 135 136keycode 91 = minus 137keycode 92 = plus 138keycode 93 = KP_Multiply 139keycode 94 = period 140keycode 95 = KP_Divide 141 142keycode 107 = Select 143keycode 108 = Down 144 145keycode 110 = Escape Escape 146 alt keycode 1 = Meta_Escape 147 148keycode 112 = F1 F11 Console_13 149 control keycode 112 = F1 150 alt keycode 112 = Console_1 151 control alt keycode 112 = Console_1 152keycode 113 = F2 F12 Console_14 153 control keycode 113 = F2 154 alt keycode 113 = Console_2 155 control alt keycode 113 = Console_2 156keycode 114 = F3 F13 Console_15 157 control keycode 114 = F3 158 alt keycode 114 = Console_3 159 control alt keycode 114 = Console_3 160keycode 115 = F4 F14 Console_16 161 control keycode 115 = F4 162 alt keycode 115 = Console_4 163 control alt keycode 115 = Console_4 164keycode 116 = F5 F15 Console_17 165 control keycode 116 = F5 166 alt keycode 116 = Console_5 167 control alt keycode 116 = Console_5 168keycode 117 = F6 F16 Console_18 169 control keycode 117 = F6 170 alt keycode 117 = Console_6 171 control alt keycode 117 = Console_6 172keycode 118 = F7 F17 Console_19 173 control keycode 118 = F7 174 alt keycode 118 = Console_7 175 control alt keycode 118 = Console_7 176keycode 119 = F8 F18 Console_20 177 control keycode 119 = F8 178 alt keycode 119 = Console_8 179 control alt keycode 119 = Console_8 180keycode 120 = F9 F19 Console_21 181 control keycode 120 = F9 182 alt keycode 120 = Console_9 183 control alt keycode 120 = Console_9 184keycode 121 = F10 F20 Console_22 185 control keycode 121 = F10 186 alt keycode 121 = Console_10 187 control alt keycode 121 = Console_10 188 189keycode 126 = Pause 190 191 192string F1 = "\033[[A" 193string F2 = "\033[[B" 194string F3 = "\033[[C" 195string F4 = "\033[[D" 196string F5 = "\033[[E" 197string F6 = "\033[17~" 198string F7 = "\033[18~" 199string F8 = "\033[19~" 200string F9 = "\033[20~" 201string F10 = "\033[21~" 202string F11 = "\033[23~" 203string F12 = "\033[24~" 204string F13 = "\033[25~" 205string F14 = "\033[26~" 206string F15 = "\033[28~" 207string F16 = "\033[29~" 208string F17 = "\033[31~" 209string F18 = "\033[32~" 210string F19 = "\033[33~" 211string F20 = "\033[34~" 212string Find = "\033[1~" 213string Insert = "\033[2~" 214string Remove = "\033[3~" 215string Select = "\033[4~" 216string Prior = "\033[5~" 217string Next = "\033[6~" 218string Macro = "\033[M" 219string Pause = "\033[P" 220compose '`' 'A' to '�' 221compose '`' 'a' to '�' 222compose '\'' 'A' to '�' 223compose '\'' 'a' to '�' 224compose '^' 'A' to '�' 225compose '^' 'a' to '�' 226compose '~' 'A' to '�' 227compose '~' 'a' to '�' 228compose '"' 'A' to '�' 229compose '"' 'a' to '�' 230compose 'O' 'A' to '�' 231compose 'o' 'a' to '�' 232compose '0' 'A' to '�' 233compose '0' 'a' to '�' 234compose 'A' 'A' to '�' 235compose 'a' 'a' to '�' 236compose 'A' 'E' to '�' 237compose 'a' 'e' to '�' 238compose ',' 'C' to '�' 239compose ',' 'c' to '�' 240compose '`' 'E' to '�' 241compose '`' 'e' to '�' 242compose '\'' 'E' to '�' 243compose '\'' 'e' to '�' 244compose '^' 'E' to '�' 245compose '^' 'e' to '�' 246compose '"' 'E' to '�' 247compose '"' 'e' to '�' 248compose '`' 'I' to '�' 249compose '`' 'i' to '�' 250compose '\'' 'I' to '�' 251compose '\'' 'i' to '�' 252compose '^' 'I' to '�' 253compose '^' 'i' to '�' 254compose '"' 'I' to '�' 255compose '"' 'i' to '�' 256compose '-' 'D' to '�' 257compose '-' 'd' to '�' 258compose '~' 'N' to '�' 259compose '~' 'n' to '�' 260compose '`' 'O' to '�' 261compose '`' 'o' to '�' 262compose '\'' 'O' to '�' 263compose '\'' 'o' to '�' 264compose '^' 'O' to '�' 265compose '^' 'o' to '�' 266compose '~' 'O' to '�' 267compose '~' 'o' to '�' 268compose '"' 'O' to '�' 269compose '"' 'o' to '�' 270compose '/' 'O' to '�' 271compose '/' 'o' to '�' 272compose '`' 'U' to '�' 273compose '`' 'u' to '�' 274compose '\'' 'U' to '�' 275compose '\'' 'u' to '�' 276compose '^' 'U' to '�' 277compose '^' 'u' to '�' 278compose '"' 'U' to '�' 279compose '"' 'u' to '�' 280compose '\'' 'Y' to '�' 281compose '\'' 'y' to '�' 282compose 'T' 'H' to '�' 283compose 't' 'h' to '�' 284compose 's' 's' to '�' 285compose '"' 'y' to '�' 286compose 's' 'z' to '�' 287compose 'i' 'j' to '�' 288