ru_koi8r.keymap 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. keymaps 0,1, 2,3, 4,6, 8,10, 12,14
  2. #
  3. # This one is for generating koi8r Russian chars
  4. # Cyr/Lat switches: RightAlt, Shift+Ctrl, Ctrl+Shift
  5. # (last one does not work for dark and obscure reasons 8( )
  6. #
  7. # plain,shift, plain,shift, ctrl,ctrl alt,alt ctrlalt,ctrlalt
  8. # lat-------- cyr-------- lat cyr lat cyr lat cyr
  9. #
  10. #Shift 1
  11. #AltGr (cyr) 2
  12. #Control 4
  13. #Alt 8
  14. #ShiftL 16
  15. #ShiftR 32
  16. #CtrlL 64
  17. #CtrlR 128
  18. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  19. keycode 1 = Escape Escape Escape Escape Escape Escape Meta_Escape Meta_Escape SAK SAK
  20. keycode 2 = one exclam one exclam exclam exclam Meta_one Meta_one
  21. keycode 3 = two at two at nul nul Meta_two Meta_two
  22. keycode 4 = three numbersign three numbersign three three Meta_three Meta_three
  23. keycode 5 = four dollar four dollar Control_backslash Control_backslash Meta_four Meta_four
  24. keycode 6 = five percent five percent Control_bracketright Control_bracketright Meta_five Meta_five
  25. keycode 7 = six asciicircum six asciicircum Control_asciicircum Control_asciicircum Meta_six Meta_six
  26. keycode 8 = seven ampersand seven ampersand Control_underscore Control_underscore Meta_seven Meta_seven
  27. keycode 9 = eight asterisk eight asterisk eight eight Meta_eight Meta_eight
  28. keycode 10 = nine parenleft nine parenleft nine nine Meta_nine Meta_nine
  29. keycode 11 = zero parenright zero parenright zero zero Meta_zero Meta_zero
  30. keycode 12 = minus underscore minus underscore Control_underscore Control_underscore Meta_minus Meta_minus
  31. keycode 13 = equal plus equal plus equal equal Meta_equal Meta_equal
  32. keycode 14 = Delete Delete Delete Delete BackSpace BackSpace Meta_Delete Meta_Delete
  33. keycode 15 = Tab Tab Tab Tab Tab Tab Meta_Tab Meta_Tab
  34. keycode 16 = q Q 202 234 Control_q Control_q Meta_q Meta_q Meta_Control_q Meta_Control_q
  35. keycode 17 = w W 195 227 Control_w Control_w Meta_w Meta_w Meta_Control_w Meta_Control_w
  36. keycode 18 = e E 213 245 Control_e Control_e Meta_e Meta_e Meta_Control_e Meta_Control_e
  37. keycode 19 = r R 203 235 Control_r Control_r Meta_r Meta_r Meta_Control_r Meta_Control_r
  38. keycode 20 = t T 197 229 Control_t Control_t Meta_t Meta_t Meta_Control_t Meta_Control_t
  39. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  40. keycode 21 = y Y 206 238 Control_y Control_y Meta_y Meta_y Meta_Control_y Meta_Control_y
  41. keycode 22 = u U 199 231 Control_u Control_u Meta_u Meta_u Meta_Control_u Meta_Control_u
  42. keycode 23 = i I 219 251 Control_i Control_i Meta_i Meta_i Meta_Control_i Meta_Control_i
  43. keycode 24 = o O 221 253 Control_o Control_o Meta_o Meta_o Meta_Control_o Meta_Control_o
  44. keycode 25 = p P 218 250 Control_p Control_p Meta_p Meta_p Meta_Control_p Meta_Control_p
  45. keycode 26 = bracketleft braceleft 200 232 Escape Escape Meta_bracketleft Meta_bracketleft
  46. keycode 27 = bracketright braceright 223 255 Control_bracketright Control_bracketright
  47. keycode 28 = Return
  48. # Shift+Ctrl - Cyrillic
  49. keycode 29 = Control AltGr_Lock Control AltGr_Lock Control Control Control Control Control Control
  50. keycode 30 = a A 198 230 Control_a Control_a Meta_a Meta_a Meta_Control_a Meta_Control_a
  51. keycode 31 = s S 217 249 Control_s Control_s Meta_s Meta_s Meta_Control_s Meta_Control_s
  52. keycode 32 = d D 215 247 Control_d Control_d Meta_d Meta_d Meta_Control_d Meta_Control_d
  53. keycode 33 = f F 193 225 Control_f Control_f Meta_f Meta_f Meta_Control_f Meta_Control_f
  54. keycode 34 = g G 208 240 Control_g Control_g Meta_g Meta_g Meta_Control_g Meta_Control_g
  55. keycode 35 = h H 210 242 Control_h Control_h Meta_h Meta_h Meta_Control_h Meta_Control_h
  56. keycode 36 = j J 207 239 Control_j Control_j Meta_j Meta_j Meta_Control_j Meta_Control_j
  57. keycode 37 = k K 204 236 Control_k Control_k Meta_k Meta_k Meta_Control_k Meta_Control_k
  58. keycode 38 = l L 196 228 Control_l Control_l Meta_l Meta_l Meta_Control_l Meta_Control_l
  59. keycode 39 = semicolon colon 214 246 semicolon semicolon Meta_semicolon Meta_semicolon
  60. keycode 40 = apostrophe quotedbl 220 252 Control_g Control_g Meta_apostrophe Meta_apostrophe
  61. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  62. keycode 41 = grave asciitilde grave asciitilde nul nul Meta_grave Meta_grave
  63. keycode 42 = Shift
  64. keycode 43 = backslash bar backslash bar Control_backslash Control_backslash Meta_backslash Meta_backslash
  65. keycode 44 = z Z 209 241 Control_z Control_z Meta_z Meta_z Meta_Control_z Meta_Control_z
  66. keycode 45 = x X 222 254 Control_x Control_x Meta_x Meta_x Meta_Control_x Meta_Control_x
  67. keycode 46 = c C 211 243 Control_c Control_c Meta_c Meta_c Meta_Control_c Meta_Control_c
  68. keycode 47 = v V 205 237 Control_v Control_v Meta_v Meta_v Meta_Control_v Meta_Control_v
  69. keycode 48 = b B 201 233 Control_b Control_b Meta_b Meta_b Meta_Control_b Meta_Control_b
  70. keycode 49 = n N 212 244 Control_n Control_n Meta_n Meta_n Meta_Control_n Meta_Control_n
  71. keycode 50 = m M 216 248 Control_m Control_m Meta_m Meta_m Meta_Control_m Meta_Control_m
  72. keycode 51 = comma less 194 226 comma comma Meta_comma Meta_comma
  73. keycode 52 = period greater 192 224 Compose Compose Meta_period Meta_period
  74. keycode 53 = slash question slash question Delete Delete Meta_slash Meta_slash Meta_question Meta_question
  75. # Ctrl+Shift - Cyrillic (not working???)
  76. keycode 54 = Shift Shift Shift Shift AltGr_Lock AltGr_Lock Shift Shift Shift Shift
  77. keycode 55 = KP_Multiply
  78. keycode 56 = Alt
  79. keycode 57 = space space space space nul nul Meta_space Meta_space
  80. keycode 58 = Caps_Lock
  81. keycode 59 = F1 F11 F1 F11 F1 F1 Console_1 Console_1 Console_1 Console_1
  82. keycode 60 = F2 F12 F2 F12 F2 F2 Console_2 Console_2 Console_2 Console_2
  83. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  84. keycode 61 = F3 F13 F3 F13 F3 F3 Console_3 Console_3 Console_3 Console_3
  85. keycode 62 = F4 F14 F4 F14 F4 F4 Console_4 Console_4 Console_4 Console_4
  86. keycode 63 = F5 F15 F5 F15 F5 F5 Console_5 Console_5 Console_5 Console_5
  87. keycode 64 = F6 F16 F6 F16 F6 F6 Console_6 Console_6 Console_6 Console_6
  88. keycode 65 = F7 F17 F7 F17 F7 F7 Console_7 Console_7 Console_7 Console_7
  89. keycode 66 = F8 F18 F8 F18 F8 F8 Console_8 Console_8 Console_8 Console_8
  90. keycode 67 = F9 F19 F9 F19 F9 F9 Console_9 Console_9 Console_9 Console_9
  91. keycode 68 = F10 F20 F10 F20 F10 F10 Console_10 Console_10 Console_10 Console_10
  92. keycode 69 = Num_Lock Bare_Num_Lock Num_Lock Bare_Num_Lock
  93. keycode 70 = Scroll_Lock Show_Memory Scroll_Lock Show_Memory Show_State Show_State
  94. keycode 71 = KP_7 KP_7 KP_7 KP_7 KP_7 KP_7 Ascii_7 Ascii_7
  95. keycode 72 = KP_8 KP_8 KP_8 KP_8 KP_8 KP_8 Ascii_8 Ascii_8
  96. keycode 73 = KP_9 KP_9 KP_9 KP_9 KP_9 KP_9 Ascii_9 Ascii_9
  97. keycode 74 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract
  98. keycode 75 = KP_4 KP_4 KP_4 KP_4 KP_4 KP_4 Ascii_4 Ascii_4
  99. keycode 76 = KP_5 KP_5 KP_5 KP_5 KP_5 KP_5 Ascii_5 Ascii_5
  100. keycode 77 = KP_6 KP_6 KP_6 KP_6 KP_6 KP_6 Ascii_6 Ascii_6
  101. keycode 78 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add
  102. keycode 79 = KP_1 KP_1 KP_1 KP_1 KP_1 KP_1 Ascii_1 Ascii_1
  103. keycode 80 = KP_2 KP_2 KP_2 KP_2 KP_2 KP_2 Ascii_2 Ascii_2
  104. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  105. keycode 81 = KP_3 KP_3 KP_3 KP_3 KP_3 KP_3 Ascii_3 Ascii_3
  106. keycode 82 = KP_0 KP_0 KP_0 KP_0 KP_0 KP_0 Ascii_0 Ascii_0
  107. keycode 83 = KP_Period KP_Period KP_Period KP_Period KP_Period KP_Period KP_Period KP_Period Boot Boot
  108. keycode 84 = Last_Console
  109. keycode 85 =
  110. keycode 86 = less greater less greater less less Meta_less Meta_less
  111. keycode 87 = F11 F11 F11 F11 F11 F11 Console_11 Console_11 Console_11 Console_11
  112. keycode 88 = F12 F12 F12 F12 F12 F12 Console_12 Console_12 Console_12 Console_12
  113. keycode 89 =
  114. keycode 90 =
  115. keycode 91 =
  116. keycode 92 =
  117. keycode 93 =
  118. keycode 94 =
  119. keycode 95 =
  120. keycode 96 = KP_Enter
  121. keycode 97 = Control
  122. keycode 98 = KP_Divide
  123. keycode 99 = Control_backslash
  124. # Right Alt - Cyrillic
  125. keycode 100 = AltGr_Lock
  126. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  127. keycode 101 = Break
  128. keycode 102 = Find
  129. keycode 103 = Up
  130. keycode 104 = Prior Scroll_Backward Prior Scroll_Backward Prior Prior Prior Prior Prior Prior
  131. keycode 105 = Left Left Left Left Left Left Left Left Decr_Console Decr_Console
  132. keycode 106 = Right Right Right Right Right Right Right Right Incr_Console Incr_Console
  133. keycode 107 = Select
  134. keycode 108 = Down
  135. keycode 109 = Next Scroll_Forward Next Scroll_Forward Next Next Next Next Next Next
  136. keycode 110 = Insert
  137. keycode 111 = Remove Remove Remove Remove Remove Remove Remove Remove Boot Boot
  138. keycode 112 = Macro
  139. keycode 113 = F13
  140. keycode 114 = F14
  141. keycode 115 = Help
  142. keycode 116 = Do
  143. keycode 117 = F17
  144. keycode 118 = KP_MinPlus
  145. keycode 119 = Pause
  146. keycode 120 =
  147. #============== plain ========= shift========== plain cyr ===== shift cyr ===== ctrl ================== ctrl cyr ============== alt =================== alt cyr =============== ctrlalt =============== ctrlalt cyr ===========
  148. keycode 121 =
  149. keycode 122 =
  150. keycode 123 =
  151. keycode 124 =
  152. keycode 125 =
  153. keycode 126 =
  154. keycode 127 =
  155. string F1 = "\033[[A"
  156. string F2 = "\033[[B"
  157. string F3 = "\033[[C"
  158. string F4 = "\033[[D"
  159. string F5 = "\033[[E"
  160. string F6 = "\033[17~"
  161. string F7 = "\033[18~"
  162. string F8 = "\033[19~"
  163. string F9 = "\033[20~"
  164. string F10 = "\033[21~"
  165. string F11 = "\033[23~"
  166. string F12 = "\033[24~"
  167. string F13 = "\033[25~"
  168. string F14 = "\033[26~"
  169. string F15 = "\033[28~"
  170. string F16 = "\033[29~"
  171. string F17 = "\033[31~"
  172. string F18 = "\033[32~"
  173. string F19 = "\033[33~"
  174. string F20 = "\033[34~"
  175. string Find = "\033[1~"
  176. string Insert = "\033[2~"
  177. string Remove = "\033[3~"
  178. string Select = "\033[4~"
  179. string Prior = "\033[5~"
  180. string Next = "\033[6~"
  181. string Macro = "\033[M"
  182. string Pause = "\033[P"