defkeymap.map 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. # Default keymap for 3270 (ebcdic codepage 037).
  2. keymaps 0-1,4-5
  3. keycode 0 = nul Oslash
  4. keycode 1 = nul a
  5. keycode 2 = nul b
  6. keycode 3 = nul c
  7. keycode 4 = nul d
  8. keycode 5 = nul e
  9. keycode 6 = nul f
  10. keycode 7 = nul g
  11. keycode 8 = nul h
  12. keycode 9 = nul i
  13. keycode 10 = nul guillemotleft
  14. keycode 11 = nul guillemotright
  15. keycode 12 = nul eth
  16. keycode 13 = nul yacute
  17. keycode 14 = nul thorn
  18. keycode 15 = nul plusminus
  19. keycode 16 = nul degree
  20. keycode 17 = nul j
  21. keycode 18 = nul k
  22. keycode 19 = nul l
  23. keycode 20 = nul m
  24. keycode 21 = nul n
  25. keycode 22 = nul o
  26. keycode 23 = nul p
  27. keycode 24 = nul q
  28. keycode 25 = nul r
  29. keycode 26 = nul nul
  30. keycode 27 = nul nul
  31. keycode 28 = nul ae
  32. keycode 29 = nul cedilla
  33. keycode 30 = nul AE
  34. keycode 31 = nul currency
  35. keycode 32 = nul mu
  36. keycode 33 = nul tilde
  37. keycode 34 = nul s
  38. keycode 35 = nul t
  39. keycode 36 = nul u
  40. keycode 37 = nul v
  41. keycode 38 = nul w
  42. keycode 39 = nul x
  43. keycode 40 = nul y
  44. keycode 41 = nul z
  45. keycode 42 = nul exclamdown
  46. keycode 43 = nul questiondown
  47. keycode 44 = nul ETH
  48. keycode 45 = nul Yacute
  49. keycode 46 = nul THORN
  50. keycode 47 = nul registered
  51. keycode 48 = nul dead_circumflex
  52. keycode 49 = nul sterling
  53. keycode 50 = nul yen
  54. keycode 51 = nul periodcentered
  55. keycode 52 = nul copyright
  56. keycode 53 = nul section
  57. keycode 54 = nul paragraph
  58. keycode 55 = nul onequarter
  59. keycode 56 = nul onehalf
  60. keycode 57 = nul threequarters
  61. keycode 58 = nul bracketleft
  62. keycode 59 = nul bracketright
  63. keycode 60 = nul nul
  64. keycode 61 = nul diaeresis
  65. keycode 62 = nul acute
  66. keycode 63 = nul multiply
  67. keycode 64 = space braceleft
  68. keycode 65 = nul A
  69. keycode 66 = acircumflex B
  70. keycode 67 = adiaeresis C
  71. keycode 68 = agrave D
  72. keycode 69 = aacute E
  73. keycode 70 = atilde F
  74. keycode 71 = aring G
  75. keycode 72 = ccedilla H
  76. keycode 73 = ntilde I
  77. keycode 74 = cent nul
  78. keycode 75 = period ocircumflex
  79. keycode 76 = less odiaeresis
  80. keycode 77 = parenleft ograve
  81. keycode 78 = plus oacute
  82. keycode 79 = bar otilde
  83. keycode 80 = ampersand braceright
  84. keycode 81 = eacute J
  85. keycode 82 = acircumflex K
  86. keycode 83 = ediaeresis L
  87. keycode 84 = egrave M
  88. keycode 85 = iacute N
  89. keycode 86 = icircumflex O
  90. keycode 87 = idiaeresis P
  91. keycode 88 = igrave Q
  92. keycode 89 = ssharp R
  93. keycode 90 = exclam onesuperior
  94. keycode 91 = dollar ucircumflex
  95. keycode 92 = asterisk udiaeresis
  96. keycode 93 = parenright ugrave
  97. keycode 94 = semicolon uacute
  98. keycode 95 = notsign ydiaeresis
  99. keycode 96 = minus backslash
  100. keycode 97 = slash division
  101. keycode 98 = Acircumflex S
  102. keycode 99 = Adiaeresis T
  103. keycode 100 = Agrave U
  104. keycode 101 = Aacute V
  105. keycode 102 = Atilde W
  106. keycode 103 = Aring X
  107. keycode 104 = Ccedilla Y
  108. keycode 105 = Ntilde Z
  109. keycode 106 = brokenbar twosuperior
  110. keycode 107 = comma Ocircumflex
  111. keycode 108 = percent Odiaeresis
  112. keycode 109 = underscore Ograve
  113. keycode 110 = greater Oacute
  114. keycode 111 = question Otilde
  115. keycode 112 = oslash zero
  116. keycode 113 = Eacute one
  117. keycode 114 = Ecircumflex two
  118. keycode 115 = Ediaeresis three
  119. keycode 116 = Egrave four
  120. keycode 117 = Iacute five
  121. keycode 118 = Icircumflex six
  122. keycode 119 = Idiaeresis seven
  123. keycode 120 = Igrave eight
  124. keycode 121 = grave nine
  125. keycode 122 = colon threesuperior
  126. keycode 123 = numbersign Ucircumflex
  127. keycode 124 = at Udiaeresis
  128. keycode 125 = apostrophe Ugrave
  129. keycode 126 = equal Uacute
  130. keycode 127 = quotedbl nul
  131. # AID keys
  132. control keycode 74 = F22
  133. control keycode 75 = F23
  134. control keycode 76 = F24
  135. control keycode 107 = Control_z # PA3
  136. control keycode 108 = Control_c # PA1
  137. control keycode 109 = KeyboardSignal # Clear
  138. control keycode 110 = Control_d # PA2
  139. control keycode 122 = F10
  140. control keycode 123 = F11 # F11
  141. control keycode 124 = Last_Console # F12
  142. control keycode 125 = Linefeed
  143. shift control keycode 65 = F13
  144. shift control keycode 66 = F14
  145. shift control keycode 67 = F15
  146. shift control keycode 68 = F16
  147. shift control keycode 69 = F17
  148. shift control keycode 70 = F18
  149. shift control keycode 71 = F19
  150. shift control keycode 72 = F20
  151. shift control keycode 73 = F21
  152. shift control keycode 113 = F1
  153. shift control keycode 114 = F2
  154. shift control keycode 115 = Incr_Console
  155. shift control keycode 116 = F4
  156. shift control keycode 117 = F5
  157. shift control keycode 118 = F6
  158. shift control keycode 119 = Scroll_Backward
  159. shift control keycode 120 = Scroll_Forward
  160. shift control keycode 121 = F9
  161. string F1 = "\033[[A"
  162. string F2 = "\033[[B"
  163. string F3 = "\033[[C"
  164. string F4 = "\033[[D"
  165. string F5 = "\033[[E"
  166. string F6 = "\033[17~"
  167. string F7 = "\033[18~"
  168. string F8 = "\033[19~"
  169. string F9 = "\033[20~"
  170. string F10 = "\033[21~"
  171. string F11 = "\033[23~"
  172. string F12 = "\033[24~"
  173. string F13 = "\033[25~"
  174. string F14 = "\033[26~"
  175. string F15 = "\033[28~"
  176. string F16 = "\033[29~"
  177. string F17 = "\033[31~"
  178. string F18 = "\033[32~"
  179. string F19 = "\033[33~"
  180. string F20 = "\033[34~"
  181. # string F21 ??
  182. # string F22 ??
  183. # string F23 ??
  184. # string F24 ??
  185. compose '^' 'c' to Control_c
  186. compose '^' 'd' to Control_d
  187. compose '^' 'z' to Control_z
  188. compose '^' '\012' to nul