ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

ncurses-fallback.c (88717B)


      1 /*
      2  * DO NOT EDIT THIS FILE BY HAND!  It is generated by MKfallback.sh.
      3  */
      4 
      5 #include <curses.priv.h>
      6 
      7 #include <tic.h>
      8 
      9 /* fallback entries for: linux vt100 xterm xterm-256color */
     10 /* linux */
     11 
     12 static char linux_alias_data[] = "linux|linux console";
     13 
     14 static char linux_s_bel         [] = "\007";
     15 static char linux_s_cr          [] = "\015";
     16 static char linux_s_csr         [] = "\033[%i%p1%d;%p2%dr";
     17 static char linux_s_tbc         [] = "\033[3g";
     18 static char linux_s_clear       [] = "\033[H\033[J";
     19 static char linux_s_el          [] = "\033[K";
     20 static char linux_s_ed          [] = "\033[J";
     21 static char linux_s_cup         [] = "\033[%i%p1%d;%p2%dH";
     22 static char linux_s_cud1        [] = "\012";
     23 static char linux_s_home        [] = "\033[H";
     24 static char linux_s_civis       [] = "\033[?25l\033[?1c";
     25 static char linux_s_cub1        [] = "\010";
     26 static char linux_s_cnorm       [] = "\033[?25h\033[?0c";
     27 static char linux_s_cuf1        [] = "\033[C";
     28 static char linux_s_cuu1        [] = "\033[A";
     29 static char linux_s_cvvis       [] = "\033[?25h\033[?0c";
     30 static char linux_s_dch1        [] = "\033[P";
     31 static char linux_s_dl1         [] = "\033[M";
     32 static char linux_s_blink       [] = "\033[5m";
     33 static char linux_s_bold        [] = "\033[1m";
     34 static char linux_s_dim         [] = "\033[2m";
     35 static char linux_s_smir        [] = "\033[4h";
     36 static char linux_s_rev         [] = "\033[7m";
     37 static char linux_s_smso        [] = "\033[7m";
     38 static char linux_s_smul        [] = "\033[4m";
     39 static char linux_s_ech         [] = "\033[%p1%dX";
     40 static char linux_s_sgr0        [] = "\033[0m";
     41 static char linux_s_rmir        [] = "\033[4l";
     42 static char linux_s_rmso        [] = "\033[27m";
     43 static char linux_s_rmul        [] = "\033[24m";
     44 static char linux_s_flash       [] = "\033[?5h\033[?5l$<200/>";
     45 static char linux_s_ich1        [] = "\033[@";
     46 static char linux_s_il1         [] = "\033[L";
     47 static char linux_s_kbs         [] = "\177";
     48 static char linux_s_kdch1       [] = "\033[3~";
     49 static char linux_s_kcud1       [] = "\033[B";
     50 static char linux_s_kf1         [] = "\033[[A";
     51 static char linux_s_kf2         [] = "\033[[B";
     52 static char linux_s_kf3         [] = "\033[[C";
     53 static char linux_s_kf4         [] = "\033[[D";
     54 static char linux_s_kf5         [] = "\033[[E";
     55 static char linux_s_kf6         [] = "\033[17~";
     56 static char linux_s_kf7         [] = "\033[18~";
     57 static char linux_s_kf8         [] = "\033[19~";
     58 static char linux_s_kf9         [] = "\033[20~";
     59 static char linux_s_khome       [] = "\033[1~";
     60 static char linux_s_kich1       [] = "\033[2~";
     61 static char linux_s_kcub1       [] = "\033[D";
     62 static char linux_s_knp         [] = "\033[6~";
     63 static char linux_s_kpp         [] = "\033[5~";
     64 static char linux_s_kcuf1       [] = "\033[C";
     65 static char linux_s_kcuu1       [] = "\033[A";
     66 static char linux_s_nel         [] = "\015\012";
     67 static char linux_s_dch         [] = "\033[%p1%dP";
     68 static char linux_s_dl          [] = "\033[%p1%dM";
     69 static char linux_s_cud         [] = "\033[%p1%dB";
     70 static char linux_s_ich         [] = "\033[%p1%d@";
     71 static char linux_s_il          [] = "\033[%p1%dL";
     72 static char linux_s_cub         [] = "\033[%p1%dD";
     73 static char linux_s_cuf         [] = "\033[%p1%dC";
     74 static char linux_s_cuu         [] = "\033[%p1%dA";
     75 static char linux_s_rc          [] = "\0338";
     76 static char linux_s_sc          [] = "\0337";
     77 static char linux_s_ind         [] = "\012";
     78 static char linux_s_ri          [] = "\033M";
     79 static char linux_s_hts         [] = "\033H";
     80 static char linux_s_ht          [] = "\011";
     81 static char linux_s_kb2         [] = "\033[G";
     82 
     83 static char linux_bool_data[] = {
     84 	/*   0: bw       */	FALSE,
     85 	/*   1: am       */	TRUE,
     86 	/*   2: xsb      */	FALSE,
     87 	/*   3: xhp      */	FALSE,
     88 	/*   4: xenl     */	TRUE,
     89 	/*   5: eo       */	TRUE,
     90 	/*   6: gn       */	FALSE,
     91 	/*   7: hc       */	FALSE,
     92 	/*   8: km       */	FALSE,
     93 	/*   9: hs       */	FALSE,
     94 	/*  10: in       */	FALSE,
     95 	/*  11: da       */	FALSE,
     96 	/*  12: db       */	FALSE,
     97 	/*  13: mir      */	TRUE,
     98 	/*  14: msgr     */	TRUE,
     99 	/*  15: os       */	FALSE,
    100 	/*  16: eslok    */	FALSE,
    101 	/*  17: xt       */	FALSE,
    102 	/*  18: hz       */	FALSE,
    103 	/*  19: ul       */	FALSE,
    104 	/*  20: xon      */	TRUE,
    105 	/*  21: nxon     */	FALSE,
    106 	/*  22: mc5i     */	FALSE,
    107 	/*  23: chts     */	FALSE,
    108 	/*  24: nrrmc    */	FALSE,
    109 	/*  25: npc      */	FALSE,
    110 	/*  26: ndscr    */	FALSE,
    111 	/*  27: ccc      */	FALSE,
    112 	/*  28: bce      */	FALSE,
    113 	/*  29: hls      */	FALSE,
    114 	/*  30: xhpa     */	FALSE,
    115 	/*  31: crxm     */	FALSE,
    116 	/*  32: daisy    */	FALSE,
    117 	/*  33: xvpa     */	FALSE,
    118 	/*  34: sam      */	FALSE,
    119 	/*  35: cpix     */	FALSE,
    120 	/*  36: lpix     */	FALSE,
    121 	/*  37: OTbs     */	FALSE,
    122 	/*  38: OTns     */	FALSE,
    123 	/*  39: OTnc     */	FALSE,
    124 	/*  40: OTMT     */	FALSE,
    125 	/*  41: OTNL     */	FALSE,
    126 	/*  42: OTpt     */	FALSE,
    127 	/*  43: OTxr     */	FALSE,
    128 };
    129 static short linux_number_data[] = {
    130 	/*   0: cols     */	ABSENT_NUMERIC,
    131 	/*   1: it       */	8,
    132 	/*   2: lines    */	ABSENT_NUMERIC,
    133 	/*   3: lm       */	ABSENT_NUMERIC,
    134 	/*   4: xmc      */	ABSENT_NUMERIC,
    135 	/*   5: pb       */	ABSENT_NUMERIC,
    136 	/*   6: vt       */	ABSENT_NUMERIC,
    137 	/*   7: wsl      */	ABSENT_NUMERIC,
    138 	/*   8: nlab     */	ABSENT_NUMERIC,
    139 	/*   9: lh       */	ABSENT_NUMERIC,
    140 	/*  10: lw       */	ABSENT_NUMERIC,
    141 	/*  11: ma       */	ABSENT_NUMERIC,
    142 	/*  12: wnum     */	ABSENT_NUMERIC,
    143 	/*  13: colors   */	ABSENT_NUMERIC,
    144 	/*  14: pairs    */	ABSENT_NUMERIC,
    145 	/*  15: ncv      */	ABSENT_NUMERIC,
    146 	/*  16: bufsz    */	ABSENT_NUMERIC,
    147 	/*  17: spinv    */	ABSENT_NUMERIC,
    148 	/*  18: spinh    */	ABSENT_NUMERIC,
    149 	/*  19: maddr    */	ABSENT_NUMERIC,
    150 	/*  20: mjump    */	ABSENT_NUMERIC,
    151 	/*  21: mcs      */	ABSENT_NUMERIC,
    152 	/*  22: mls      */	ABSENT_NUMERIC,
    153 	/*  23: npins    */	ABSENT_NUMERIC,
    154 	/*  24: orc      */	ABSENT_NUMERIC,
    155 	/*  25: orl      */	ABSENT_NUMERIC,
    156 	/*  26: orhi     */	ABSENT_NUMERIC,
    157 	/*  27: orvi     */	ABSENT_NUMERIC,
    158 	/*  28: cps      */	ABSENT_NUMERIC,
    159 	/*  29: widcs    */	ABSENT_NUMERIC,
    160 	/*  30: btns     */	ABSENT_NUMERIC,
    161 	/*  31: bitwin   */	ABSENT_NUMERIC,
    162 	/*  32: bitype   */	ABSENT_NUMERIC,
    163 	/*  33: OTug     */	ABSENT_NUMERIC,
    164 	/*  34: OTdC     */	ABSENT_NUMERIC,
    165 	/*  35: OTdN     */	ABSENT_NUMERIC,
    166 	/*  36: OTdB     */	ABSENT_NUMERIC,
    167 	/*  37: OTdT     */	ABSENT_NUMERIC,
    168 	/*  38: OTkn     */	ABSENT_NUMERIC,
    169 };
    170 static char * linux_string_data[] = {
    171 	/*   0: cbt      */	ABSENT_STRING,
    172 	/*   1: bel      */	linux_s_bel,
    173 	/*   2: cr       */	linux_s_cr,
    174 	/*   3: csr      */	linux_s_csr,
    175 	/*   4: tbc      */	linux_s_tbc,
    176 	/*   5: clear    */	linux_s_clear,
    177 	/*   6: el       */	linux_s_el,
    178 	/*   7: ed       */	linux_s_ed,
    179 	/*   8: hpa      */	ABSENT_STRING,
    180 	/*   9: cmdch    */	ABSENT_STRING,
    181 	/*  10: cup      */	linux_s_cup,
    182 	/*  11: cud1     */	linux_s_cud1,
    183 	/*  12: home     */	linux_s_home,
    184 	/*  13: civis    */	linux_s_civis,
    185 	/*  14: cub1     */	linux_s_cub1,
    186 	/*  15: mrcup    */	ABSENT_STRING,
    187 	/*  16: cnorm    */	linux_s_cnorm,
    188 	/*  17: cuf1     */	linux_s_cuf1,
    189 	/*  18: ll       */	ABSENT_STRING,
    190 	/*  19: cuu1     */	linux_s_cuu1,
    191 	/*  20: cvvis    */	linux_s_cvvis,
    192 	/*  21: dch1     */	linux_s_dch1,
    193 	/*  22: dl1      */	linux_s_dl1,
    194 	/*  23: dsl      */	ABSENT_STRING,
    195 	/*  24: hd       */	ABSENT_STRING,
    196 	/*  25: smacs    */	ABSENT_STRING,
    197 	/*  26: blink    */	linux_s_blink,
    198 	/*  27: bold     */	linux_s_bold,
    199 	/*  28: smcup    */	ABSENT_STRING,
    200 	/*  29: smdc     */	ABSENT_STRING,
    201 	/*  30: dim      */	linux_s_dim,
    202 	/*  31: smir     */	linux_s_smir,
    203 	/*  32: invis    */	ABSENT_STRING,
    204 	/*  33: prot     */	ABSENT_STRING,
    205 	/*  34: rev      */	linux_s_rev,
    206 	/*  35: smso     */	linux_s_smso,
    207 	/*  36: smul     */	linux_s_smul,
    208 	/*  37: ech      */	linux_s_ech,
    209 	/*  38: rmacs    */	ABSENT_STRING,
    210 	/*  39: sgr0     */	linux_s_sgr0,
    211 	/*  40: rmcup    */	ABSENT_STRING,
    212 	/*  41: rmdc     */	ABSENT_STRING,
    213 	/*  42: rmir     */	linux_s_rmir,
    214 	/*  43: rmso     */	linux_s_rmso,
    215 	/*  44: rmul     */	linux_s_rmul,
    216 	/*  45: flash    */	linux_s_flash,
    217 	/*  46: ff       */	ABSENT_STRING,
    218 	/*  47: fsl      */	ABSENT_STRING,
    219 	/*  48: is1      */	ABSENT_STRING,
    220 	/*  49: is2      */	ABSENT_STRING,
    221 	/*  50: is3      */	ABSENT_STRING,
    222 	/*  51: if       */	ABSENT_STRING,
    223 	/*  52: ich1     */	linux_s_ich1,
    224 	/*  53: il1      */	linux_s_il1,
    225 	/*  54: ip       */	ABSENT_STRING,
    226 	/*  55: kbs      */	linux_s_kbs,
    227 	/*  56: ktbc     */	ABSENT_STRING,
    228 	/*  57: kclr     */	ABSENT_STRING,
    229 	/*  58: kctab    */	ABSENT_STRING,
    230 	/*  59: kdch1    */	linux_s_kdch1,
    231 	/*  60: kdl1     */	ABSENT_STRING,
    232 	/*  61: kcud1    */	linux_s_kcud1,
    233 	/*  62: krmir    */	ABSENT_STRING,
    234 	/*  63: kel      */	ABSENT_STRING,
    235 	/*  64: ked      */	ABSENT_STRING,
    236 	/*  65: kf0      */	ABSENT_STRING,
    237 	/*  66: kf1      */	linux_s_kf1,
    238 	/*  67: kf10     */	ABSENT_STRING,
    239 	/*  68: kf2      */	linux_s_kf2,
    240 	/*  69: kf3      */	linux_s_kf3,
    241 	/*  70: kf4      */	linux_s_kf4,
    242 	/*  71: kf5      */	linux_s_kf5,
    243 	/*  72: kf6      */	linux_s_kf6,
    244 	/*  73: kf7      */	linux_s_kf7,
    245 	/*  74: kf8      */	linux_s_kf8,
    246 	/*  75: kf9      */	linux_s_kf9,
    247 	/*  76: khome    */	linux_s_khome,
    248 	/*  77: kich1    */	linux_s_kich1,
    249 	/*  78: kil1     */	ABSENT_STRING,
    250 	/*  79: kcub1    */	linux_s_kcub1,
    251 	/*  80: kll      */	ABSENT_STRING,
    252 	/*  81: knp      */	linux_s_knp,
    253 	/*  82: kpp      */	linux_s_kpp,
    254 	/*  83: kcuf1    */	linux_s_kcuf1,
    255 	/*  84: kind     */	ABSENT_STRING,
    256 	/*  85: kri      */	ABSENT_STRING,
    257 	/*  86: khts     */	ABSENT_STRING,
    258 	/*  87: kcuu1    */	linux_s_kcuu1,
    259 	/*  88: rmkx     */	ABSENT_STRING,
    260 	/*  89: smkx     */	ABSENT_STRING,
    261 	/*  90: lf0      */	ABSENT_STRING,
    262 	/*  91: lf1      */	ABSENT_STRING,
    263 	/*  92: lf10     */	ABSENT_STRING,
    264 	/*  93: lf2      */	ABSENT_STRING,
    265 	/*  94: lf3      */	ABSENT_STRING,
    266 	/*  95: lf4      */	ABSENT_STRING,
    267 	/*  96: lf5      */	ABSENT_STRING,
    268 	/*  97: lf6      */	ABSENT_STRING,
    269 	/*  98: lf7      */	ABSENT_STRING,
    270 	/*  99: lf8      */	ABSENT_STRING,
    271 	/* 100: lf9      */	ABSENT_STRING,
    272 	/* 101: rmm      */	ABSENT_STRING,
    273 	/* 102: smm      */	ABSENT_STRING,
    274 	/* 103: nel      */	linux_s_nel,
    275 	/* 104: pad      */	ABSENT_STRING,
    276 	/* 105: dch      */	linux_s_dch,
    277 	/* 106: dl       */	linux_s_dl,
    278 	/* 107: cud      */	linux_s_cud,
    279 	/* 108: ich      */	linux_s_ich,
    280 	/* 109: indn     */	ABSENT_STRING,
    281 	/* 110: il       */	linux_s_il,
    282 	/* 111: cub      */	linux_s_cub,
    283 	/* 112: cuf      */	linux_s_cuf,
    284 	/* 113: rin      */	ABSENT_STRING,
    285 	/* 114: cuu      */	linux_s_cuu,
    286 	/* 115: pfkey    */	ABSENT_STRING,
    287 	/* 116: pfloc    */	ABSENT_STRING,
    288 	/* 117: pfx      */	ABSENT_STRING,
    289 	/* 118: mc0      */	ABSENT_STRING,
    290 	/* 119: mc4      */	ABSENT_STRING,
    291 	/* 120: mc5      */	ABSENT_STRING,
    292 	/* 121: rep      */	ABSENT_STRING,
    293 	/* 122: rs1      */	ABSENT_STRING,
    294 	/* 123: rs2      */	ABSENT_STRING,
    295 	/* 124: rs3      */	ABSENT_STRING,
    296 	/* 125: rf       */	ABSENT_STRING,
    297 	/* 126: rc       */	linux_s_rc,
    298 	/* 127: vpa      */	ABSENT_STRING,
    299 	/* 128: sc       */	linux_s_sc,
    300 	/* 129: ind      */	linux_s_ind,
    301 	/* 130: ri       */	linux_s_ri,
    302 	/* 131: sgr      */	ABSENT_STRING,
    303 	/* 132: hts      */	linux_s_hts,
    304 	/* 133: wind     */	ABSENT_STRING,
    305 	/* 134: ht       */	linux_s_ht,
    306 	/* 135: tsl      */	ABSENT_STRING,
    307 	/* 136: uc       */	ABSENT_STRING,
    308 	/* 137: hu       */	ABSENT_STRING,
    309 	/* 138: iprog    */	ABSENT_STRING,
    310 	/* 139: ka1      */	ABSENT_STRING,
    311 	/* 140: ka3      */	ABSENT_STRING,
    312 	/* 141: kb2      */	linux_s_kb2,
    313 	/* 142: kc1      */	ABSENT_STRING,
    314 	/* 143: kc3      */	ABSENT_STRING,
    315 	/* 144: mc5p     */	ABSENT_STRING,
    316 	/* 145: rmp      */	ABSENT_STRING,
    317 	/* 146: acsc     */	ABSENT_STRING,
    318 	/* 147: pln      */	ABSENT_STRING,
    319 	/* 148: kcbt     */	ABSENT_STRING,
    320 	/* 149: smxon    */	ABSENT_STRING,
    321 	/* 150: rmxon    */	ABSENT_STRING,
    322 	/* 151: smam     */	ABSENT_STRING,
    323 	/* 152: rmam     */	ABSENT_STRING,
    324 	/* 153: xonc     */	ABSENT_STRING,
    325 	/* 154: xoffc    */	ABSENT_STRING,
    326 	/* 155: enacs    */	ABSENT_STRING,
    327 	/* 156: smln     */	ABSENT_STRING,
    328 	/* 157: rmln     */	ABSENT_STRING,
    329 	/* 158: kbeg     */	ABSENT_STRING,
    330 	/* 159: kcan     */	ABSENT_STRING,
    331 	/* 160: kclo     */	ABSENT_STRING,
    332 	/* 161: kcmd     */	ABSENT_STRING,
    333 	/* 162: kcpy     */	ABSENT_STRING,
    334 	/* 163: kcrt     */	ABSENT_STRING,
    335 	/* 164: kend     */	ABSENT_STRING,
    336 	/* 165: kent     */	ABSENT_STRING,
    337 	/* 166: kext     */	ABSENT_STRING,
    338 	/* 167: kfnd     */	ABSENT_STRING,
    339 	/* 168: khlp     */	ABSENT_STRING,
    340 	/* 169: kmrk     */	ABSENT_STRING,
    341 	/* 170: kmsg     */	ABSENT_STRING,
    342 	/* 171: kmov     */	ABSENT_STRING,
    343 	/* 172: knxt     */	ABSENT_STRING,
    344 	/* 173: kopn     */	ABSENT_STRING,
    345 	/* 174: kopt     */	ABSENT_STRING,
    346 	/* 175: kprv     */	ABSENT_STRING,
    347 	/* 176: kprt     */	ABSENT_STRING,
    348 	/* 177: krdo     */	ABSENT_STRING,
    349 	/* 178: kref     */	ABSENT_STRING,
    350 	/* 179: krfr     */	ABSENT_STRING,
    351 	/* 180: krpl     */	ABSENT_STRING,
    352 	/* 181: krst     */	ABSENT_STRING,
    353 	/* 182: kres     */	ABSENT_STRING,
    354 	/* 183: ksav     */	ABSENT_STRING,
    355 	/* 184: kspd     */	ABSENT_STRING,
    356 	/* 185: kund     */	ABSENT_STRING,
    357 	/* 186: kBEG     */	ABSENT_STRING,
    358 	/* 187: kCAN     */	ABSENT_STRING,
    359 	/* 188: kCMD     */	ABSENT_STRING,
    360 	/* 189: kCPY     */	ABSENT_STRING,
    361 	/* 190: kCRT     */	ABSENT_STRING,
    362 	/* 191: kDC      */	ABSENT_STRING,
    363 	/* 192: kDL      */	ABSENT_STRING,
    364 	/* 193: kslt     */	ABSENT_STRING,
    365 	/* 194: kEND     */	ABSENT_STRING,
    366 	/* 195: kEOL     */	ABSENT_STRING,
    367 	/* 196: kEXT     */	ABSENT_STRING,
    368 	/* 197: kFND     */	ABSENT_STRING,
    369 	/* 198: kHLP     */	ABSENT_STRING,
    370 	/* 199: kHOM     */	ABSENT_STRING,
    371 	/* 200: kIC      */	ABSENT_STRING,
    372 	/* 201: kLFT     */	ABSENT_STRING,
    373 	/* 202: kMSG     */	ABSENT_STRING,
    374 	/* 203: kMOV     */	ABSENT_STRING,
    375 	/* 204: kNXT     */	ABSENT_STRING,
    376 	/* 205: kOPT     */	ABSENT_STRING,
    377 	/* 206: kPRV     */	ABSENT_STRING,
    378 	/* 207: kPRT     */	ABSENT_STRING,
    379 	/* 208: kRDO     */	ABSENT_STRING,
    380 	/* 209: kRPL     */	ABSENT_STRING,
    381 	/* 210: kRIT     */	ABSENT_STRING,
    382 	/* 211: kRES     */	ABSENT_STRING,
    383 	/* 212: kSAV     */	ABSENT_STRING,
    384 	/* 213: kSPD     */	ABSENT_STRING,
    385 	/* 214: kUND     */	ABSENT_STRING,
    386 	/* 215: rfi      */	ABSENT_STRING,
    387 	/* 216: kf11     */	ABSENT_STRING,
    388 	/* 217: kf12     */	ABSENT_STRING,
    389 	/* 218: kf13     */	ABSENT_STRING,
    390 	/* 219: kf14     */	ABSENT_STRING,
    391 	/* 220: kf15     */	ABSENT_STRING,
    392 	/* 221: kf16     */	ABSENT_STRING,
    393 	/* 222: kf17     */	ABSENT_STRING,
    394 	/* 223: kf18     */	ABSENT_STRING,
    395 	/* 224: kf19     */	ABSENT_STRING,
    396 	/* 225: kf20     */	ABSENT_STRING,
    397 	/* 226: kf21     */	ABSENT_STRING,
    398 	/* 227: kf22     */	ABSENT_STRING,
    399 	/* 228: kf23     */	ABSENT_STRING,
    400 	/* 229: kf24     */	ABSENT_STRING,
    401 	/* 230: kf25     */	ABSENT_STRING,
    402 	/* 231: kf26     */	ABSENT_STRING,
    403 	/* 232: kf27     */	ABSENT_STRING,
    404 	/* 233: kf28     */	ABSENT_STRING,
    405 	/* 234: kf29     */	ABSENT_STRING,
    406 	/* 235: kf30     */	ABSENT_STRING,
    407 	/* 236: kf31     */	ABSENT_STRING,
    408 	/* 237: kf32     */	ABSENT_STRING,
    409 	/* 238: kf33     */	ABSENT_STRING,
    410 	/* 239: kf34     */	ABSENT_STRING,
    411 	/* 240: kf35     */	ABSENT_STRING,
    412 	/* 241: kf36     */	ABSENT_STRING,
    413 	/* 242: kf37     */	ABSENT_STRING,
    414 	/* 243: kf38     */	ABSENT_STRING,
    415 	/* 244: kf39     */	ABSENT_STRING,
    416 	/* 245: kf40     */	ABSENT_STRING,
    417 	/* 246: kf41     */	ABSENT_STRING,
    418 	/* 247: kf42     */	ABSENT_STRING,
    419 	/* 248: kf43     */	ABSENT_STRING,
    420 	/* 249: kf44     */	ABSENT_STRING,
    421 	/* 250: kf45     */	ABSENT_STRING,
    422 	/* 251: kf46     */	ABSENT_STRING,
    423 	/* 252: kf47     */	ABSENT_STRING,
    424 	/* 253: kf48     */	ABSENT_STRING,
    425 	/* 254: kf49     */	ABSENT_STRING,
    426 	/* 255: kf50     */	ABSENT_STRING,
    427 	/* 256: kf51     */	ABSENT_STRING,
    428 	/* 257: kf52     */	ABSENT_STRING,
    429 	/* 258: kf53     */	ABSENT_STRING,
    430 	/* 259: kf54     */	ABSENT_STRING,
    431 	/* 260: kf55     */	ABSENT_STRING,
    432 	/* 261: kf56     */	ABSENT_STRING,
    433 	/* 262: kf57     */	ABSENT_STRING,
    434 	/* 263: kf58     */	ABSENT_STRING,
    435 	/* 264: kf59     */	ABSENT_STRING,
    436 	/* 265: kf60     */	ABSENT_STRING,
    437 	/* 266: kf61     */	ABSENT_STRING,
    438 	/* 267: kf62     */	ABSENT_STRING,
    439 	/* 268: kf63     */	ABSENT_STRING,
    440 	/* 269: el1      */	ABSENT_STRING,
    441 	/* 270: mgc      */	ABSENT_STRING,
    442 	/* 271: smgl     */	ABSENT_STRING,
    443 	/* 272: smgr     */	ABSENT_STRING,
    444 	/* 273: fln      */	ABSENT_STRING,
    445 	/* 274: sclk     */	ABSENT_STRING,
    446 	/* 275: dclk     */	ABSENT_STRING,
    447 	/* 276: rmclk    */	ABSENT_STRING,
    448 	/* 277: cwin     */	ABSENT_STRING,
    449 	/* 278: wingo    */	ABSENT_STRING,
    450 	/* 279: hup      */	ABSENT_STRING,
    451 	/* 280: dial     */	ABSENT_STRING,
    452 	/* 281: qdial    */	ABSENT_STRING,
    453 	/* 282: tone     */	ABSENT_STRING,
    454 	/* 283: pulse    */	ABSENT_STRING,
    455 	/* 284: hook     */	ABSENT_STRING,
    456 	/* 285: pause    */	ABSENT_STRING,
    457 	/* 286: wait     */	ABSENT_STRING,
    458 	/* 287: u0       */	ABSENT_STRING,
    459 	/* 288: u1       */	ABSENT_STRING,
    460 	/* 289: u2       */	ABSENT_STRING,
    461 	/* 290: u3       */	ABSENT_STRING,
    462 	/* 291: u4       */	ABSENT_STRING,
    463 	/* 292: u5       */	ABSENT_STRING,
    464 	/* 293: u6       */	ABSENT_STRING,
    465 	/* 294: u7       */	ABSENT_STRING,
    466 	/* 295: u8       */	ABSENT_STRING,
    467 	/* 296: u9       */	ABSENT_STRING,
    468 	/* 297: op       */	ABSENT_STRING,
    469 	/* 298: oc       */	ABSENT_STRING,
    470 	/* 299: initc    */	ABSENT_STRING,
    471 	/* 300: initp    */	ABSENT_STRING,
    472 	/* 301: scp      */	ABSENT_STRING,
    473 	/* 302: setf     */	ABSENT_STRING,
    474 	/* 303: setb     */	ABSENT_STRING,
    475 	/* 304: cpi      */	ABSENT_STRING,
    476 	/* 305: lpi      */	ABSENT_STRING,
    477 	/* 306: chr      */	ABSENT_STRING,
    478 	/* 307: cvr      */	ABSENT_STRING,
    479 	/* 308: defc     */	ABSENT_STRING,
    480 	/* 309: swidm    */	ABSENT_STRING,
    481 	/* 310: sdrfq    */	ABSENT_STRING,
    482 	/* 311: sitm     */	ABSENT_STRING,
    483 	/* 312: slm      */	ABSENT_STRING,
    484 	/* 313: smicm    */	ABSENT_STRING,
    485 	/* 314: snlq     */	ABSENT_STRING,
    486 	/* 315: snrmq    */	ABSENT_STRING,
    487 	/* 316: sshm     */	ABSENT_STRING,
    488 	/* 317: ssubm    */	ABSENT_STRING,
    489 	/* 318: ssupm    */	ABSENT_STRING,
    490 	/* 319: sum      */	ABSENT_STRING,
    491 	/* 320: rwidm    */	ABSENT_STRING,
    492 	/* 321: ritm     */	ABSENT_STRING,
    493 	/* 322: rlm      */	ABSENT_STRING,
    494 	/* 323: rmicm    */	ABSENT_STRING,
    495 	/* 324: rshm     */	ABSENT_STRING,
    496 	/* 325: rsubm    */	ABSENT_STRING,
    497 	/* 326: rsupm    */	ABSENT_STRING,
    498 	/* 327: rum      */	ABSENT_STRING,
    499 	/* 328: mhpa     */	ABSENT_STRING,
    500 	/* 329: mcud1    */	ABSENT_STRING,
    501 	/* 330: mcub1    */	ABSENT_STRING,
    502 	/* 331: mcuf1    */	ABSENT_STRING,
    503 	/* 332: mvpa     */	ABSENT_STRING,
    504 	/* 333: mcuu1    */	ABSENT_STRING,
    505 	/* 334: porder   */	ABSENT_STRING,
    506 	/* 335: mcud     */	ABSENT_STRING,
    507 	/* 336: mcub     */	ABSENT_STRING,
    508 	/* 337: mcuf     */	ABSENT_STRING,
    509 	/* 338: mcuu     */	ABSENT_STRING,
    510 	/* 339: scs      */	ABSENT_STRING,
    511 	/* 340: smgb     */	ABSENT_STRING,
    512 	/* 341: smgbp    */	ABSENT_STRING,
    513 	/* 342: smglp    */	ABSENT_STRING,
    514 	/* 343: smgrp    */	ABSENT_STRING,
    515 	/* 344: smgt     */	ABSENT_STRING,
    516 	/* 345: smgtp    */	ABSENT_STRING,
    517 	/* 346: sbim     */	ABSENT_STRING,
    518 	/* 347: scsd     */	ABSENT_STRING,
    519 	/* 348: rbim     */	ABSENT_STRING,
    520 	/* 349: rcsd     */	ABSENT_STRING,
    521 	/* 350: subcs    */	ABSENT_STRING,
    522 	/* 351: supcs    */	ABSENT_STRING,
    523 	/* 352: docr     */	ABSENT_STRING,
    524 	/* 353: zerom    */	ABSENT_STRING,
    525 	/* 354: csnm     */	ABSENT_STRING,
    526 	/* 355: kmous    */	ABSENT_STRING,
    527 	/* 356: minfo    */	ABSENT_STRING,
    528 	/* 357: reqmp    */	ABSENT_STRING,
    529 	/* 358: getm     */	ABSENT_STRING,
    530 	/* 359: setaf    */	ABSENT_STRING,
    531 	/* 360: setab    */	ABSENT_STRING,
    532 	/* 361: pfxl     */	ABSENT_STRING,
    533 	/* 362: devt     */	ABSENT_STRING,
    534 	/* 363: csin     */	ABSENT_STRING,
    535 	/* 364: s0ds     */	ABSENT_STRING,
    536 	/* 365: s1ds     */	ABSENT_STRING,
    537 	/* 366: s2ds     */	ABSENT_STRING,
    538 	/* 367: s3ds     */	ABSENT_STRING,
    539 	/* 368: smglr    */	ABSENT_STRING,
    540 	/* 369: smgtb    */	ABSENT_STRING,
    541 	/* 370: birep    */	ABSENT_STRING,
    542 	/* 371: binel    */	ABSENT_STRING,
    543 	/* 372: bicr     */	ABSENT_STRING,
    544 	/* 373: colornm  */	ABSENT_STRING,
    545 	/* 374: defbi    */	ABSENT_STRING,
    546 	/* 375: endbi    */	ABSENT_STRING,
    547 	/* 376: setcolor */	ABSENT_STRING,
    548 	/* 377: slines   */	ABSENT_STRING,
    549 	/* 378: dispc    */	ABSENT_STRING,
    550 	/* 379: smpch    */	ABSENT_STRING,
    551 	/* 380: rmpch    */	ABSENT_STRING,
    552 	/* 381: smsc     */	ABSENT_STRING,
    553 	/* 382: rmsc     */	ABSENT_STRING,
    554 	/* 383: pctrm    */	ABSENT_STRING,
    555 	/* 384: scesc    */	ABSENT_STRING,
    556 	/* 385: scesa    */	ABSENT_STRING,
    557 	/* 386: ehhlm    */	ABSENT_STRING,
    558 	/* 387: elhlm    */	ABSENT_STRING,
    559 	/* 388: elohlm   */	ABSENT_STRING,
    560 	/* 389: erhlm    */	ABSENT_STRING,
    561 	/* 390: ethlm    */	ABSENT_STRING,
    562 	/* 391: evhlm    */	ABSENT_STRING,
    563 	/* 392: sgr1     */	ABSENT_STRING,
    564 	/* 393: slength  */	ABSENT_STRING,
    565 	/* 394: OTi2     */	ABSENT_STRING,
    566 	/* 395: OTrs     */	ABSENT_STRING,
    567 	/* 396: OTnl     */	ABSENT_STRING,
    568 	/* 397: OTbc     */	ABSENT_STRING,
    569 	/* 398: OTko     */	ABSENT_STRING,
    570 	/* 399: OTma     */	ABSENT_STRING,
    571 	/* 400: OTG2     */	ABSENT_STRING,
    572 	/* 401: OTG3     */	ABSENT_STRING,
    573 	/* 402: OTG1     */	ABSENT_STRING,
    574 	/* 403: OTG4     */	ABSENT_STRING,
    575 	/* 404: OTGR     */	ABSENT_STRING,
    576 	/* 405: OTGL     */	ABSENT_STRING,
    577 	/* 406: OTGU     */	ABSENT_STRING,
    578 	/* 407: OTGD     */	ABSENT_STRING,
    579 	/* 408: OTGH     */	ABSENT_STRING,
    580 	/* 409: OTGV     */	ABSENT_STRING,
    581 	/* 410: OTGC     */	ABSENT_STRING,
    582 	/* 411: meml     */	ABSENT_STRING,
    583 	/* 412: memu     */	ABSENT_STRING,
    584 	/* 413: box1     */	ABSENT_STRING,
    585 };
    586 /* vt100 */
    587 
    588 static char vt100_alias_data[] = "vt100|vt100-am|dec vt100 (w/advanced video)";
    589 
    590 static char vt100_s_bel         [] = "\007";
    591 static char vt100_s_cr          [] = "\015";
    592 static char vt100_s_csr         [] = "\033[%i%p1%d;%p2%dr";
    593 static char vt100_s_tbc         [] = "\033[3g";
    594 static char vt100_s_clear       [] = "\033[H\033[J";
    595 static char vt100_s_el          [] = "\033[K";
    596 static char vt100_s_ed          [] = "\033[J";
    597 static char vt100_s_cup         [] = "\033[%i%p1%d;%p2%dH";
    598 static char vt100_s_cud1        [] = "\012";
    599 static char vt100_s_home        [] = "\033[H";
    600 static char vt100_s_cub1        [] = "\010";
    601 static char vt100_s_cuf1        [] = "\033[C";
    602 static char vt100_s_cuu1        [] = "\033[A";
    603 static char vt100_s_smacs       [] = "\016";
    604 static char vt100_s_blink       [] = "\033[5m";
    605 static char vt100_s_bold        [] = "\033[1m";
    606 static char vt100_s_rev         [] = "\033[7m";
    607 static char vt100_s_smso        [] = "\033[7m";
    608 static char vt100_s_smul        [] = "\033[4m";
    609 static char vt100_s_rmacs       [] = "\017";
    610 static char vt100_s_sgr0        [] = "\033[0m";
    611 static char vt100_s_rmso        [] = "\033[m";
    612 static char vt100_s_rmul        [] = "\033[m";
    613 static char vt100_s_kbs         [] = "\010";
    614 static char vt100_s_kcud1       [] = "\033OB";
    615 static char vt100_s_kf0         [] = "\033Oy";
    616 static char vt100_s_kf1         [] = "\033OP";
    617 static char vt100_s_kf10        [] = "\033Ox";
    618 static char vt100_s_kf2         [] = "\033OQ";
    619 static char vt100_s_kf3         [] = "\033OR";
    620 static char vt100_s_kf4         [] = "\033OS";
    621 static char vt100_s_kf5         [] = "\033Ot";
    622 static char vt100_s_kf6         [] = "\033Ou";
    623 static char vt100_s_kf7         [] = "\033Ov";
    624 static char vt100_s_kf8         [] = "\033Ol";
    625 static char vt100_s_kf9         [] = "\033Ow";
    626 static char vt100_s_kcub1       [] = "\033OD";
    627 static char vt100_s_kcuf1       [] = "\033OC";
    628 static char vt100_s_kcuu1       [] = "\033OA";
    629 static char vt100_s_rmkx        [] = "\033[?1l\033>";
    630 static char vt100_s_smkx        [] = "\033[?1h\033=";
    631 static char vt100_s_lf1         [] = "pf1";
    632 static char vt100_s_lf2         [] = "pf2";
    633 static char vt100_s_lf3         [] = "pf3";
    634 static char vt100_s_lf4         [] = "pf4";
    635 static char vt100_s_nel         [] = "\015\012";
    636 static char vt100_s_cud         [] = "\033[%p1%dB";
    637 static char vt100_s_cub         [] = "\033[%p1%dD";
    638 static char vt100_s_cuf         [] = "\033[%p1%dC";
    639 static char vt100_s_cuu         [] = "\033[%p1%dA";
    640 static char vt100_s_mc0         [] = "\033[0i";
    641 static char vt100_s_mc4         [] = "\033[4i";
    642 static char vt100_s_mc5         [] = "\033[5i";
    643 static char vt100_s_rs2         [] = "\033>\033[?3l\033[?4l\033[?5l\033[?7h\033[?8h";
    644 static char vt100_s_rc          [] = "\0338";
    645 static char vt100_s_sc          [] = "\0337";
    646 static char vt100_s_ind         [] = "\012";
    647 static char vt100_s_ri          [] = "\033M";
    648 static char vt100_s_hts         [] = "\033H";
    649 static char vt100_s_ht          [] = "\011";
    650 static char vt100_s_ka1         [] = "\033Oq";
    651 static char vt100_s_ka3         [] = "\033Os";
    652 static char vt100_s_kb2         [] = "\033Or";
    653 static char vt100_s_kc1         [] = "\033Op";
    654 static char vt100_s_kc3         [] = "\033On";
    655 static char vt100_s_acsc        [] = "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~";
    656 static char vt100_s_smam        [] = "\033[?7h";
    657 static char vt100_s_rmam        [] = "\033[?7l";
    658 static char vt100_s_enacs       [] = "\033(B\033)0";
    659 static char vt100_s_kent        [] = "\033OM";
    660 static char vt100_s_el1         [] = "\033[1K";
    661 static char vt100_s_OTrs        [] = "\033>\033[?3l\033[?4l\033[?5l\033[?7h\033[?8h";
    662 
    663 static char vt100_bool_data[] = {
    664 	/*   0: bw       */	FALSE,
    665 	/*   1: am       */	TRUE,
    666 	/*   2: xsb      */	FALSE,
    667 	/*   3: xhp      */	FALSE,
    668 	/*   4: xenl     */	TRUE,
    669 	/*   5: eo       */	FALSE,
    670 	/*   6: gn       */	FALSE,
    671 	/*   7: hc       */	FALSE,
    672 	/*   8: km       */	FALSE,
    673 	/*   9: hs       */	FALSE,
    674 	/*  10: in       */	FALSE,
    675 	/*  11: da       */	FALSE,
    676 	/*  12: db       */	FALSE,
    677 	/*  13: mir      */	FALSE,
    678 	/*  14: msgr     */	TRUE,
    679 	/*  15: os       */	FALSE,
    680 	/*  16: eslok    */	FALSE,
    681 	/*  17: xt       */	FALSE,
    682 	/*  18: hz       */	FALSE,
    683 	/*  19: ul       */	FALSE,
    684 	/*  20: xon      */	TRUE,
    685 	/*  21: nxon     */	FALSE,
    686 	/*  22: mc5i     */	TRUE,
    687 	/*  23: chts     */	FALSE,
    688 	/*  24: nrrmc    */	FALSE,
    689 	/*  25: npc      */	FALSE,
    690 	/*  26: ndscr    */	FALSE,
    691 	/*  27: ccc      */	FALSE,
    692 	/*  28: bce      */	FALSE,
    693 	/*  29: hls      */	FALSE,
    694 	/*  30: xhpa     */	FALSE,
    695 	/*  31: crxm     */	FALSE,
    696 	/*  32: daisy    */	FALSE,
    697 	/*  33: xvpa     */	FALSE,
    698 	/*  34: sam      */	FALSE,
    699 	/*  35: cpix     */	FALSE,
    700 	/*  36: lpix     */	FALSE,
    701 	/*  37: OTbs     */	TRUE,
    702 	/*  38: OTns     */	FALSE,
    703 	/*  39: OTnc     */	FALSE,
    704 	/*  40: OTMT     */	FALSE,
    705 	/*  41: OTNL     */	FALSE,
    706 	/*  42: OTpt     */	FALSE,
    707 	/*  43: OTxr     */	FALSE,
    708 };
    709 static short vt100_number_data[] = {
    710 	/*   0: cols     */	80,
    711 	/*   1: it       */	8,
    712 	/*   2: lines    */	24,
    713 	/*   3: lm       */	ABSENT_NUMERIC,
    714 	/*   4: xmc      */	ABSENT_NUMERIC,
    715 	/*   5: pb       */	ABSENT_NUMERIC,
    716 	/*   6: vt       */	3,
    717 	/*   7: wsl      */	ABSENT_NUMERIC,
    718 	/*   8: nlab     */	ABSENT_NUMERIC,
    719 	/*   9: lh       */	ABSENT_NUMERIC,
    720 	/*  10: lw       */	ABSENT_NUMERIC,
    721 	/*  11: ma       */	ABSENT_NUMERIC,
    722 	/*  12: wnum     */	ABSENT_NUMERIC,
    723 	/*  13: colors   */	ABSENT_NUMERIC,
    724 	/*  14: pairs    */	ABSENT_NUMERIC,
    725 	/*  15: ncv      */	ABSENT_NUMERIC,
    726 	/*  16: bufsz    */	ABSENT_NUMERIC,
    727 	/*  17: spinv    */	ABSENT_NUMERIC,
    728 	/*  18: spinh    */	ABSENT_NUMERIC,
    729 	/*  19: maddr    */	ABSENT_NUMERIC,
    730 	/*  20: mjump    */	ABSENT_NUMERIC,
    731 	/*  21: mcs      */	ABSENT_NUMERIC,
    732 	/*  22: mls      */	ABSENT_NUMERIC,
    733 	/*  23: npins    */	ABSENT_NUMERIC,
    734 	/*  24: orc      */	ABSENT_NUMERIC,
    735 	/*  25: orl      */	ABSENT_NUMERIC,
    736 	/*  26: orhi     */	ABSENT_NUMERIC,
    737 	/*  27: orvi     */	ABSENT_NUMERIC,
    738 	/*  28: cps      */	ABSENT_NUMERIC,
    739 	/*  29: widcs    */	ABSENT_NUMERIC,
    740 	/*  30: btns     */	ABSENT_NUMERIC,
    741 	/*  31: bitwin   */	ABSENT_NUMERIC,
    742 	/*  32: bitype   */	ABSENT_NUMERIC,
    743 	/*  33: OTug     */	ABSENT_NUMERIC,
    744 	/*  34: OTdC     */	ABSENT_NUMERIC,
    745 	/*  35: OTdN     */	ABSENT_NUMERIC,
    746 	/*  36: OTdB     */	ABSENT_NUMERIC,
    747 	/*  37: OTdT     */	ABSENT_NUMERIC,
    748 	/*  38: OTkn     */	ABSENT_NUMERIC,
    749 };
    750 static char * vt100_string_data[] = {
    751 	/*   0: cbt      */	ABSENT_STRING,
    752 	/*   1: bel      */	vt100_s_bel,
    753 	/*   2: cr       */	vt100_s_cr,
    754 	/*   3: csr      */	vt100_s_csr,
    755 	/*   4: tbc      */	vt100_s_tbc,
    756 	/*   5: clear    */	vt100_s_clear,
    757 	/*   6: el       */	vt100_s_el,
    758 	/*   7: ed       */	vt100_s_ed,
    759 	/*   8: hpa      */	ABSENT_STRING,
    760 	/*   9: cmdch    */	ABSENT_STRING,
    761 	/*  10: cup      */	vt100_s_cup,
    762 	/*  11: cud1     */	vt100_s_cud1,
    763 	/*  12: home     */	vt100_s_home,
    764 	/*  13: civis    */	ABSENT_STRING,
    765 	/*  14: cub1     */	vt100_s_cub1,
    766 	/*  15: mrcup    */	ABSENT_STRING,
    767 	/*  16: cnorm    */	ABSENT_STRING,
    768 	/*  17: cuf1     */	vt100_s_cuf1,
    769 	/*  18: ll       */	ABSENT_STRING,
    770 	/*  19: cuu1     */	vt100_s_cuu1,
    771 	/*  20: cvvis    */	ABSENT_STRING,
    772 	/*  21: dch1     */	ABSENT_STRING,
    773 	/*  22: dl1      */	ABSENT_STRING,
    774 	/*  23: dsl      */	ABSENT_STRING,
    775 	/*  24: hd       */	ABSENT_STRING,
    776 	/*  25: smacs    */	vt100_s_smacs,
    777 	/*  26: blink    */	vt100_s_blink,
    778 	/*  27: bold     */	vt100_s_bold,
    779 	/*  28: smcup    */	ABSENT_STRING,
    780 	/*  29: smdc     */	ABSENT_STRING,
    781 	/*  30: dim      */	ABSENT_STRING,
    782 	/*  31: smir     */	ABSENT_STRING,
    783 	/*  32: invis    */	ABSENT_STRING,
    784 	/*  33: prot     */	ABSENT_STRING,
    785 	/*  34: rev      */	vt100_s_rev,
    786 	/*  35: smso     */	vt100_s_smso,
    787 	/*  36: smul     */	vt100_s_smul,
    788 	/*  37: ech      */	ABSENT_STRING,
    789 	/*  38: rmacs    */	vt100_s_rmacs,
    790 	/*  39: sgr0     */	vt100_s_sgr0,
    791 	/*  40: rmcup    */	ABSENT_STRING,
    792 	/*  41: rmdc     */	ABSENT_STRING,
    793 	/*  42: rmir     */	ABSENT_STRING,
    794 	/*  43: rmso     */	vt100_s_rmso,
    795 	/*  44: rmul     */	vt100_s_rmul,
    796 	/*  45: flash    */	ABSENT_STRING,
    797 	/*  46: ff       */	ABSENT_STRING,
    798 	/*  47: fsl      */	ABSENT_STRING,
    799 	/*  48: is1      */	ABSENT_STRING,
    800 	/*  49: is2      */	ABSENT_STRING,
    801 	/*  50: is3      */	ABSENT_STRING,
    802 	/*  51: if       */	ABSENT_STRING,
    803 	/*  52: ich1     */	ABSENT_STRING,
    804 	/*  53: il1      */	ABSENT_STRING,
    805 	/*  54: ip       */	ABSENT_STRING,
    806 	/*  55: kbs      */	vt100_s_kbs,
    807 	/*  56: ktbc     */	ABSENT_STRING,
    808 	/*  57: kclr     */	ABSENT_STRING,
    809 	/*  58: kctab    */	ABSENT_STRING,
    810 	/*  59: kdch1    */	ABSENT_STRING,
    811 	/*  60: kdl1     */	ABSENT_STRING,
    812 	/*  61: kcud1    */	vt100_s_kcud1,
    813 	/*  62: krmir    */	ABSENT_STRING,
    814 	/*  63: kel      */	ABSENT_STRING,
    815 	/*  64: ked      */	ABSENT_STRING,
    816 	/*  65: kf0      */	vt100_s_kf0,
    817 	/*  66: kf1      */	vt100_s_kf1,
    818 	/*  67: kf10     */	vt100_s_kf10,
    819 	/*  68: kf2      */	vt100_s_kf2,
    820 	/*  69: kf3      */	vt100_s_kf3,
    821 	/*  70: kf4      */	vt100_s_kf4,
    822 	/*  71: kf5      */	vt100_s_kf5,
    823 	/*  72: kf6      */	vt100_s_kf6,
    824 	/*  73: kf7      */	vt100_s_kf7,
    825 	/*  74: kf8      */	vt100_s_kf8,
    826 	/*  75: kf9      */	vt100_s_kf9,
    827 	/*  76: khome    */	ABSENT_STRING,
    828 	/*  77: kich1    */	ABSENT_STRING,
    829 	/*  78: kil1     */	ABSENT_STRING,
    830 	/*  79: kcub1    */	vt100_s_kcub1,
    831 	/*  80: kll      */	ABSENT_STRING,
    832 	/*  81: knp      */	ABSENT_STRING,
    833 	/*  82: kpp      */	ABSENT_STRING,
    834 	/*  83: kcuf1    */	vt100_s_kcuf1,
    835 	/*  84: kind     */	ABSENT_STRING,
    836 	/*  85: kri      */	ABSENT_STRING,
    837 	/*  86: khts     */	ABSENT_STRING,
    838 	/*  87: kcuu1    */	vt100_s_kcuu1,
    839 	/*  88: rmkx     */	vt100_s_rmkx,
    840 	/*  89: smkx     */	vt100_s_smkx,
    841 	/*  90: lf0      */	ABSENT_STRING,
    842 	/*  91: lf1      */	vt100_s_lf1,
    843 	/*  92: lf10     */	ABSENT_STRING,
    844 	/*  93: lf2      */	vt100_s_lf2,
    845 	/*  94: lf3      */	vt100_s_lf3,
    846 	/*  95: lf4      */	vt100_s_lf4,
    847 	/*  96: lf5      */	ABSENT_STRING,
    848 	/*  97: lf6      */	ABSENT_STRING,
    849 	/*  98: lf7      */	ABSENT_STRING,
    850 	/*  99: lf8      */	ABSENT_STRING,
    851 	/* 100: lf9      */	ABSENT_STRING,
    852 	/* 101: rmm      */	ABSENT_STRING,
    853 	/* 102: smm      */	ABSENT_STRING,
    854 	/* 103: nel      */	vt100_s_nel,
    855 	/* 104: pad      */	ABSENT_STRING,
    856 	/* 105: dch      */	ABSENT_STRING,
    857 	/* 106: dl       */	ABSENT_STRING,
    858 	/* 107: cud      */	vt100_s_cud,
    859 	/* 108: ich      */	ABSENT_STRING,
    860 	/* 109: indn     */	ABSENT_STRING,
    861 	/* 110: il       */	ABSENT_STRING,
    862 	/* 111: cub      */	vt100_s_cub,
    863 	/* 112: cuf      */	vt100_s_cuf,
    864 	/* 113: rin      */	ABSENT_STRING,
    865 	/* 114: cuu      */	vt100_s_cuu,
    866 	/* 115: pfkey    */	ABSENT_STRING,
    867 	/* 116: pfloc    */	ABSENT_STRING,
    868 	/* 117: pfx      */	ABSENT_STRING,
    869 	/* 118: mc0      */	vt100_s_mc0,
    870 	/* 119: mc4      */	vt100_s_mc4,
    871 	/* 120: mc5      */	vt100_s_mc5,
    872 	/* 121: rep      */	ABSENT_STRING,
    873 	/* 122: rs1      */	ABSENT_STRING,
    874 	/* 123: rs2      */	vt100_s_rs2,
    875 	/* 124: rs3      */	ABSENT_STRING,
    876 	/* 125: rf       */	ABSENT_STRING,
    877 	/* 126: rc       */	vt100_s_rc,
    878 	/* 127: vpa      */	ABSENT_STRING,
    879 	/* 128: sc       */	vt100_s_sc,
    880 	/* 129: ind      */	vt100_s_ind,
    881 	/* 130: ri       */	vt100_s_ri,
    882 	/* 131: sgr      */	ABSENT_STRING,
    883 	/* 132: hts      */	vt100_s_hts,
    884 	/* 133: wind     */	ABSENT_STRING,
    885 	/* 134: ht       */	vt100_s_ht,
    886 	/* 135: tsl      */	ABSENT_STRING,
    887 	/* 136: uc       */	ABSENT_STRING,
    888 	/* 137: hu       */	ABSENT_STRING,
    889 	/* 138: iprog    */	ABSENT_STRING,
    890 	/* 139: ka1      */	vt100_s_ka1,
    891 	/* 140: ka3      */	vt100_s_ka3,
    892 	/* 141: kb2      */	vt100_s_kb2,
    893 	/* 142: kc1      */	vt100_s_kc1,
    894 	/* 143: kc3      */	vt100_s_kc3,
    895 	/* 144: mc5p     */	ABSENT_STRING,
    896 	/* 145: rmp      */	ABSENT_STRING,
    897 	/* 146: acsc     */	vt100_s_acsc,
    898 	/* 147: pln      */	ABSENT_STRING,
    899 	/* 148: kcbt     */	ABSENT_STRING,
    900 	/* 149: smxon    */	ABSENT_STRING,
    901 	/* 150: rmxon    */	ABSENT_STRING,
    902 	/* 151: smam     */	vt100_s_smam,
    903 	/* 152: rmam     */	vt100_s_rmam,
    904 	/* 153: xonc     */	ABSENT_STRING,
    905 	/* 154: xoffc    */	ABSENT_STRING,
    906 	/* 155: enacs    */	vt100_s_enacs,
    907 	/* 156: smln     */	ABSENT_STRING,
    908 	/* 157: rmln     */	ABSENT_STRING,
    909 	/* 158: kbeg     */	ABSENT_STRING,
    910 	/* 159: kcan     */	ABSENT_STRING,
    911 	/* 160: kclo     */	ABSENT_STRING,
    912 	/* 161: kcmd     */	ABSENT_STRING,
    913 	/* 162: kcpy     */	ABSENT_STRING,
    914 	/* 163: kcrt     */	ABSENT_STRING,
    915 	/* 164: kend     */	ABSENT_STRING,
    916 	/* 165: kent     */	vt100_s_kent,
    917 	/* 166: kext     */	ABSENT_STRING,
    918 	/* 167: kfnd     */	ABSENT_STRING,
    919 	/* 168: khlp     */	ABSENT_STRING,
    920 	/* 169: kmrk     */	ABSENT_STRING,
    921 	/* 170: kmsg     */	ABSENT_STRING,
    922 	/* 171: kmov     */	ABSENT_STRING,
    923 	/* 172: knxt     */	ABSENT_STRING,
    924 	/* 173: kopn     */	ABSENT_STRING,
    925 	/* 174: kopt     */	ABSENT_STRING,
    926 	/* 175: kprv     */	ABSENT_STRING,
    927 	/* 176: kprt     */	ABSENT_STRING,
    928 	/* 177: krdo     */	ABSENT_STRING,
    929 	/* 178: kref     */	ABSENT_STRING,
    930 	/* 179: krfr     */	ABSENT_STRING,
    931 	/* 180: krpl     */	ABSENT_STRING,
    932 	/* 181: krst     */	ABSENT_STRING,
    933 	/* 182: kres     */	ABSENT_STRING,
    934 	/* 183: ksav     */	ABSENT_STRING,
    935 	/* 184: kspd     */	ABSENT_STRING,
    936 	/* 185: kund     */	ABSENT_STRING,
    937 	/* 186: kBEG     */	ABSENT_STRING,
    938 	/* 187: kCAN     */	ABSENT_STRING,
    939 	/* 188: kCMD     */	ABSENT_STRING,
    940 	/* 189: kCPY     */	ABSENT_STRING,
    941 	/* 190: kCRT     */	ABSENT_STRING,
    942 	/* 191: kDC      */	ABSENT_STRING,
    943 	/* 192: kDL      */	ABSENT_STRING,
    944 	/* 193: kslt     */	ABSENT_STRING,
    945 	/* 194: kEND     */	ABSENT_STRING,
    946 	/* 195: kEOL     */	ABSENT_STRING,
    947 	/* 196: kEXT     */	ABSENT_STRING,
    948 	/* 197: kFND     */	ABSENT_STRING,
    949 	/* 198: kHLP     */	ABSENT_STRING,
    950 	/* 199: kHOM     */	ABSENT_STRING,
    951 	/* 200: kIC      */	ABSENT_STRING,
    952 	/* 201: kLFT     */	ABSENT_STRING,
    953 	/* 202: kMSG     */	ABSENT_STRING,
    954 	/* 203: kMOV     */	ABSENT_STRING,
    955 	/* 204: kNXT     */	ABSENT_STRING,
    956 	/* 205: kOPT     */	ABSENT_STRING,
    957 	/* 206: kPRV     */	ABSENT_STRING,
    958 	/* 207: kPRT     */	ABSENT_STRING,
    959 	/* 208: kRDO     */	ABSENT_STRING,
    960 	/* 209: kRPL     */	ABSENT_STRING,
    961 	/* 210: kRIT     */	ABSENT_STRING,
    962 	/* 211: kRES     */	ABSENT_STRING,
    963 	/* 212: kSAV     */	ABSENT_STRING,
    964 	/* 213: kSPD     */	ABSENT_STRING,
    965 	/* 214: kUND     */	ABSENT_STRING,
    966 	/* 215: rfi      */	ABSENT_STRING,
    967 	/* 216: kf11     */	ABSENT_STRING,
    968 	/* 217: kf12     */	ABSENT_STRING,
    969 	/* 218: kf13     */	ABSENT_STRING,
    970 	/* 219: kf14     */	ABSENT_STRING,
    971 	/* 220: kf15     */	ABSENT_STRING,
    972 	/* 221: kf16     */	ABSENT_STRING,
    973 	/* 222: kf17     */	ABSENT_STRING,
    974 	/* 223: kf18     */	ABSENT_STRING,
    975 	/* 224: kf19     */	ABSENT_STRING,
    976 	/* 225: kf20     */	ABSENT_STRING,
    977 	/* 226: kf21     */	ABSENT_STRING,
    978 	/* 227: kf22     */	ABSENT_STRING,
    979 	/* 228: kf23     */	ABSENT_STRING,
    980 	/* 229: kf24     */	ABSENT_STRING,
    981 	/* 230: kf25     */	ABSENT_STRING,
    982 	/* 231: kf26     */	ABSENT_STRING,
    983 	/* 232: kf27     */	ABSENT_STRING,
    984 	/* 233: kf28     */	ABSENT_STRING,
    985 	/* 234: kf29     */	ABSENT_STRING,
    986 	/* 235: kf30     */	ABSENT_STRING,
    987 	/* 236: kf31     */	ABSENT_STRING,
    988 	/* 237: kf32     */	ABSENT_STRING,
    989 	/* 238: kf33     */	ABSENT_STRING,
    990 	/* 239: kf34     */	ABSENT_STRING,
    991 	/* 240: kf35     */	ABSENT_STRING,
    992 	/* 241: kf36     */	ABSENT_STRING,
    993 	/* 242: kf37     */	ABSENT_STRING,
    994 	/* 243: kf38     */	ABSENT_STRING,
    995 	/* 244: kf39     */	ABSENT_STRING,
    996 	/* 245: kf40     */	ABSENT_STRING,
    997 	/* 246: kf41     */	ABSENT_STRING,
    998 	/* 247: kf42     */	ABSENT_STRING,
    999 	/* 248: kf43     */	ABSENT_STRING,
   1000 	/* 249: kf44     */	ABSENT_STRING,
   1001 	/* 250: kf45     */	ABSENT_STRING,
   1002 	/* 251: kf46     */	ABSENT_STRING,
   1003 	/* 252: kf47     */	ABSENT_STRING,
   1004 	/* 253: kf48     */	ABSENT_STRING,
   1005 	/* 254: kf49     */	ABSENT_STRING,
   1006 	/* 255: kf50     */	ABSENT_STRING,
   1007 	/* 256: kf51     */	ABSENT_STRING,
   1008 	/* 257: kf52     */	ABSENT_STRING,
   1009 	/* 258: kf53     */	ABSENT_STRING,
   1010 	/* 259: kf54     */	ABSENT_STRING,
   1011 	/* 260: kf55     */	ABSENT_STRING,
   1012 	/* 261: kf56     */	ABSENT_STRING,
   1013 	/* 262: kf57     */	ABSENT_STRING,
   1014 	/* 263: kf58     */	ABSENT_STRING,
   1015 	/* 264: kf59     */	ABSENT_STRING,
   1016 	/* 265: kf60     */	ABSENT_STRING,
   1017 	/* 266: kf61     */	ABSENT_STRING,
   1018 	/* 267: kf62     */	ABSENT_STRING,
   1019 	/* 268: kf63     */	ABSENT_STRING,
   1020 	/* 269: el1      */	vt100_s_el1,
   1021 	/* 270: mgc      */	ABSENT_STRING,
   1022 	/* 271: smgl     */	ABSENT_STRING,
   1023 	/* 272: smgr     */	ABSENT_STRING,
   1024 	/* 273: fln      */	ABSENT_STRING,
   1025 	/* 274: sclk     */	ABSENT_STRING,
   1026 	/* 275: dclk     */	ABSENT_STRING,
   1027 	/* 276: rmclk    */	ABSENT_STRING,
   1028 	/* 277: cwin     */	ABSENT_STRING,
   1029 	/* 278: wingo    */	ABSENT_STRING,
   1030 	/* 279: hup      */	ABSENT_STRING,
   1031 	/* 280: dial     */	ABSENT_STRING,
   1032 	/* 281: qdial    */	ABSENT_STRING,
   1033 	/* 282: tone     */	ABSENT_STRING,
   1034 	/* 283: pulse    */	ABSENT_STRING,
   1035 	/* 284: hook     */	ABSENT_STRING,
   1036 	/* 285: pause    */	ABSENT_STRING,
   1037 	/* 286: wait     */	ABSENT_STRING,
   1038 	/* 287: u0       */	ABSENT_STRING,
   1039 	/* 288: u1       */	ABSENT_STRING,
   1040 	/* 289: u2       */	ABSENT_STRING,
   1041 	/* 290: u3       */	ABSENT_STRING,
   1042 	/* 291: u4       */	ABSENT_STRING,
   1043 	/* 292: u5       */	ABSENT_STRING,
   1044 	/* 293: u6       */	ABSENT_STRING,
   1045 	/* 294: u7       */	ABSENT_STRING,
   1046 	/* 295: u8       */	ABSENT_STRING,
   1047 	/* 296: u9       */	ABSENT_STRING,
   1048 	/* 297: op       */	ABSENT_STRING,
   1049 	/* 298: oc       */	ABSENT_STRING,
   1050 	/* 299: initc    */	ABSENT_STRING,
   1051 	/* 300: initp    */	ABSENT_STRING,
   1052 	/* 301: scp      */	ABSENT_STRING,
   1053 	/* 302: setf     */	ABSENT_STRING,
   1054 	/* 303: setb     */	ABSENT_STRING,
   1055 	/* 304: cpi      */	ABSENT_STRING,
   1056 	/* 305: lpi      */	ABSENT_STRING,
   1057 	/* 306: chr      */	ABSENT_STRING,
   1058 	/* 307: cvr      */	ABSENT_STRING,
   1059 	/* 308: defc     */	ABSENT_STRING,
   1060 	/* 309: swidm    */	ABSENT_STRING,
   1061 	/* 310: sdrfq    */	ABSENT_STRING,
   1062 	/* 311: sitm     */	ABSENT_STRING,
   1063 	/* 312: slm      */	ABSENT_STRING,
   1064 	/* 313: smicm    */	ABSENT_STRING,
   1065 	/* 314: snlq     */	ABSENT_STRING,
   1066 	/* 315: snrmq    */	ABSENT_STRING,
   1067 	/* 316: sshm     */	ABSENT_STRING,
   1068 	/* 317: ssubm    */	ABSENT_STRING,
   1069 	/* 318: ssupm    */	ABSENT_STRING,
   1070 	/* 319: sum      */	ABSENT_STRING,
   1071 	/* 320: rwidm    */	ABSENT_STRING,
   1072 	/* 321: ritm     */	ABSENT_STRING,
   1073 	/* 322: rlm      */	ABSENT_STRING,
   1074 	/* 323: rmicm    */	ABSENT_STRING,
   1075 	/* 324: rshm     */	ABSENT_STRING,
   1076 	/* 325: rsubm    */	ABSENT_STRING,
   1077 	/* 326: rsupm    */	ABSENT_STRING,
   1078 	/* 327: rum      */	ABSENT_STRING,
   1079 	/* 328: mhpa     */	ABSENT_STRING,
   1080 	/* 329: mcud1    */	ABSENT_STRING,
   1081 	/* 330: mcub1    */	ABSENT_STRING,
   1082 	/* 331: mcuf1    */	ABSENT_STRING,
   1083 	/* 332: mvpa     */	ABSENT_STRING,
   1084 	/* 333: mcuu1    */	ABSENT_STRING,
   1085 	/* 334: porder   */	ABSENT_STRING,
   1086 	/* 335: mcud     */	ABSENT_STRING,
   1087 	/* 336: mcub     */	ABSENT_STRING,
   1088 	/* 337: mcuf     */	ABSENT_STRING,
   1089 	/* 338: mcuu     */	ABSENT_STRING,
   1090 	/* 339: scs      */	ABSENT_STRING,
   1091 	/* 340: smgb     */	ABSENT_STRING,
   1092 	/* 341: smgbp    */	ABSENT_STRING,
   1093 	/* 342: smglp    */	ABSENT_STRING,
   1094 	/* 343: smgrp    */	ABSENT_STRING,
   1095 	/* 344: smgt     */	ABSENT_STRING,
   1096 	/* 345: smgtp    */	ABSENT_STRING,
   1097 	/* 346: sbim     */	ABSENT_STRING,
   1098 	/* 347: scsd     */	ABSENT_STRING,
   1099 	/* 348: rbim     */	ABSENT_STRING,
   1100 	/* 349: rcsd     */	ABSENT_STRING,
   1101 	/* 350: subcs    */	ABSENT_STRING,
   1102 	/* 351: supcs    */	ABSENT_STRING,
   1103 	/* 352: docr     */	ABSENT_STRING,
   1104 	/* 353: zerom    */	ABSENT_STRING,
   1105 	/* 354: csnm     */	ABSENT_STRING,
   1106 	/* 355: kmous    */	ABSENT_STRING,
   1107 	/* 356: minfo    */	ABSENT_STRING,
   1108 	/* 357: reqmp    */	ABSENT_STRING,
   1109 	/* 358: getm     */	ABSENT_STRING,
   1110 	/* 359: setaf    */	ABSENT_STRING,
   1111 	/* 360: setab    */	ABSENT_STRING,
   1112 	/* 361: pfxl     */	ABSENT_STRING,
   1113 	/* 362: devt     */	ABSENT_STRING,
   1114 	/* 363: csin     */	ABSENT_STRING,
   1115 	/* 364: s0ds     */	ABSENT_STRING,
   1116 	/* 365: s1ds     */	ABSENT_STRING,
   1117 	/* 366: s2ds     */	ABSENT_STRING,
   1118 	/* 367: s3ds     */	ABSENT_STRING,
   1119 	/* 368: smglr    */	ABSENT_STRING,
   1120 	/* 369: smgtb    */	ABSENT_STRING,
   1121 	/* 370: birep    */	ABSENT_STRING,
   1122 	/* 371: binel    */	ABSENT_STRING,
   1123 	/* 372: bicr     */	ABSENT_STRING,
   1124 	/* 373: colornm  */	ABSENT_STRING,
   1125 	/* 374: defbi    */	ABSENT_STRING,
   1126 	/* 375: endbi    */	ABSENT_STRING,
   1127 	/* 376: setcolor */	ABSENT_STRING,
   1128 	/* 377: slines   */	ABSENT_STRING,
   1129 	/* 378: dispc    */	ABSENT_STRING,
   1130 	/* 379: smpch    */	ABSENT_STRING,
   1131 	/* 380: rmpch    */	ABSENT_STRING,
   1132 	/* 381: smsc     */	ABSENT_STRING,
   1133 	/* 382: rmsc     */	ABSENT_STRING,
   1134 	/* 383: pctrm    */	ABSENT_STRING,
   1135 	/* 384: scesc    */	ABSENT_STRING,
   1136 	/* 385: scesa    */	ABSENT_STRING,
   1137 	/* 386: ehhlm    */	ABSENT_STRING,
   1138 	/* 387: elhlm    */	ABSENT_STRING,
   1139 	/* 388: elohlm   */	ABSENT_STRING,
   1140 	/* 389: erhlm    */	ABSENT_STRING,
   1141 	/* 390: ethlm    */	ABSENT_STRING,
   1142 	/* 391: evhlm    */	ABSENT_STRING,
   1143 	/* 392: sgr1     */	ABSENT_STRING,
   1144 	/* 393: slength  */	ABSENT_STRING,
   1145 	/* 394: OTi2     */	ABSENT_STRING,
   1146 	/* 395: OTrs     */	vt100_s_OTrs,
   1147 	/* 396: OTnl     */	ABSENT_STRING,
   1148 	/* 397: OTbc     */	ABSENT_STRING,
   1149 	/* 398: OTko     */	ABSENT_STRING,
   1150 	/* 399: OTma     */	ABSENT_STRING,
   1151 	/* 400: OTG2     */	ABSENT_STRING,
   1152 	/* 401: OTG3     */	ABSENT_STRING,
   1153 	/* 402: OTG1     */	ABSENT_STRING,
   1154 	/* 403: OTG4     */	ABSENT_STRING,
   1155 	/* 404: OTGR     */	ABSENT_STRING,
   1156 	/* 405: OTGL     */	ABSENT_STRING,
   1157 	/* 406: OTGU     */	ABSENT_STRING,
   1158 	/* 407: OTGD     */	ABSENT_STRING,
   1159 	/* 408: OTGH     */	ABSENT_STRING,
   1160 	/* 409: OTGV     */	ABSENT_STRING,
   1161 	/* 410: OTGC     */	ABSENT_STRING,
   1162 	/* 411: meml     */	ABSENT_STRING,
   1163 	/* 412: memu     */	ABSENT_STRING,
   1164 	/* 413: box1     */	ABSENT_STRING,
   1165 };
   1166 /* xterm */
   1167 
   1168 static char xterm_alias_data[] = "xterm|xterm terminal emulator (X Window System)";
   1169 
   1170 static char xterm_s_cbt         [] = "\033[Z";
   1171 static char xterm_s_bel         [] = "\007";
   1172 static char xterm_s_cr          [] = "\015";
   1173 static char xterm_s_csr         [] = "\033[%i%p1%d;%p2%dr";
   1174 static char xterm_s_tbc         [] = "\033[3g";
   1175 static char xterm_s_clear       [] = "\033[H\033[2J";
   1176 static char xterm_s_el          [] = "\033[K";
   1177 static char xterm_s_ed          [] = "\033[J";
   1178 static char xterm_s_cup         [] = "\033[%i%p1%d;%p2%dH";
   1179 static char xterm_s_cud1        [] = "\012";
   1180 static char xterm_s_home        [] = "\033[H";
   1181 static char xterm_s_civis       [] = "\033[?25l";
   1182 static char xterm_s_cub1        [] = "\010";
   1183 static char xterm_s_cnorm       [] = "\033[?12l\033[?25h";
   1184 static char xterm_s_cuf1        [] = "\033[C";
   1185 static char xterm_s_cuu1        [] = "\033[A";
   1186 static char xterm_s_cvvis       [] = "\033[?12;25h";
   1187 static char xterm_s_dch1        [] = "\033[P";
   1188 static char xterm_s_dl1         [] = "\033[M";
   1189 static char xterm_s_smacs       [] = "\033(0";
   1190 static char xterm_s_blink       [] = "\033[5m";
   1191 static char xterm_s_bold        [] = "\033[1m";
   1192 static char xterm_s_smcup       [] = "\033[?1049h";
   1193 static char xterm_s_smir        [] = "\033[4h";
   1194 static char xterm_s_rev         [] = "\033[7m";
   1195 static char xterm_s_smso        [] = "\033[7m";
   1196 static char xterm_s_smul        [] = "\033[4m";
   1197 static char xterm_s_ech         [] = "\033[%p1%dX";
   1198 static char xterm_s_rmacs       [] = "\033(B";
   1199 static char xterm_s_sgr0        [] = "\033[0m";
   1200 static char xterm_s_rmcup       [] = "\033[?1049l";
   1201 static char xterm_s_rmir        [] = "\033[4l";
   1202 static char xterm_s_rmso        [] = "\033[27m";
   1203 static char xterm_s_rmul        [] = "\033[24m";
   1204 static char xterm_s_flash       [] = "\033[?5h\033[?5l";
   1205 static char xterm_s_is2         [] = "\033[!p\033[?3;4l\033[4l\033>";
   1206 static char xterm_s_il1         [] = "\033[L";
   1207 static char xterm_s_kbs         [] = "\177";
   1208 static char xterm_s_kdch1       [] = "\033[3~";
   1209 static char xterm_s_kcud1       [] = "\033OB";
   1210 static char xterm_s_kf1         [] = "\033OP";
   1211 static char xterm_s_kf2         [] = "\033OQ";
   1212 static char xterm_s_kf3         [] = "\033OR";
   1213 static char xterm_s_kf4         [] = "\033OS";
   1214 static char xterm_s_kf5         [] = "\033[15~";
   1215 static char xterm_s_kf6         [] = "\033[17~";
   1216 static char xterm_s_kf7         [] = "\033[18~";
   1217 static char xterm_s_kf8         [] = "\033[19~";
   1218 static char xterm_s_kf9         [] = "\033[20~";
   1219 static char xterm_s_khome       [] = "\033OH";
   1220 static char xterm_s_kich1       [] = "\033[2~";
   1221 static char xterm_s_kcub1       [] = "\033OD";
   1222 static char xterm_s_knp         [] = "\033[6~";
   1223 static char xterm_s_kpp         [] = "\033[5~";
   1224 static char xterm_s_kcuf1       [] = "\033OC";
   1225 static char xterm_s_kcuu1       [] = "\033OA";
   1226 static char xterm_s_rmkx        [] = "\033[?1l\033>";
   1227 static char xterm_s_smkx        [] = "\033[?1h\033=";
   1228 static char xterm_s_rmm         [] = "\033[?1034l";
   1229 static char xterm_s_smm         [] = "\033[?1034h";
   1230 static char xterm_s_nel         [] = "\015\012";
   1231 static char xterm_s_dch         [] = "\033[%p1%dP";
   1232 static char xterm_s_dl          [] = "\033[%p1%dM";
   1233 static char xterm_s_cud         [] = "\033[%p1%dB";
   1234 static char xterm_s_ich         [] = "\033[%p1%d@";
   1235 static char xterm_s_indn        [] = "\033[%p1%dS";
   1236 static char xterm_s_il          [] = "\033[%p1%dL";
   1237 static char xterm_s_cub         [] = "\033[%p1%dD";
   1238 static char xterm_s_cuf         [] = "\033[%p1%dC";
   1239 static char xterm_s_rin         [] = "\033[%p1%dT";
   1240 static char xterm_s_cuu         [] = "\033[%p1%dA";
   1241 static char xterm_s_rc          [] = "\0338";
   1242 static char xterm_s_sc          [] = "\0337";
   1243 static char xterm_s_ind         [] = "\012";
   1244 static char xterm_s_ri          [] = "\033M";
   1245 static char xterm_s_hts         [] = "\033H";
   1246 static char xterm_s_ht          [] = "\011";
   1247 static char xterm_s_kb2         [] = "\033OE";
   1248 static char xterm_s_acsc        [] = "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~";
   1249 
   1250 static char xterm_bool_data[] = {
   1251 	/*   0: bw       */	FALSE,
   1252 	/*   1: am       */	TRUE,
   1253 	/*   2: xsb      */	FALSE,
   1254 	/*   3: xhp      */	FALSE,
   1255 	/*   4: xenl     */	TRUE,
   1256 	/*   5: eo       */	FALSE,
   1257 	/*   6: gn       */	FALSE,
   1258 	/*   7: hc       */	FALSE,
   1259 	/*   8: km       */	TRUE,
   1260 	/*   9: hs       */	FALSE,
   1261 	/*  10: in       */	FALSE,
   1262 	/*  11: da       */	FALSE,
   1263 	/*  12: db       */	FALSE,
   1264 	/*  13: mir      */	TRUE,
   1265 	/*  14: msgr     */	TRUE,
   1266 	/*  15: os       */	FALSE,
   1267 	/*  16: eslok    */	FALSE,
   1268 	/*  17: xt       */	FALSE,
   1269 	/*  18: hz       */	FALSE,
   1270 	/*  19: ul       */	FALSE,
   1271 	/*  20: xon      */	FALSE,
   1272 	/*  21: nxon     */	FALSE,
   1273 	/*  22: mc5i     */	FALSE,
   1274 	/*  23: chts     */	FALSE,
   1275 	/*  24: nrrmc    */	FALSE,
   1276 	/*  25: npc      */	FALSE,
   1277 	/*  26: ndscr    */	FALSE,
   1278 	/*  27: ccc      */	FALSE,
   1279 	/*  28: bce      */	FALSE,
   1280 	/*  29: hls      */	FALSE,
   1281 	/*  30: xhpa     */	FALSE,
   1282 	/*  31: crxm     */	FALSE,
   1283 	/*  32: daisy    */	FALSE,
   1284 	/*  33: xvpa     */	FALSE,
   1285 	/*  34: sam      */	FALSE,
   1286 	/*  35: cpix     */	FALSE,
   1287 	/*  36: lpix     */	FALSE,
   1288 	/*  37: OTbs     */	TRUE,
   1289 	/*  38: OTns     */	FALSE,
   1290 	/*  39: OTnc     */	FALSE,
   1291 	/*  40: OTMT     */	FALSE,
   1292 	/*  41: OTNL     */	FALSE,
   1293 	/*  42: OTpt     */	FALSE,
   1294 	/*  43: OTxr     */	FALSE,
   1295 };
   1296 static short xterm_number_data[] = {
   1297 	/*   0: cols     */	80,
   1298 	/*   1: it       */	8,
   1299 	/*   2: lines    */	24,
   1300 	/*   3: lm       */	ABSENT_NUMERIC,
   1301 	/*   4: xmc      */	ABSENT_NUMERIC,
   1302 	/*   5: pb       */	ABSENT_NUMERIC,
   1303 	/*   6: vt       */	ABSENT_NUMERIC,
   1304 	/*   7: wsl      */	ABSENT_NUMERIC,
   1305 	/*   8: nlab     */	ABSENT_NUMERIC,
   1306 	/*   9: lh       */	ABSENT_NUMERIC,
   1307 	/*  10: lw       */	ABSENT_NUMERIC,
   1308 	/*  11: ma       */	ABSENT_NUMERIC,
   1309 	/*  12: wnum     */	ABSENT_NUMERIC,
   1310 	/*  13: colors   */	ABSENT_NUMERIC,
   1311 	/*  14: pairs    */	ABSENT_NUMERIC,
   1312 	/*  15: ncv      */	ABSENT_NUMERIC,
   1313 	/*  16: bufsz    */	ABSENT_NUMERIC,
   1314 	/*  17: spinv    */	ABSENT_NUMERIC,
   1315 	/*  18: spinh    */	ABSENT_NUMERIC,
   1316 	/*  19: maddr    */	ABSENT_NUMERIC,
   1317 	/*  20: mjump    */	ABSENT_NUMERIC,
   1318 	/*  21: mcs      */	ABSENT_NUMERIC,
   1319 	/*  22: mls      */	ABSENT_NUMERIC,
   1320 	/*  23: npins    */	ABSENT_NUMERIC,
   1321 	/*  24: orc      */	ABSENT_NUMERIC,
   1322 	/*  25: orl      */	ABSENT_NUMERIC,
   1323 	/*  26: orhi     */	ABSENT_NUMERIC,
   1324 	/*  27: orvi     */	ABSENT_NUMERIC,
   1325 	/*  28: cps      */	ABSENT_NUMERIC,
   1326 	/*  29: widcs    */	ABSENT_NUMERIC,
   1327 	/*  30: btns     */	ABSENT_NUMERIC,
   1328 	/*  31: bitwin   */	ABSENT_NUMERIC,
   1329 	/*  32: bitype   */	ABSENT_NUMERIC,
   1330 	/*  33: OTug     */	ABSENT_NUMERIC,
   1331 	/*  34: OTdC     */	ABSENT_NUMERIC,
   1332 	/*  35: OTdN     */	ABSENT_NUMERIC,
   1333 	/*  36: OTdB     */	ABSENT_NUMERIC,
   1334 	/*  37: OTdT     */	ABSENT_NUMERIC,
   1335 	/*  38: OTkn     */	ABSENT_NUMERIC,
   1336 };
   1337 static char * xterm_string_data[] = {
   1338 	/*   0: cbt      */	xterm_s_cbt,
   1339 	/*   1: bel      */	xterm_s_bel,
   1340 	/*   2: cr       */	xterm_s_cr,
   1341 	/*   3: csr      */	xterm_s_csr,
   1342 	/*   4: tbc      */	xterm_s_tbc,
   1343 	/*   5: clear    */	xterm_s_clear,
   1344 	/*   6: el       */	xterm_s_el,
   1345 	/*   7: ed       */	xterm_s_ed,
   1346 	/*   8: hpa      */	ABSENT_STRING,
   1347 	/*   9: cmdch    */	ABSENT_STRING,
   1348 	/*  10: cup      */	xterm_s_cup,
   1349 	/*  11: cud1     */	xterm_s_cud1,
   1350 	/*  12: home     */	xterm_s_home,
   1351 	/*  13: civis    */	xterm_s_civis,
   1352 	/*  14: cub1     */	xterm_s_cub1,
   1353 	/*  15: mrcup    */	ABSENT_STRING,
   1354 	/*  16: cnorm    */	xterm_s_cnorm,
   1355 	/*  17: cuf1     */	xterm_s_cuf1,
   1356 	/*  18: ll       */	ABSENT_STRING,
   1357 	/*  19: cuu1     */	xterm_s_cuu1,
   1358 	/*  20: cvvis    */	xterm_s_cvvis,
   1359 	/*  21: dch1     */	xterm_s_dch1,
   1360 	/*  22: dl1      */	xterm_s_dl1,
   1361 	/*  23: dsl      */	ABSENT_STRING,
   1362 	/*  24: hd       */	ABSENT_STRING,
   1363 	/*  25: smacs    */	xterm_s_smacs,
   1364 	/*  26: blink    */	xterm_s_blink,
   1365 	/*  27: bold     */	xterm_s_bold,
   1366 	/*  28: smcup    */	xterm_s_smcup,
   1367 	/*  29: smdc     */	ABSENT_STRING,
   1368 	/*  30: dim      */	ABSENT_STRING,
   1369 	/*  31: smir     */	xterm_s_smir,
   1370 	/*  32: invis    */	ABSENT_STRING,
   1371 	/*  33: prot     */	ABSENT_STRING,
   1372 	/*  34: rev      */	xterm_s_rev,
   1373 	/*  35: smso     */	xterm_s_smso,
   1374 	/*  36: smul     */	xterm_s_smul,
   1375 	/*  37: ech      */	xterm_s_ech,
   1376 	/*  38: rmacs    */	xterm_s_rmacs,
   1377 	/*  39: sgr0     */	xterm_s_sgr0,
   1378 	/*  40: rmcup    */	xterm_s_rmcup,
   1379 	/*  41: rmdc     */	ABSENT_STRING,
   1380 	/*  42: rmir     */	xterm_s_rmir,
   1381 	/*  43: rmso     */	xterm_s_rmso,
   1382 	/*  44: rmul     */	xterm_s_rmul,
   1383 	/*  45: flash    */	xterm_s_flash,
   1384 	/*  46: ff       */	ABSENT_STRING,
   1385 	/*  47: fsl      */	ABSENT_STRING,
   1386 	/*  48: is1      */	ABSENT_STRING,
   1387 	/*  49: is2      */	xterm_s_is2,
   1388 	/*  50: is3      */	ABSENT_STRING,
   1389 	/*  51: if       */	ABSENT_STRING,
   1390 	/*  52: ich1     */	ABSENT_STRING,
   1391 	/*  53: il1      */	xterm_s_il1,
   1392 	/*  54: ip       */	ABSENT_STRING,
   1393 	/*  55: kbs      */	xterm_s_kbs,
   1394 	/*  56: ktbc     */	ABSENT_STRING,
   1395 	/*  57: kclr     */	ABSENT_STRING,
   1396 	/*  58: kctab    */	ABSENT_STRING,
   1397 	/*  59: kdch1    */	xterm_s_kdch1,
   1398 	/*  60: kdl1     */	ABSENT_STRING,
   1399 	/*  61: kcud1    */	xterm_s_kcud1,
   1400 	/*  62: krmir    */	ABSENT_STRING,
   1401 	/*  63: kel      */	ABSENT_STRING,
   1402 	/*  64: ked      */	ABSENT_STRING,
   1403 	/*  65: kf0      */	ABSENT_STRING,
   1404 	/*  66: kf1      */	xterm_s_kf1,
   1405 	/*  67: kf10     */	ABSENT_STRING,
   1406 	/*  68: kf2      */	xterm_s_kf2,
   1407 	/*  69: kf3      */	xterm_s_kf3,
   1408 	/*  70: kf4      */	xterm_s_kf4,
   1409 	/*  71: kf5      */	xterm_s_kf5,
   1410 	/*  72: kf6      */	xterm_s_kf6,
   1411 	/*  73: kf7      */	xterm_s_kf7,
   1412 	/*  74: kf8      */	xterm_s_kf8,
   1413 	/*  75: kf9      */	xterm_s_kf9,
   1414 	/*  76: khome    */	xterm_s_khome,
   1415 	/*  77: kich1    */	xterm_s_kich1,
   1416 	/*  78: kil1     */	ABSENT_STRING,
   1417 	/*  79: kcub1    */	xterm_s_kcub1,
   1418 	/*  80: kll      */	ABSENT_STRING,
   1419 	/*  81: knp      */	xterm_s_knp,
   1420 	/*  82: kpp      */	xterm_s_kpp,
   1421 	/*  83: kcuf1    */	xterm_s_kcuf1,
   1422 	/*  84: kind     */	ABSENT_STRING,
   1423 	/*  85: kri      */	ABSENT_STRING,
   1424 	/*  86: khts     */	ABSENT_STRING,
   1425 	/*  87: kcuu1    */	xterm_s_kcuu1,
   1426 	/*  88: rmkx     */	xterm_s_rmkx,
   1427 	/*  89: smkx     */	xterm_s_smkx,
   1428 	/*  90: lf0      */	ABSENT_STRING,
   1429 	/*  91: lf1      */	ABSENT_STRING,
   1430 	/*  92: lf10     */	ABSENT_STRING,
   1431 	/*  93: lf2      */	ABSENT_STRING,
   1432 	/*  94: lf3      */	ABSENT_STRING,
   1433 	/*  95: lf4      */	ABSENT_STRING,
   1434 	/*  96: lf5      */	ABSENT_STRING,
   1435 	/*  97: lf6      */	ABSENT_STRING,
   1436 	/*  98: lf7      */	ABSENT_STRING,
   1437 	/*  99: lf8      */	ABSENT_STRING,
   1438 	/* 100: lf9      */	ABSENT_STRING,
   1439 	/* 101: rmm      */	xterm_s_rmm,
   1440 	/* 102: smm      */	xterm_s_smm,
   1441 	/* 103: nel      */	xterm_s_nel,
   1442 	/* 104: pad      */	ABSENT_STRING,
   1443 	/* 105: dch      */	xterm_s_dch,
   1444 	/* 106: dl       */	xterm_s_dl,
   1445 	/* 107: cud      */	xterm_s_cud,
   1446 	/* 108: ich      */	xterm_s_ich,
   1447 	/* 109: indn     */	xterm_s_indn,
   1448 	/* 110: il       */	xterm_s_il,
   1449 	/* 111: cub      */	xterm_s_cub,
   1450 	/* 112: cuf      */	xterm_s_cuf,
   1451 	/* 113: rin      */	xterm_s_rin,
   1452 	/* 114: cuu      */	xterm_s_cuu,
   1453 	/* 115: pfkey    */	ABSENT_STRING,
   1454 	/* 116: pfloc    */	ABSENT_STRING,
   1455 	/* 117: pfx      */	ABSENT_STRING,
   1456 	/* 118: mc0      */	ABSENT_STRING,
   1457 	/* 119: mc4      */	ABSENT_STRING,
   1458 	/* 120: mc5      */	ABSENT_STRING,
   1459 	/* 121: rep      */	ABSENT_STRING,
   1460 	/* 122: rs1      */	ABSENT_STRING,
   1461 	/* 123: rs2      */	ABSENT_STRING,
   1462 	/* 124: rs3      */	ABSENT_STRING,
   1463 	/* 125: rf       */	ABSENT_STRING,
   1464 	/* 126: rc       */	xterm_s_rc,
   1465 	/* 127: vpa      */	ABSENT_STRING,
   1466 	/* 128: sc       */	xterm_s_sc,
   1467 	/* 129: ind      */	xterm_s_ind,
   1468 	/* 130: ri       */	xterm_s_ri,
   1469 	/* 131: sgr      */	ABSENT_STRING,
   1470 	/* 132: hts      */	xterm_s_hts,
   1471 	/* 133: wind     */	ABSENT_STRING,
   1472 	/* 134: ht       */	xterm_s_ht,
   1473 	/* 135: tsl      */	ABSENT_STRING,
   1474 	/* 136: uc       */	ABSENT_STRING,
   1475 	/* 137: hu       */	ABSENT_STRING,
   1476 	/* 138: iprog    */	ABSENT_STRING,
   1477 	/* 139: ka1      */	ABSENT_STRING,
   1478 	/* 140: ka3      */	ABSENT_STRING,
   1479 	/* 141: kb2      */	xterm_s_kb2,
   1480 	/* 142: kc1      */	ABSENT_STRING,
   1481 	/* 143: kc3      */	ABSENT_STRING,
   1482 	/* 144: mc5p     */	ABSENT_STRING,
   1483 	/* 145: rmp      */	ABSENT_STRING,
   1484 	/* 146: acsc     */	xterm_s_acsc,
   1485 	/* 147: pln      */	ABSENT_STRING,
   1486 	/* 148: kcbt     */	ABSENT_STRING,
   1487 	/* 149: smxon    */	ABSENT_STRING,
   1488 	/* 150: rmxon    */	ABSENT_STRING,
   1489 	/* 151: smam     */	ABSENT_STRING,
   1490 	/* 152: rmam     */	ABSENT_STRING,
   1491 	/* 153: xonc     */	ABSENT_STRING,
   1492 	/* 154: xoffc    */	ABSENT_STRING,
   1493 	/* 155: enacs    */	ABSENT_STRING,
   1494 	/* 156: smln     */	ABSENT_STRING,
   1495 	/* 157: rmln     */	ABSENT_STRING,
   1496 	/* 158: kbeg     */	ABSENT_STRING,
   1497 	/* 159: kcan     */	ABSENT_STRING,
   1498 	/* 160: kclo     */	ABSENT_STRING,
   1499 	/* 161: kcmd     */	ABSENT_STRING,
   1500 	/* 162: kcpy     */	ABSENT_STRING,
   1501 	/* 163: kcrt     */	ABSENT_STRING,
   1502 	/* 164: kend     */	ABSENT_STRING,
   1503 	/* 165: kent     */	ABSENT_STRING,
   1504 	/* 166: kext     */	ABSENT_STRING,
   1505 	/* 167: kfnd     */	ABSENT_STRING,
   1506 	/* 168: khlp     */	ABSENT_STRING,
   1507 	/* 169: kmrk     */	ABSENT_STRING,
   1508 	/* 170: kmsg     */	ABSENT_STRING,
   1509 	/* 171: kmov     */	ABSENT_STRING,
   1510 	/* 172: knxt     */	ABSENT_STRING,
   1511 	/* 173: kopn     */	ABSENT_STRING,
   1512 	/* 174: kopt     */	ABSENT_STRING,
   1513 	/* 175: kprv     */	ABSENT_STRING,
   1514 	/* 176: kprt     */	ABSENT_STRING,
   1515 	/* 177: krdo     */	ABSENT_STRING,
   1516 	/* 178: kref     */	ABSENT_STRING,
   1517 	/* 179: krfr     */	ABSENT_STRING,
   1518 	/* 180: krpl     */	ABSENT_STRING,
   1519 	/* 181: krst     */	ABSENT_STRING,
   1520 	/* 182: kres     */	ABSENT_STRING,
   1521 	/* 183: ksav     */	ABSENT_STRING,
   1522 	/* 184: kspd     */	ABSENT_STRING,
   1523 	/* 185: kund     */	ABSENT_STRING,
   1524 	/* 186: kBEG     */	ABSENT_STRING,
   1525 	/* 187: kCAN     */	ABSENT_STRING,
   1526 	/* 188: kCMD     */	ABSENT_STRING,
   1527 	/* 189: kCPY     */	ABSENT_STRING,
   1528 	/* 190: kCRT     */	ABSENT_STRING,
   1529 	/* 191: kDC      */	ABSENT_STRING,
   1530 	/* 192: kDL      */	ABSENT_STRING,
   1531 	/* 193: kslt     */	ABSENT_STRING,
   1532 	/* 194: kEND     */	ABSENT_STRING,
   1533 	/* 195: kEOL     */	ABSENT_STRING,
   1534 	/* 196: kEXT     */	ABSENT_STRING,
   1535 	/* 197: kFND     */	ABSENT_STRING,
   1536 	/* 198: kHLP     */	ABSENT_STRING,
   1537 	/* 199: kHOM     */	ABSENT_STRING,
   1538 	/* 200: kIC      */	ABSENT_STRING,
   1539 	/* 201: kLFT     */	ABSENT_STRING,
   1540 	/* 202: kMSG     */	ABSENT_STRING,
   1541 	/* 203: kMOV     */	ABSENT_STRING,
   1542 	/* 204: kNXT     */	ABSENT_STRING,
   1543 	/* 205: kOPT     */	ABSENT_STRING,
   1544 	/* 206: kPRV     */	ABSENT_STRING,
   1545 	/* 207: kPRT     */	ABSENT_STRING,
   1546 	/* 208: kRDO     */	ABSENT_STRING,
   1547 	/* 209: kRPL     */	ABSENT_STRING,
   1548 	/* 210: kRIT     */	ABSENT_STRING,
   1549 	/* 211: kRES     */	ABSENT_STRING,
   1550 	/* 212: kSAV     */	ABSENT_STRING,
   1551 	/* 213: kSPD     */	ABSENT_STRING,
   1552 	/* 214: kUND     */	ABSENT_STRING,
   1553 	/* 215: rfi      */	ABSENT_STRING,
   1554 	/* 216: kf11     */	ABSENT_STRING,
   1555 	/* 217: kf12     */	ABSENT_STRING,
   1556 	/* 218: kf13     */	ABSENT_STRING,
   1557 	/* 219: kf14     */	ABSENT_STRING,
   1558 	/* 220: kf15     */	ABSENT_STRING,
   1559 	/* 221: kf16     */	ABSENT_STRING,
   1560 	/* 222: kf17     */	ABSENT_STRING,
   1561 	/* 223: kf18     */	ABSENT_STRING,
   1562 	/* 224: kf19     */	ABSENT_STRING,
   1563 	/* 225: kf20     */	ABSENT_STRING,
   1564 	/* 226: kf21     */	ABSENT_STRING,
   1565 	/* 227: kf22     */	ABSENT_STRING,
   1566 	/* 228: kf23     */	ABSENT_STRING,
   1567 	/* 229: kf24     */	ABSENT_STRING,
   1568 	/* 230: kf25     */	ABSENT_STRING,
   1569 	/* 231: kf26     */	ABSENT_STRING,
   1570 	/* 232: kf27     */	ABSENT_STRING,
   1571 	/* 233: kf28     */	ABSENT_STRING,
   1572 	/* 234: kf29     */	ABSENT_STRING,
   1573 	/* 235: kf30     */	ABSENT_STRING,
   1574 	/* 236: kf31     */	ABSENT_STRING,
   1575 	/* 237: kf32     */	ABSENT_STRING,
   1576 	/* 238: kf33     */	ABSENT_STRING,
   1577 	/* 239: kf34     */	ABSENT_STRING,
   1578 	/* 240: kf35     */	ABSENT_STRING,
   1579 	/* 241: kf36     */	ABSENT_STRING,
   1580 	/* 242: kf37     */	ABSENT_STRING,
   1581 	/* 243: kf38     */	ABSENT_STRING,
   1582 	/* 244: kf39     */	ABSENT_STRING,
   1583 	/* 245: kf40     */	ABSENT_STRING,
   1584 	/* 246: kf41     */	ABSENT_STRING,
   1585 	/* 247: kf42     */	ABSENT_STRING,
   1586 	/* 248: kf43     */	ABSENT_STRING,
   1587 	/* 249: kf44     */	ABSENT_STRING,
   1588 	/* 250: kf45     */	ABSENT_STRING,
   1589 	/* 251: kf46     */	ABSENT_STRING,
   1590 	/* 252: kf47     */	ABSENT_STRING,
   1591 	/* 253: kf48     */	ABSENT_STRING,
   1592 	/* 254: kf49     */	ABSENT_STRING,
   1593 	/* 255: kf50     */	ABSENT_STRING,
   1594 	/* 256: kf51     */	ABSENT_STRING,
   1595 	/* 257: kf52     */	ABSENT_STRING,
   1596 	/* 258: kf53     */	ABSENT_STRING,
   1597 	/* 259: kf54     */	ABSENT_STRING,
   1598 	/* 260: kf55     */	ABSENT_STRING,
   1599 	/* 261: kf56     */	ABSENT_STRING,
   1600 	/* 262: kf57     */	ABSENT_STRING,
   1601 	/* 263: kf58     */	ABSENT_STRING,
   1602 	/* 264: kf59     */	ABSENT_STRING,
   1603 	/* 265: kf60     */	ABSENT_STRING,
   1604 	/* 266: kf61     */	ABSENT_STRING,
   1605 	/* 267: kf62     */	ABSENT_STRING,
   1606 	/* 268: kf63     */	ABSENT_STRING,
   1607 	/* 269: el1      */	ABSENT_STRING,
   1608 	/* 270: mgc      */	ABSENT_STRING,
   1609 	/* 271: smgl     */	ABSENT_STRING,
   1610 	/* 272: smgr     */	ABSENT_STRING,
   1611 	/* 273: fln      */	ABSENT_STRING,
   1612 	/* 274: sclk     */	ABSENT_STRING,
   1613 	/* 275: dclk     */	ABSENT_STRING,
   1614 	/* 276: rmclk    */	ABSENT_STRING,
   1615 	/* 277: cwin     */	ABSENT_STRING,
   1616 	/* 278: wingo    */	ABSENT_STRING,
   1617 	/* 279: hup      */	ABSENT_STRING,
   1618 	/* 280: dial     */	ABSENT_STRING,
   1619 	/* 281: qdial    */	ABSENT_STRING,
   1620 	/* 282: tone     */	ABSENT_STRING,
   1621 	/* 283: pulse    */	ABSENT_STRING,
   1622 	/* 284: hook     */	ABSENT_STRING,
   1623 	/* 285: pause    */	ABSENT_STRING,
   1624 	/* 286: wait     */	ABSENT_STRING,
   1625 	/* 287: u0       */	ABSENT_STRING,
   1626 	/* 288: u1       */	ABSENT_STRING,
   1627 	/* 289: u2       */	ABSENT_STRING,
   1628 	/* 290: u3       */	ABSENT_STRING,
   1629 	/* 291: u4       */	ABSENT_STRING,
   1630 	/* 292: u5       */	ABSENT_STRING,
   1631 	/* 293: u6       */	ABSENT_STRING,
   1632 	/* 294: u7       */	ABSENT_STRING,
   1633 	/* 295: u8       */	ABSENT_STRING,
   1634 	/* 296: u9       */	ABSENT_STRING,
   1635 	/* 297: op       */	ABSENT_STRING,
   1636 	/* 298: oc       */	ABSENT_STRING,
   1637 	/* 299: initc    */	ABSENT_STRING,
   1638 	/* 300: initp    */	ABSENT_STRING,
   1639 	/* 301: scp      */	ABSENT_STRING,
   1640 	/* 302: setf     */	ABSENT_STRING,
   1641 	/* 303: setb     */	ABSENT_STRING,
   1642 	/* 304: cpi      */	ABSENT_STRING,
   1643 	/* 305: lpi      */	ABSENT_STRING,
   1644 	/* 306: chr      */	ABSENT_STRING,
   1645 	/* 307: cvr      */	ABSENT_STRING,
   1646 	/* 308: defc     */	ABSENT_STRING,
   1647 	/* 309: swidm    */	ABSENT_STRING,
   1648 	/* 310: sdrfq    */	ABSENT_STRING,
   1649 	/* 311: sitm     */	ABSENT_STRING,
   1650 	/* 312: slm      */	ABSENT_STRING,
   1651 	/* 313: smicm    */	ABSENT_STRING,
   1652 	/* 314: snlq     */	ABSENT_STRING,
   1653 	/* 315: snrmq    */	ABSENT_STRING,
   1654 	/* 316: sshm     */	ABSENT_STRING,
   1655 	/* 317: ssubm    */	ABSENT_STRING,
   1656 	/* 318: ssupm    */	ABSENT_STRING,
   1657 	/* 319: sum      */	ABSENT_STRING,
   1658 	/* 320: rwidm    */	ABSENT_STRING,
   1659 	/* 321: ritm     */	ABSENT_STRING,
   1660 	/* 322: rlm      */	ABSENT_STRING,
   1661 	/* 323: rmicm    */	ABSENT_STRING,
   1662 	/* 324: rshm     */	ABSENT_STRING,
   1663 	/* 325: rsubm    */	ABSENT_STRING,
   1664 	/* 326: rsupm    */	ABSENT_STRING,
   1665 	/* 327: rum      */	ABSENT_STRING,
   1666 	/* 328: mhpa     */	ABSENT_STRING,
   1667 	/* 329: mcud1    */	ABSENT_STRING,
   1668 	/* 330: mcub1    */	ABSENT_STRING,
   1669 	/* 331: mcuf1    */	ABSENT_STRING,
   1670 	/* 332: mvpa     */	ABSENT_STRING,
   1671 	/* 333: mcuu1    */	ABSENT_STRING,
   1672 	/* 334: porder   */	ABSENT_STRING,
   1673 	/* 335: mcud     */	ABSENT_STRING,
   1674 	/* 336: mcub     */	ABSENT_STRING,
   1675 	/* 337: mcuf     */	ABSENT_STRING,
   1676 	/* 338: mcuu     */	ABSENT_STRING,
   1677 	/* 339: scs      */	ABSENT_STRING,
   1678 	/* 340: smgb     */	ABSENT_STRING,
   1679 	/* 341: smgbp    */	ABSENT_STRING,
   1680 	/* 342: smglp    */	ABSENT_STRING,
   1681 	/* 343: smgrp    */	ABSENT_STRING,
   1682 	/* 344: smgt     */	ABSENT_STRING,
   1683 	/* 345: smgtp    */	ABSENT_STRING,
   1684 	/* 346: sbim     */	ABSENT_STRING,
   1685 	/* 347: scsd     */	ABSENT_STRING,
   1686 	/* 348: rbim     */	ABSENT_STRING,
   1687 	/* 349: rcsd     */	ABSENT_STRING,
   1688 	/* 350: subcs    */	ABSENT_STRING,
   1689 	/* 351: supcs    */	ABSENT_STRING,
   1690 	/* 352: docr     */	ABSENT_STRING,
   1691 	/* 353: zerom    */	ABSENT_STRING,
   1692 	/* 354: csnm     */	ABSENT_STRING,
   1693 	/* 355: kmous    */	ABSENT_STRING,
   1694 	/* 356: minfo    */	ABSENT_STRING,
   1695 	/* 357: reqmp    */	ABSENT_STRING,
   1696 	/* 358: getm     */	ABSENT_STRING,
   1697 	/* 359: setaf    */	ABSENT_STRING,
   1698 	/* 360: setab    */	ABSENT_STRING,
   1699 	/* 361: pfxl     */	ABSENT_STRING,
   1700 	/* 362: devt     */	ABSENT_STRING,
   1701 	/* 363: csin     */	ABSENT_STRING,
   1702 	/* 364: s0ds     */	ABSENT_STRING,
   1703 	/* 365: s1ds     */	ABSENT_STRING,
   1704 	/* 366: s2ds     */	ABSENT_STRING,
   1705 	/* 367: s3ds     */	ABSENT_STRING,
   1706 	/* 368: smglr    */	ABSENT_STRING,
   1707 	/* 369: smgtb    */	ABSENT_STRING,
   1708 	/* 370: birep    */	ABSENT_STRING,
   1709 	/* 371: binel    */	ABSENT_STRING,
   1710 	/* 372: bicr     */	ABSENT_STRING,
   1711 	/* 373: colornm  */	ABSENT_STRING,
   1712 	/* 374: defbi    */	ABSENT_STRING,
   1713 	/* 375: endbi    */	ABSENT_STRING,
   1714 	/* 376: setcolor */	ABSENT_STRING,
   1715 	/* 377: slines   */	ABSENT_STRING,
   1716 	/* 378: dispc    */	ABSENT_STRING,
   1717 	/* 379: smpch    */	ABSENT_STRING,
   1718 	/* 380: rmpch    */	ABSENT_STRING,
   1719 	/* 381: smsc     */	ABSENT_STRING,
   1720 	/* 382: rmsc     */	ABSENT_STRING,
   1721 	/* 383: pctrm    */	ABSENT_STRING,
   1722 	/* 384: scesc    */	ABSENT_STRING,
   1723 	/* 385: scesa    */	ABSENT_STRING,
   1724 	/* 386: ehhlm    */	ABSENT_STRING,
   1725 	/* 387: elhlm    */	ABSENT_STRING,
   1726 	/* 388: elohlm   */	ABSENT_STRING,
   1727 	/* 389: erhlm    */	ABSENT_STRING,
   1728 	/* 390: ethlm    */	ABSENT_STRING,
   1729 	/* 391: evhlm    */	ABSENT_STRING,
   1730 	/* 392: sgr1     */	ABSENT_STRING,
   1731 	/* 393: slength  */	ABSENT_STRING,
   1732 	/* 394: OTi2     */	ABSENT_STRING,
   1733 	/* 395: OTrs     */	ABSENT_STRING,
   1734 	/* 396: OTnl     */	ABSENT_STRING,
   1735 	/* 397: OTbc     */	ABSENT_STRING,
   1736 	/* 398: OTko     */	ABSENT_STRING,
   1737 	/* 399: OTma     */	ABSENT_STRING,
   1738 	/* 400: OTG2     */	ABSENT_STRING,
   1739 	/* 401: OTG3     */	ABSENT_STRING,
   1740 	/* 402: OTG1     */	ABSENT_STRING,
   1741 	/* 403: OTG4     */	ABSENT_STRING,
   1742 	/* 404: OTGR     */	ABSENT_STRING,
   1743 	/* 405: OTGL     */	ABSENT_STRING,
   1744 	/* 406: OTGU     */	ABSENT_STRING,
   1745 	/* 407: OTGD     */	ABSENT_STRING,
   1746 	/* 408: OTGH     */	ABSENT_STRING,
   1747 	/* 409: OTGV     */	ABSENT_STRING,
   1748 	/* 410: OTGC     */	ABSENT_STRING,
   1749 	/* 411: meml     */	ABSENT_STRING,
   1750 	/* 412: memu     */	ABSENT_STRING,
   1751 	/* 413: box1     */	ABSENT_STRING,
   1752 };
   1753 /* xterm-256color */
   1754 
   1755 static char xterm_256color_alias_data[] = "xterm-256color|xterm with 256 colors";
   1756 
   1757 static char xterm_256color_s_cbt[] = "\033[Z";
   1758 static char xterm_256color_s_bel[] = "\007";
   1759 static char xterm_256color_s_cr [] = "\015";
   1760 static char xterm_256color_s_csr[] = "\033[%i%p1%d;%p2%dr";
   1761 static char xterm_256color_s_tbc[] = "\033[3g";
   1762 static char xterm_256color_s_clear[] = "\033[H\033[2J";
   1763 static char xterm_256color_s_el [] = "\033[K";
   1764 static char xterm_256color_s_ed [] = "\033[J";
   1765 static char xterm_256color_s_cup[] = "\033[%i%p1%d;%p2%dH";
   1766 static char xterm_256color_s_cud1[] = "\012";
   1767 static char xterm_256color_s_home[] = "\033[H";
   1768 static char xterm_256color_s_civis[] = "\033[?25l";
   1769 static char xterm_256color_s_cub1[] = "\010";
   1770 static char xterm_256color_s_cnorm[] = "\033[?12l\033[?25h";
   1771 static char xterm_256color_s_cuf1[] = "\033[C";
   1772 static char xterm_256color_s_cuu1[] = "\033[A";
   1773 static char xterm_256color_s_cvvis[] = "\033[?12;25h";
   1774 static char xterm_256color_s_dch1[] = "\033[P";
   1775 static char xterm_256color_s_dl1[] = "\033[M";
   1776 static char xterm_256color_s_smacs[] = "\033(0";
   1777 static char xterm_256color_s_blink[] = "\033[5m";
   1778 static char xterm_256color_s_bold[] = "\033[1m";
   1779 static char xterm_256color_s_smcup[] = "\033[?1049h";
   1780 static char xterm_256color_s_smir[] = "\033[4h";
   1781 static char xterm_256color_s_rev[] = "\033[7m";
   1782 static char xterm_256color_s_smso[] = "\033[7m";
   1783 static char xterm_256color_s_smul[] = "\033[4m";
   1784 static char xterm_256color_s_ech[] = "\033[%p1%dX";
   1785 static char xterm_256color_s_rmacs[] = "\033(B";
   1786 static char xterm_256color_s_sgr0[] = "\033[0m";
   1787 static char xterm_256color_s_rmcup[] = "\033[?1049l";
   1788 static char xterm_256color_s_rmir[] = "\033[4l";
   1789 static char xterm_256color_s_rmso[] = "\033[27m";
   1790 static char xterm_256color_s_rmul[] = "\033[24m";
   1791 static char xterm_256color_s_flash[] = "\033[?5h\033[?5l";
   1792 static char xterm_256color_s_is2[] = "\033[!p\033[?3;4l\033[4l\033>";
   1793 static char xterm_256color_s_il1[] = "\033[L";
   1794 static char xterm_256color_s_kbs[] = "\010";
   1795 static char xterm_256color_s_kdch1[] = "\033[3~";
   1796 static char xterm_256color_s_kcud1[] = "\033OB";
   1797 static char xterm_256color_s_kf1[] = "\033OP";
   1798 static char xterm_256color_s_kf2[] = "\033OQ";
   1799 static char xterm_256color_s_kf3[] = "\033OR";
   1800 static char xterm_256color_s_kf4[] = "\033OS";
   1801 static char xterm_256color_s_kf5[] = "\033[15~";
   1802 static char xterm_256color_s_kf6[] = "\033[17~";
   1803 static char xterm_256color_s_kf7[] = "\033[18~";
   1804 static char xterm_256color_s_kf8[] = "\033[19~";
   1805 static char xterm_256color_s_kf9[] = "\033[20~";
   1806 static char xterm_256color_s_khome[] = "\033OH";
   1807 static char xterm_256color_s_kich1[] = "\033[2~";
   1808 static char xterm_256color_s_kcub1[] = "\033OD";
   1809 static char xterm_256color_s_knp[] = "\033[6~";
   1810 static char xterm_256color_s_kpp[] = "\033[5~";
   1811 static char xterm_256color_s_kcuf1[] = "\033OC";
   1812 static char xterm_256color_s_kcuu1[] = "\033OA";
   1813 static char xterm_256color_s_rmkx[] = "\033[?1l\033>";
   1814 static char xterm_256color_s_smkx[] = "\033[?1h\033=";
   1815 static char xterm_256color_s_rmm[] = "\033[?1034l";
   1816 static char xterm_256color_s_smm[] = "\033[?1034h";
   1817 static char xterm_256color_s_nel[] = "\015\012";
   1818 static char xterm_256color_s_dch[] = "\033[%p1%dP";
   1819 static char xterm_256color_s_dl [] = "\033[%p1%dM";
   1820 static char xterm_256color_s_cud[] = "\033[%p1%dB";
   1821 static char xterm_256color_s_ich[] = "\033[%p1%d@";
   1822 static char xterm_256color_s_indn[] = "\033[%p1%dS";
   1823 static char xterm_256color_s_il [] = "\033[%p1%dL";
   1824 static char xterm_256color_s_cub[] = "\033[%p1%dD";
   1825 static char xterm_256color_s_cuf[] = "\033[%p1%dC";
   1826 static char xterm_256color_s_rin[] = "\033[%p1%dT";
   1827 static char xterm_256color_s_cuu[] = "\033[%p1%dA";
   1828 static char xterm_256color_s_rc [] = "\0338";
   1829 static char xterm_256color_s_sc [] = "\0337";
   1830 static char xterm_256color_s_ind[] = "\012";
   1831 static char xterm_256color_s_ri [] = "\033M";
   1832 static char xterm_256color_s_hts[] = "\033H";
   1833 static char xterm_256color_s_ht [] = "\011";
   1834 static char xterm_256color_s_kb2[] = "\033OE";
   1835 static char xterm_256color_s_acsc[] = "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~";
   1836 
   1837 static char xterm_256color_bool_data[] = {
   1838 	/*   0: bw       */	FALSE,
   1839 	/*   1: am       */	TRUE,
   1840 	/*   2: xsb      */	FALSE,
   1841 	/*   3: xhp      */	FALSE,
   1842 	/*   4: xenl     */	TRUE,
   1843 	/*   5: eo       */	FALSE,
   1844 	/*   6: gn       */	FALSE,
   1845 	/*   7: hc       */	FALSE,
   1846 	/*   8: km       */	TRUE,
   1847 	/*   9: hs       */	FALSE,
   1848 	/*  10: in       */	FALSE,
   1849 	/*  11: da       */	FALSE,
   1850 	/*  12: db       */	FALSE,
   1851 	/*  13: mir      */	TRUE,
   1852 	/*  14: msgr     */	TRUE,
   1853 	/*  15: os       */	FALSE,
   1854 	/*  16: eslok    */	FALSE,
   1855 	/*  17: xt       */	FALSE,
   1856 	/*  18: hz       */	FALSE,
   1857 	/*  19: ul       */	FALSE,
   1858 	/*  20: xon      */	FALSE,
   1859 	/*  21: nxon     */	FALSE,
   1860 	/*  22: mc5i     */	FALSE,
   1861 	/*  23: chts     */	FALSE,
   1862 	/*  24: nrrmc    */	FALSE,
   1863 	/*  25: npc      */	FALSE,
   1864 	/*  26: ndscr    */	FALSE,
   1865 	/*  27: ccc      */	FALSE,
   1866 	/*  28: bce      */	FALSE,
   1867 	/*  29: hls      */	FALSE,
   1868 	/*  30: xhpa     */	FALSE,
   1869 	/*  31: crxm     */	FALSE,
   1870 	/*  32: daisy    */	FALSE,
   1871 	/*  33: xvpa     */	FALSE,
   1872 	/*  34: sam      */	FALSE,
   1873 	/*  35: cpix     */	FALSE,
   1874 	/*  36: lpix     */	FALSE,
   1875 	/*  37: OTbs     */	TRUE,
   1876 	/*  38: OTns     */	FALSE,
   1877 	/*  39: OTnc     */	FALSE,
   1878 	/*  40: OTMT     */	FALSE,
   1879 	/*  41: OTNL     */	FALSE,
   1880 	/*  42: OTpt     */	FALSE,
   1881 	/*  43: OTxr     */	FALSE,
   1882 };
   1883 static short xterm_256color_number_data[] = {
   1884 	/*   0: cols     */	80,
   1885 	/*   1: it       */	8,
   1886 	/*   2: lines    */	24,
   1887 	/*   3: lm       */	ABSENT_NUMERIC,
   1888 	/*   4: xmc      */	ABSENT_NUMERIC,
   1889 	/*   5: pb       */	ABSENT_NUMERIC,
   1890 	/*   6: vt       */	ABSENT_NUMERIC,
   1891 	/*   7: wsl      */	ABSENT_NUMERIC,
   1892 	/*   8: nlab     */	ABSENT_NUMERIC,
   1893 	/*   9: lh       */	ABSENT_NUMERIC,
   1894 	/*  10: lw       */	ABSENT_NUMERIC,
   1895 	/*  11: ma       */	ABSENT_NUMERIC,
   1896 	/*  12: wnum     */	ABSENT_NUMERIC,
   1897 	/*  13: colors   */	ABSENT_NUMERIC,
   1898 	/*  14: pairs    */	ABSENT_NUMERIC,
   1899 	/*  15: ncv      */	ABSENT_NUMERIC,
   1900 	/*  16: bufsz    */	ABSENT_NUMERIC,
   1901 	/*  17: spinv    */	ABSENT_NUMERIC,
   1902 	/*  18: spinh    */	ABSENT_NUMERIC,
   1903 	/*  19: maddr    */	ABSENT_NUMERIC,
   1904 	/*  20: mjump    */	ABSENT_NUMERIC,
   1905 	/*  21: mcs      */	ABSENT_NUMERIC,
   1906 	/*  22: mls      */	ABSENT_NUMERIC,
   1907 	/*  23: npins    */	ABSENT_NUMERIC,
   1908 	/*  24: orc      */	ABSENT_NUMERIC,
   1909 	/*  25: orl      */	ABSENT_NUMERIC,
   1910 	/*  26: orhi     */	ABSENT_NUMERIC,
   1911 	/*  27: orvi     */	ABSENT_NUMERIC,
   1912 	/*  28: cps      */	ABSENT_NUMERIC,
   1913 	/*  29: widcs    */	ABSENT_NUMERIC,
   1914 	/*  30: btns     */	ABSENT_NUMERIC,
   1915 	/*  31: bitwin   */	ABSENT_NUMERIC,
   1916 	/*  32: bitype   */	ABSENT_NUMERIC,
   1917 	/*  33: OTug     */	ABSENT_NUMERIC,
   1918 	/*  34: OTdC     */	ABSENT_NUMERIC,
   1919 	/*  35: OTdN     */	ABSENT_NUMERIC,
   1920 	/*  36: OTdB     */	ABSENT_NUMERIC,
   1921 	/*  37: OTdT     */	ABSENT_NUMERIC,
   1922 	/*  38: OTkn     */	ABSENT_NUMERIC,
   1923 };
   1924 static char * xterm_256color_string_data[] = {
   1925 	/*   0: cbt      */	xterm_256color_s_cbt,
   1926 	/*   1: bel      */	xterm_256color_s_bel,
   1927 	/*   2: cr       */	xterm_256color_s_cr,
   1928 	/*   3: csr      */	xterm_256color_s_csr,
   1929 	/*   4: tbc      */	xterm_256color_s_tbc,
   1930 	/*   5: clear    */	xterm_256color_s_clear,
   1931 	/*   6: el       */	xterm_256color_s_el,
   1932 	/*   7: ed       */	xterm_256color_s_ed,
   1933 	/*   8: hpa      */	ABSENT_STRING,
   1934 	/*   9: cmdch    */	ABSENT_STRING,
   1935 	/*  10: cup      */	xterm_256color_s_cup,
   1936 	/*  11: cud1     */	xterm_256color_s_cud1,
   1937 	/*  12: home     */	xterm_256color_s_home,
   1938 	/*  13: civis    */	xterm_256color_s_civis,
   1939 	/*  14: cub1     */	xterm_256color_s_cub1,
   1940 	/*  15: mrcup    */	ABSENT_STRING,
   1941 	/*  16: cnorm    */	xterm_256color_s_cnorm,
   1942 	/*  17: cuf1     */	xterm_256color_s_cuf1,
   1943 	/*  18: ll       */	ABSENT_STRING,
   1944 	/*  19: cuu1     */	xterm_256color_s_cuu1,
   1945 	/*  20: cvvis    */	xterm_256color_s_cvvis,
   1946 	/*  21: dch1     */	xterm_256color_s_dch1,
   1947 	/*  22: dl1      */	xterm_256color_s_dl1,
   1948 	/*  23: dsl      */	ABSENT_STRING,
   1949 	/*  24: hd       */	ABSENT_STRING,
   1950 	/*  25: smacs    */	xterm_256color_s_smacs,
   1951 	/*  26: blink    */	xterm_256color_s_blink,
   1952 	/*  27: bold     */	xterm_256color_s_bold,
   1953 	/*  28: smcup    */	xterm_256color_s_smcup,
   1954 	/*  29: smdc     */	ABSENT_STRING,
   1955 	/*  30: dim      */	ABSENT_STRING,
   1956 	/*  31: smir     */	xterm_256color_s_smir,
   1957 	/*  32: invis    */	ABSENT_STRING,
   1958 	/*  33: prot     */	ABSENT_STRING,
   1959 	/*  34: rev      */	xterm_256color_s_rev,
   1960 	/*  35: smso     */	xterm_256color_s_smso,
   1961 	/*  36: smul     */	xterm_256color_s_smul,
   1962 	/*  37: ech      */	xterm_256color_s_ech,
   1963 	/*  38: rmacs    */	xterm_256color_s_rmacs,
   1964 	/*  39: sgr0     */	xterm_256color_s_sgr0,
   1965 	/*  40: rmcup    */	xterm_256color_s_rmcup,
   1966 	/*  41: rmdc     */	ABSENT_STRING,
   1967 	/*  42: rmir     */	xterm_256color_s_rmir,
   1968 	/*  43: rmso     */	xterm_256color_s_rmso,
   1969 	/*  44: rmul     */	xterm_256color_s_rmul,
   1970 	/*  45: flash    */	xterm_256color_s_flash,
   1971 	/*  46: ff       */	ABSENT_STRING,
   1972 	/*  47: fsl      */	ABSENT_STRING,
   1973 	/*  48: is1      */	ABSENT_STRING,
   1974 	/*  49: is2      */	xterm_256color_s_is2,
   1975 	/*  50: is3      */	ABSENT_STRING,
   1976 	/*  51: if       */	ABSENT_STRING,
   1977 	/*  52: ich1     */	ABSENT_STRING,
   1978 	/*  53: il1      */	xterm_256color_s_il1,
   1979 	/*  54: ip       */	ABSENT_STRING,
   1980 	/*  55: kbs      */	xterm_256color_s_kbs,
   1981 	/*  56: ktbc     */	ABSENT_STRING,
   1982 	/*  57: kclr     */	ABSENT_STRING,
   1983 	/*  58: kctab    */	ABSENT_STRING,
   1984 	/*  59: kdch1    */	xterm_256color_s_kdch1,
   1985 	/*  60: kdl1     */	ABSENT_STRING,
   1986 	/*  61: kcud1    */	xterm_256color_s_kcud1,
   1987 	/*  62: krmir    */	ABSENT_STRING,
   1988 	/*  63: kel      */	ABSENT_STRING,
   1989 	/*  64: ked      */	ABSENT_STRING,
   1990 	/*  65: kf0      */	ABSENT_STRING,
   1991 	/*  66: kf1      */	xterm_256color_s_kf1,
   1992 	/*  67: kf10     */	ABSENT_STRING,
   1993 	/*  68: kf2      */	xterm_256color_s_kf2,
   1994 	/*  69: kf3      */	xterm_256color_s_kf3,
   1995 	/*  70: kf4      */	xterm_256color_s_kf4,
   1996 	/*  71: kf5      */	xterm_256color_s_kf5,
   1997 	/*  72: kf6      */	xterm_256color_s_kf6,
   1998 	/*  73: kf7      */	xterm_256color_s_kf7,
   1999 	/*  74: kf8      */	xterm_256color_s_kf8,
   2000 	/*  75: kf9      */	xterm_256color_s_kf9,
   2001 	/*  76: khome    */	xterm_256color_s_khome,
   2002 	/*  77: kich1    */	xterm_256color_s_kich1,
   2003 	/*  78: kil1     */	ABSENT_STRING,
   2004 	/*  79: kcub1    */	xterm_256color_s_kcub1,
   2005 	/*  80: kll      */	ABSENT_STRING,
   2006 	/*  81: knp      */	xterm_256color_s_knp,
   2007 	/*  82: kpp      */	xterm_256color_s_kpp,
   2008 	/*  83: kcuf1    */	xterm_256color_s_kcuf1,
   2009 	/*  84: kind     */	ABSENT_STRING,
   2010 	/*  85: kri      */	ABSENT_STRING,
   2011 	/*  86: khts     */	ABSENT_STRING,
   2012 	/*  87: kcuu1    */	xterm_256color_s_kcuu1,
   2013 	/*  88: rmkx     */	xterm_256color_s_rmkx,
   2014 	/*  89: smkx     */	xterm_256color_s_smkx,
   2015 	/*  90: lf0      */	ABSENT_STRING,
   2016 	/*  91: lf1      */	ABSENT_STRING,
   2017 	/*  92: lf10     */	ABSENT_STRING,
   2018 	/*  93: lf2      */	ABSENT_STRING,
   2019 	/*  94: lf3      */	ABSENT_STRING,
   2020 	/*  95: lf4      */	ABSENT_STRING,
   2021 	/*  96: lf5      */	ABSENT_STRING,
   2022 	/*  97: lf6      */	ABSENT_STRING,
   2023 	/*  98: lf7      */	ABSENT_STRING,
   2024 	/*  99: lf8      */	ABSENT_STRING,
   2025 	/* 100: lf9      */	ABSENT_STRING,
   2026 	/* 101: rmm      */	xterm_256color_s_rmm,
   2027 	/* 102: smm      */	xterm_256color_s_smm,
   2028 	/* 103: nel      */	xterm_256color_s_nel,
   2029 	/* 104: pad      */	ABSENT_STRING,
   2030 	/* 105: dch      */	xterm_256color_s_dch,
   2031 	/* 106: dl       */	xterm_256color_s_dl,
   2032 	/* 107: cud      */	xterm_256color_s_cud,
   2033 	/* 108: ich      */	xterm_256color_s_ich,
   2034 	/* 109: indn     */	xterm_256color_s_indn,
   2035 	/* 110: il       */	xterm_256color_s_il,
   2036 	/* 111: cub      */	xterm_256color_s_cub,
   2037 	/* 112: cuf      */	xterm_256color_s_cuf,
   2038 	/* 113: rin      */	xterm_256color_s_rin,
   2039 	/* 114: cuu      */	xterm_256color_s_cuu,
   2040 	/* 115: pfkey    */	ABSENT_STRING,
   2041 	/* 116: pfloc    */	ABSENT_STRING,
   2042 	/* 117: pfx      */	ABSENT_STRING,
   2043 	/* 118: mc0      */	ABSENT_STRING,
   2044 	/* 119: mc4      */	ABSENT_STRING,
   2045 	/* 120: mc5      */	ABSENT_STRING,
   2046 	/* 121: rep      */	ABSENT_STRING,
   2047 	/* 122: rs1      */	ABSENT_STRING,
   2048 	/* 123: rs2      */	ABSENT_STRING,
   2049 	/* 124: rs3      */	ABSENT_STRING,
   2050 	/* 125: rf       */	ABSENT_STRING,
   2051 	/* 126: rc       */	xterm_256color_s_rc,
   2052 	/* 127: vpa      */	ABSENT_STRING,
   2053 	/* 128: sc       */	xterm_256color_s_sc,
   2054 	/* 129: ind      */	xterm_256color_s_ind,
   2055 	/* 130: ri       */	xterm_256color_s_ri,
   2056 	/* 131: sgr      */	ABSENT_STRING,
   2057 	/* 132: hts      */	xterm_256color_s_hts,
   2058 	/* 133: wind     */	ABSENT_STRING,
   2059 	/* 134: ht       */	xterm_256color_s_ht,
   2060 	/* 135: tsl      */	ABSENT_STRING,
   2061 	/* 136: uc       */	ABSENT_STRING,
   2062 	/* 137: hu       */	ABSENT_STRING,
   2063 	/* 138: iprog    */	ABSENT_STRING,
   2064 	/* 139: ka1      */	ABSENT_STRING,
   2065 	/* 140: ka3      */	ABSENT_STRING,
   2066 	/* 141: kb2      */	xterm_256color_s_kb2,
   2067 	/* 142: kc1      */	ABSENT_STRING,
   2068 	/* 143: kc3      */	ABSENT_STRING,
   2069 	/* 144: mc5p     */	ABSENT_STRING,
   2070 	/* 145: rmp      */	ABSENT_STRING,
   2071 	/* 146: acsc     */	xterm_256color_s_acsc,
   2072 	/* 147: pln      */	ABSENT_STRING,
   2073 	/* 148: kcbt     */	ABSENT_STRING,
   2074 	/* 149: smxon    */	ABSENT_STRING,
   2075 	/* 150: rmxon    */	ABSENT_STRING,
   2076 	/* 151: smam     */	ABSENT_STRING,
   2077 	/* 152: rmam     */	ABSENT_STRING,
   2078 	/* 153: xonc     */	ABSENT_STRING,
   2079 	/* 154: xoffc    */	ABSENT_STRING,
   2080 	/* 155: enacs    */	ABSENT_STRING,
   2081 	/* 156: smln     */	ABSENT_STRING,
   2082 	/* 157: rmln     */	ABSENT_STRING,
   2083 	/* 158: kbeg     */	ABSENT_STRING,
   2084 	/* 159: kcan     */	ABSENT_STRING,
   2085 	/* 160: kclo     */	ABSENT_STRING,
   2086 	/* 161: kcmd     */	ABSENT_STRING,
   2087 	/* 162: kcpy     */	ABSENT_STRING,
   2088 	/* 163: kcrt     */	ABSENT_STRING,
   2089 	/* 164: kend     */	ABSENT_STRING,
   2090 	/* 165: kent     */	ABSENT_STRING,
   2091 	/* 166: kext     */	ABSENT_STRING,
   2092 	/* 167: kfnd     */	ABSENT_STRING,
   2093 	/* 168: khlp     */	ABSENT_STRING,
   2094 	/* 169: kmrk     */	ABSENT_STRING,
   2095 	/* 170: kmsg     */	ABSENT_STRING,
   2096 	/* 171: kmov     */	ABSENT_STRING,
   2097 	/* 172: knxt     */	ABSENT_STRING,
   2098 	/* 173: kopn     */	ABSENT_STRING,
   2099 	/* 174: kopt     */	ABSENT_STRING,
   2100 	/* 175: kprv     */	ABSENT_STRING,
   2101 	/* 176: kprt     */	ABSENT_STRING,
   2102 	/* 177: krdo     */	ABSENT_STRING,
   2103 	/* 178: kref     */	ABSENT_STRING,
   2104 	/* 179: krfr     */	ABSENT_STRING,
   2105 	/* 180: krpl     */	ABSENT_STRING,
   2106 	/* 181: krst     */	ABSENT_STRING,
   2107 	/* 182: kres     */	ABSENT_STRING,
   2108 	/* 183: ksav     */	ABSENT_STRING,
   2109 	/* 184: kspd     */	ABSENT_STRING,
   2110 	/* 185: kund     */	ABSENT_STRING,
   2111 	/* 186: kBEG     */	ABSENT_STRING,
   2112 	/* 187: kCAN     */	ABSENT_STRING,
   2113 	/* 188: kCMD     */	ABSENT_STRING,
   2114 	/* 189: kCPY     */	ABSENT_STRING,
   2115 	/* 190: kCRT     */	ABSENT_STRING,
   2116 	/* 191: kDC      */	ABSENT_STRING,
   2117 	/* 192: kDL      */	ABSENT_STRING,
   2118 	/* 193: kslt     */	ABSENT_STRING,
   2119 	/* 194: kEND     */	ABSENT_STRING,
   2120 	/* 195: kEOL     */	ABSENT_STRING,
   2121 	/* 196: kEXT     */	ABSENT_STRING,
   2122 	/* 197: kFND     */	ABSENT_STRING,
   2123 	/* 198: kHLP     */	ABSENT_STRING,
   2124 	/* 199: kHOM     */	ABSENT_STRING,
   2125 	/* 200: kIC      */	ABSENT_STRING,
   2126 	/* 201: kLFT     */	ABSENT_STRING,
   2127 	/* 202: kMSG     */	ABSENT_STRING,
   2128 	/* 203: kMOV     */	ABSENT_STRING,
   2129 	/* 204: kNXT     */	ABSENT_STRING,
   2130 	/* 205: kOPT     */	ABSENT_STRING,
   2131 	/* 206: kPRV     */	ABSENT_STRING,
   2132 	/* 207: kPRT     */	ABSENT_STRING,
   2133 	/* 208: kRDO     */	ABSENT_STRING,
   2134 	/* 209: kRPL     */	ABSENT_STRING,
   2135 	/* 210: kRIT     */	ABSENT_STRING,
   2136 	/* 211: kRES     */	ABSENT_STRING,
   2137 	/* 212: kSAV     */	ABSENT_STRING,
   2138 	/* 213: kSPD     */	ABSENT_STRING,
   2139 	/* 214: kUND     */	ABSENT_STRING,
   2140 	/* 215: rfi      */	ABSENT_STRING,
   2141 	/* 216: kf11     */	ABSENT_STRING,
   2142 	/* 217: kf12     */	ABSENT_STRING,
   2143 	/* 218: kf13     */	ABSENT_STRING,
   2144 	/* 219: kf14     */	ABSENT_STRING,
   2145 	/* 220: kf15     */	ABSENT_STRING,
   2146 	/* 221: kf16     */	ABSENT_STRING,
   2147 	/* 222: kf17     */	ABSENT_STRING,
   2148 	/* 223: kf18     */	ABSENT_STRING,
   2149 	/* 224: kf19     */	ABSENT_STRING,
   2150 	/* 225: kf20     */	ABSENT_STRING,
   2151 	/* 226: kf21     */	ABSENT_STRING,
   2152 	/* 227: kf22     */	ABSENT_STRING,
   2153 	/* 228: kf23     */	ABSENT_STRING,
   2154 	/* 229: kf24     */	ABSENT_STRING,
   2155 	/* 230: kf25     */	ABSENT_STRING,
   2156 	/* 231: kf26     */	ABSENT_STRING,
   2157 	/* 232: kf27     */	ABSENT_STRING,
   2158 	/* 233: kf28     */	ABSENT_STRING,
   2159 	/* 234: kf29     */	ABSENT_STRING,
   2160 	/* 235: kf30     */	ABSENT_STRING,
   2161 	/* 236: kf31     */	ABSENT_STRING,
   2162 	/* 237: kf32     */	ABSENT_STRING,
   2163 	/* 238: kf33     */	ABSENT_STRING,
   2164 	/* 239: kf34     */	ABSENT_STRING,
   2165 	/* 240: kf35     */	ABSENT_STRING,
   2166 	/* 241: kf36     */	ABSENT_STRING,
   2167 	/* 242: kf37     */	ABSENT_STRING,
   2168 	/* 243: kf38     */	ABSENT_STRING,
   2169 	/* 244: kf39     */	ABSENT_STRING,
   2170 	/* 245: kf40     */	ABSENT_STRING,
   2171 	/* 246: kf41     */	ABSENT_STRING,
   2172 	/* 247: kf42     */	ABSENT_STRING,
   2173 	/* 248: kf43     */	ABSENT_STRING,
   2174 	/* 249: kf44     */	ABSENT_STRING,
   2175 	/* 250: kf45     */	ABSENT_STRING,
   2176 	/* 251: kf46     */	ABSENT_STRING,
   2177 	/* 252: kf47     */	ABSENT_STRING,
   2178 	/* 253: kf48     */	ABSENT_STRING,
   2179 	/* 254: kf49     */	ABSENT_STRING,
   2180 	/* 255: kf50     */	ABSENT_STRING,
   2181 	/* 256: kf51     */	ABSENT_STRING,
   2182 	/* 257: kf52     */	ABSENT_STRING,
   2183 	/* 258: kf53     */	ABSENT_STRING,
   2184 	/* 259: kf54     */	ABSENT_STRING,
   2185 	/* 260: kf55     */	ABSENT_STRING,
   2186 	/* 261: kf56     */	ABSENT_STRING,
   2187 	/* 262: kf57     */	ABSENT_STRING,
   2188 	/* 263: kf58     */	ABSENT_STRING,
   2189 	/* 264: kf59     */	ABSENT_STRING,
   2190 	/* 265: kf60     */	ABSENT_STRING,
   2191 	/* 266: kf61     */	ABSENT_STRING,
   2192 	/* 267: kf62     */	ABSENT_STRING,
   2193 	/* 268: kf63     */	ABSENT_STRING,
   2194 	/* 269: el1      */	ABSENT_STRING,
   2195 	/* 270: mgc      */	ABSENT_STRING,
   2196 	/* 271: smgl     */	ABSENT_STRING,
   2197 	/* 272: smgr     */	ABSENT_STRING,
   2198 	/* 273: fln      */	ABSENT_STRING,
   2199 	/* 274: sclk     */	ABSENT_STRING,
   2200 	/* 275: dclk     */	ABSENT_STRING,
   2201 	/* 276: rmclk    */	ABSENT_STRING,
   2202 	/* 277: cwin     */	ABSENT_STRING,
   2203 	/* 278: wingo    */	ABSENT_STRING,
   2204 	/* 279: hup      */	ABSENT_STRING,
   2205 	/* 280: dial     */	ABSENT_STRING,
   2206 	/* 281: qdial    */	ABSENT_STRING,
   2207 	/* 282: tone     */	ABSENT_STRING,
   2208 	/* 283: pulse    */	ABSENT_STRING,
   2209 	/* 284: hook     */	ABSENT_STRING,
   2210 	/* 285: pause    */	ABSENT_STRING,
   2211 	/* 286: wait     */	ABSENT_STRING,
   2212 	/* 287: u0       */	ABSENT_STRING,
   2213 	/* 288: u1       */	ABSENT_STRING,
   2214 	/* 289: u2       */	ABSENT_STRING,
   2215 	/* 290: u3       */	ABSENT_STRING,
   2216 	/* 291: u4       */	ABSENT_STRING,
   2217 	/* 292: u5       */	ABSENT_STRING,
   2218 	/* 293: u6       */	ABSENT_STRING,
   2219 	/* 294: u7       */	ABSENT_STRING,
   2220 	/* 295: u8       */	ABSENT_STRING,
   2221 	/* 296: u9       */	ABSENT_STRING,
   2222 	/* 297: op       */	ABSENT_STRING,
   2223 	/* 298: oc       */	ABSENT_STRING,
   2224 	/* 299: initc    */	ABSENT_STRING,
   2225 	/* 300: initp    */	ABSENT_STRING,
   2226 	/* 301: scp      */	ABSENT_STRING,
   2227 	/* 302: setf     */	ABSENT_STRING,
   2228 	/* 303: setb     */	ABSENT_STRING,
   2229 	/* 304: cpi      */	ABSENT_STRING,
   2230 	/* 305: lpi      */	ABSENT_STRING,
   2231 	/* 306: chr      */	ABSENT_STRING,
   2232 	/* 307: cvr      */	ABSENT_STRING,
   2233 	/* 308: defc     */	ABSENT_STRING,
   2234 	/* 309: swidm    */	ABSENT_STRING,
   2235 	/* 310: sdrfq    */	ABSENT_STRING,
   2236 	/* 311: sitm     */	ABSENT_STRING,
   2237 	/* 312: slm      */	ABSENT_STRING,
   2238 	/* 313: smicm    */	ABSENT_STRING,
   2239 	/* 314: snlq     */	ABSENT_STRING,
   2240 	/* 315: snrmq    */	ABSENT_STRING,
   2241 	/* 316: sshm     */	ABSENT_STRING,
   2242 	/* 317: ssubm    */	ABSENT_STRING,
   2243 	/* 318: ssupm    */	ABSENT_STRING,
   2244 	/* 319: sum      */	ABSENT_STRING,
   2245 	/* 320: rwidm    */	ABSENT_STRING,
   2246 	/* 321: ritm     */	ABSENT_STRING,
   2247 	/* 322: rlm      */	ABSENT_STRING,
   2248 	/* 323: rmicm    */	ABSENT_STRING,
   2249 	/* 324: rshm     */	ABSENT_STRING,
   2250 	/* 325: rsubm    */	ABSENT_STRING,
   2251 	/* 326: rsupm    */	ABSENT_STRING,
   2252 	/* 327: rum      */	ABSENT_STRING,
   2253 	/* 328: mhpa     */	ABSENT_STRING,
   2254 	/* 329: mcud1    */	ABSENT_STRING,
   2255 	/* 330: mcub1    */	ABSENT_STRING,
   2256 	/* 331: mcuf1    */	ABSENT_STRING,
   2257 	/* 332: mvpa     */	ABSENT_STRING,
   2258 	/* 333: mcuu1    */	ABSENT_STRING,
   2259 	/* 334: porder   */	ABSENT_STRING,
   2260 	/* 335: mcud     */	ABSENT_STRING,
   2261 	/* 336: mcub     */	ABSENT_STRING,
   2262 	/* 337: mcuf     */	ABSENT_STRING,
   2263 	/* 338: mcuu     */	ABSENT_STRING,
   2264 	/* 339: scs      */	ABSENT_STRING,
   2265 	/* 340: smgb     */	ABSENT_STRING,
   2266 	/* 341: smgbp    */	ABSENT_STRING,
   2267 	/* 342: smglp    */	ABSENT_STRING,
   2268 	/* 343: smgrp    */	ABSENT_STRING,
   2269 	/* 344: smgt     */	ABSENT_STRING,
   2270 	/* 345: smgtp    */	ABSENT_STRING,
   2271 	/* 346: sbim     */	ABSENT_STRING,
   2272 	/* 347: scsd     */	ABSENT_STRING,
   2273 	/* 348: rbim     */	ABSENT_STRING,
   2274 	/* 349: rcsd     */	ABSENT_STRING,
   2275 	/* 350: subcs    */	ABSENT_STRING,
   2276 	/* 351: supcs    */	ABSENT_STRING,
   2277 	/* 352: docr     */	ABSENT_STRING,
   2278 	/* 353: zerom    */	ABSENT_STRING,
   2279 	/* 354: csnm     */	ABSENT_STRING,
   2280 	/* 355: kmous    */	ABSENT_STRING,
   2281 	/* 356: minfo    */	ABSENT_STRING,
   2282 	/* 357: reqmp    */	ABSENT_STRING,
   2283 	/* 358: getm     */	ABSENT_STRING,
   2284 	/* 359: setaf    */	ABSENT_STRING,
   2285 	/* 360: setab    */	ABSENT_STRING,
   2286 	/* 361: pfxl     */	ABSENT_STRING,
   2287 	/* 362: devt     */	ABSENT_STRING,
   2288 	/* 363: csin     */	ABSENT_STRING,
   2289 	/* 364: s0ds     */	ABSENT_STRING,
   2290 	/* 365: s1ds     */	ABSENT_STRING,
   2291 	/* 366: s2ds     */	ABSENT_STRING,
   2292 	/* 367: s3ds     */	ABSENT_STRING,
   2293 	/* 368: smglr    */	ABSENT_STRING,
   2294 	/* 369: smgtb    */	ABSENT_STRING,
   2295 	/* 370: birep    */	ABSENT_STRING,
   2296 	/* 371: binel    */	ABSENT_STRING,
   2297 	/* 372: bicr     */	ABSENT_STRING,
   2298 	/* 373: colornm  */	ABSENT_STRING,
   2299 	/* 374: defbi    */	ABSENT_STRING,
   2300 	/* 375: endbi    */	ABSENT_STRING,
   2301 	/* 376: setcolor */	ABSENT_STRING,
   2302 	/* 377: slines   */	ABSENT_STRING,
   2303 	/* 378: dispc    */	ABSENT_STRING,
   2304 	/* 379: smpch    */	ABSENT_STRING,
   2305 	/* 380: rmpch    */	ABSENT_STRING,
   2306 	/* 381: smsc     */	ABSENT_STRING,
   2307 	/* 382: rmsc     */	ABSENT_STRING,
   2308 	/* 383: pctrm    */	ABSENT_STRING,
   2309 	/* 384: scesc    */	ABSENT_STRING,
   2310 	/* 385: scesa    */	ABSENT_STRING,
   2311 	/* 386: ehhlm    */	ABSENT_STRING,
   2312 	/* 387: elhlm    */	ABSENT_STRING,
   2313 	/* 388: elohlm   */	ABSENT_STRING,
   2314 	/* 389: erhlm    */	ABSENT_STRING,
   2315 	/* 390: ethlm    */	ABSENT_STRING,
   2316 	/* 391: evhlm    */	ABSENT_STRING,
   2317 	/* 392: sgr1     */	ABSENT_STRING,
   2318 	/* 393: slength  */	ABSENT_STRING,
   2319 	/* 394: OTi2     */	ABSENT_STRING,
   2320 	/* 395: OTrs     */	ABSENT_STRING,
   2321 	/* 396: OTnl     */	ABSENT_STRING,
   2322 	/* 397: OTbc     */	ABSENT_STRING,
   2323 	/* 398: OTko     */	ABSENT_STRING,
   2324 	/* 399: OTma     */	ABSENT_STRING,
   2325 	/* 400: OTG2     */	ABSENT_STRING,
   2326 	/* 401: OTG3     */	ABSENT_STRING,
   2327 	/* 402: OTG1     */	ABSENT_STRING,
   2328 	/* 403: OTG4     */	ABSENT_STRING,
   2329 	/* 404: OTGR     */	ABSENT_STRING,
   2330 	/* 405: OTGL     */	ABSENT_STRING,
   2331 	/* 406: OTGU     */	ABSENT_STRING,
   2332 	/* 407: OTGD     */	ABSENT_STRING,
   2333 	/* 408: OTGH     */	ABSENT_STRING,
   2334 	/* 409: OTGV     */	ABSENT_STRING,
   2335 	/* 410: OTGC     */	ABSENT_STRING,
   2336 	/* 411: meml     */	ABSENT_STRING,
   2337 	/* 412: memu     */	ABSENT_STRING,
   2338 	/* 413: box1     */	ABSENT_STRING,
   2339 };
   2340 static const TERMTYPE fallbacks[4] =
   2341 {
   2342  /* linux */
   2343 	{
   2344 		linux_alias_data,
   2345 		(char *)0,	/* pointer to string table */
   2346 		linux_bool_data,
   2347 		linux_number_data,
   2348 		linux_string_data,
   2349 #if NCURSES_XNAMES
   2350 		(char *)0,	/* pointer to extended string table */
   2351 		(char **)0,	/* ...corresponding names */
   2352 		44,		/* count total Booleans */
   2353 		39,		/* count total Numbers */
   2354 		414,		/* count total Strings */
   2355 		0,		/* count extensions to Booleans */
   2356 		0,		/* count extensions to Numbers */
   2357 		0,		/* count extensions to Strings */
   2358 #endif /* NCURSES_XNAMES */
   2359 	}
   2360 , /* vt100 */
   2361 	{
   2362 		vt100_alias_data,
   2363 		(char *)0,	/* pointer to string table */
   2364 		vt100_bool_data,
   2365 		vt100_number_data,
   2366 		vt100_string_data,
   2367 #if NCURSES_XNAMES
   2368 		(char *)0,	/* pointer to extended string table */
   2369 		(char **)0,	/* ...corresponding names */
   2370 		44,		/* count total Booleans */
   2371 		39,		/* count total Numbers */
   2372 		414,		/* count total Strings */
   2373 		0,		/* count extensions to Booleans */
   2374 		0,		/* count extensions to Numbers */
   2375 		0,		/* count extensions to Strings */
   2376 #endif /* NCURSES_XNAMES */
   2377 	}
   2378 , /* xterm */
   2379 	{
   2380 		xterm_alias_data,
   2381 		(char *)0,	/* pointer to string table */
   2382 		xterm_bool_data,
   2383 		xterm_number_data,
   2384 		xterm_string_data,
   2385 #if NCURSES_XNAMES
   2386 		(char *)0,	/* pointer to extended string table */
   2387 		(char **)0,	/* ...corresponding names */
   2388 		44,		/* count total Booleans */
   2389 		39,		/* count total Numbers */
   2390 		414,		/* count total Strings */
   2391 		0,		/* count extensions to Booleans */
   2392 		0,		/* count extensions to Numbers */
   2393 		0,		/* count extensions to Strings */
   2394 #endif /* NCURSES_XNAMES */
   2395 	}
   2396 , /* xterm-256color */
   2397 	{
   2398 		xterm_256color_alias_data,
   2399 		(char *)0,	/* pointer to string table */
   2400 		xterm_256color_bool_data,
   2401 		xterm_256color_number_data,
   2402 		xterm_256color_string_data,
   2403 #if NCURSES_XNAMES
   2404 		(char *)0,	/* pointer to extended string table */
   2405 		(char **)0,	/* ...corresponding names */
   2406 		44,		/* count total Booleans */
   2407 		39,		/* count total Numbers */
   2408 		414,		/* count total Strings */
   2409 		0,		/* count extensions to Booleans */
   2410 		0,		/* count extensions to Numbers */
   2411 		0,		/* count extensions to Strings */
   2412 #endif /* NCURSES_XNAMES */
   2413 	}
   2414 };
   2415 
   2416 NCURSES_EXPORT(const TERMTYPE *) _nc_fallback (const char *name GCC_UNUSED)
   2417 {
   2418     const TERMTYPE	*tp;
   2419 
   2420     for (tp = fallbacks;
   2421 	 	tp < fallbacks + sizeof(fallbacks)/sizeof(TERMTYPE);
   2422 	 	tp++)
   2423 	if (_nc_name_match(tp->term_names, name, "|"))
   2424 	    return(tp);
   2425 	return((TERMTYPE *)0);
   2426 }