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