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