/* This file was autogenerated using parsecaps.sl /tmp/Caps.osf1r5 */

static Tgetstr_Map_Type Tgetstr_Map[] =
{
   {"!1", 379		UNTIC_COMMENT("shifted save key")},
   {"!2", 380		UNTIC_COMMENT("shifted suspend key")},
   {"!3", 381		UNTIC_COMMENT("shifted undo key")},
   {"#1", 365		UNTIC_COMMENT("shifted help key")},
   {"#2", 366		UNTIC_COMMENT("shifted home key")},
   {"#3", 367		UNTIC_COMMENT("shifted insert-character key")},
   {"#4", 368		UNTIC_COMMENT("shifted left-arrow key")},
   {"%0", 347		UNTIC_COMMENT("redo key")},
   {"%1", 178		UNTIC_COMMENT("help key")},
   {"%2", 338		UNTIC_COMMENT("mark key")},
   {"%3", 339		UNTIC_COMMENT("message key")},
   {"%4", 341		UNTIC_COMMENT("move key")},
   {"%5", 342		UNTIC_COMMENT("next key")},
   {"%6", 343		UNTIC_COMMENT("open key")},
   {"%7", 344		UNTIC_COMMENT("options key")},
   {"%8", 345		UNTIC_COMMENT("previous key")},
   {"%9", 346		UNTIC_COMMENT("print key")},
   {"%a", 369		UNTIC_COMMENT("shifted message key")},
   {"%b", 370		UNTIC_COMMENT("shifted move key")},
   {"%c", 371		UNTIC_COMMENT("shifted next key")},
   {"%d", 372		UNTIC_COMMENT("shifted options key")},
   {"%e", 373		UNTIC_COMMENT("shifted previous key")},
   {"%f", 374		UNTIC_COMMENT("shifted print key")},
   {"%g", 375		UNTIC_COMMENT("shifted redo key")},
   {"%h", 376		UNTIC_COMMENT("shifted replace key")},
   {"%i", 377		UNTIC_COMMENT("shifted right-arrow key")},
   {"%j", 378		UNTIC_COMMENT("shifted resume key")},
   {"&0", 355		UNTIC_COMMENT("shifted cancel key")},
   {"&1", 348		UNTIC_COMMENT("reference key")},
   {"&2", 349		UNTIC_COMMENT("refresh key")},
   {"&3", 350		UNTIC_COMMENT("replace key")},
   {"&4", 351		UNTIC_COMMENT("restart key")},
   {"&5", 352		UNTIC_COMMENT("resume key")},
   {"&6", 353		UNTIC_COMMENT("save key")},
   {"&7", 382		UNTIC_COMMENT("suspend key")},
   {"&8", 383		UNTIC_COMMENT("undo key")},
   {"&9", 354		UNTIC_COMMENT("shifted begin key")},
   {"*0", 364		UNTIC_COMMENT("shifted find key")},
   {"*1", 356		UNTIC_COMMENT("shifted command key")},
   {"*2", 357		UNTIC_COMMENT("shifted copy key")},
   {"*3", 358		UNTIC_COMMENT("shifted create key")},
   {"*4", 359		UNTIC_COMMENT("shifted delete-character key")},
   {"*5", 360		UNTIC_COMMENT("shifted delete-line key")},
   {"*6", 184		UNTIC_COMMENT("select key")},
   {"*7", 361		UNTIC_COMMENT("shifted end key")},
   {"*8", 362		UNTIC_COMMENT("shifted clear-to-end-of-line key")},
   {"*9", 363		UNTIC_COMMENT("shifted exit key")},
   {"@0", 337		UNTIC_COMMENT("find key")},
   {"@1", 302		UNTIC_COMMENT("begin key")},
   {"@2", 304		UNTIC_COMMENT("cancel key")},
   {"@3", 305		UNTIC_COMMENT("close key")},
   {"@5", 306		UNTIC_COMMENT("copy key")},
   {"@6", 307		UNTIC_COMMENT("create key")},
   {"@7", 177		UNTIC_COMMENT("end key")},
   {"@8", 308		UNTIC_COMMENT("enter/send key")},
   {"@9", 309		UNTIC_COMMENT("exit key")},
   {"AB", 415		UNTIC_COMMENT("Set background color to #1, using ANSI escape")},
   {"AF", 416		UNTIC_COMMENT("Set foreground color to #1, using ANSI escape")},
   {"AL", 110		UNTIC_COMMENT("insert #1 lines (P*)")},
   {"Bx", 147		UNTIC_COMMENT("attributes for box1")},
   {"By", 148		UNTIC_COMMENT("attributes for box2")},
   {"CC",   9		UNTIC_COMMENT("terminal settable cmd character in prototype !?")},
   {"CM",  15		UNTIC_COMMENT("memory relative cursor addressing, move to row #1 columns #2")},
   {"CW", 259		UNTIC_COMMENT("define a window #1 from #2,#3 to #4,#5")},
   {"DC", 105		UNTIC_COMMENT("delete #1 characters (P*)")},
   {"DI", 263		UNTIC_COMMENT("dial number #1")},
   {"DK", 264		UNTIC_COMMENT("display clock")},
   {"DL", 106		UNTIC_COMMENT("delete #1 lines (P*)")},
   {"DO", 107		UNTIC_COMMENT("down #1 lines (P*)")},
   {"F1", 217		UNTIC_COMMENT("F11 function key")},
   {"F2", 218		UNTIC_COMMENT("F12 function key")},
   {"F3", 219		UNTIC_COMMENT("F13 function key")},
   {"F4", 220		UNTIC_COMMENT("F14 function key")},
   {"F5", 221		UNTIC_COMMENT("F15 function key")},
   {"F6", 222		UNTIC_COMMENT("F16 function key")},
   {"F7", 223		UNTIC_COMMENT("F17 function key")},
   {"F8", 224		UNTIC_COMMENT("F18 function key")},
   {"F9", 225		UNTIC_COMMENT("F19 function key")},
   {"FA", 226		UNTIC_COMMENT("F20 function key")},
   {"FB", 227		UNTIC_COMMENT("F21 function key")},
   {"FC", 228		UNTIC_COMMENT("F22 function key")},
   {"FD", 229		UNTIC_COMMENT("F23 function key")},
   {"FE", 230		UNTIC_COMMENT("F24 function key")},
   {"FF", 231		UNTIC_COMMENT("F25 function key")},
   {"FG", 232		UNTIC_COMMENT("F26 function key")},
   {"FH", 233		UNTIC_COMMENT("F27 function key")},
   {"FI", 234		UNTIC_COMMENT("F28 function key")},
   {"FJ", 235		UNTIC_COMMENT("F29 function key")},
   {"FK", 236		UNTIC_COMMENT("F30 function key")},
   {"FL", 237		UNTIC_COMMENT("F31 function key")},
   {"FM", 238		UNTIC_COMMENT("F32 function key")},
   {"FN", 239		UNTIC_COMMENT("F33 function key")},
   {"FO", 240		UNTIC_COMMENT("F34 function key")},
   {"FP", 241		UNTIC_COMMENT("F35 function key")},
   {"FQ", 242		UNTIC_COMMENT("F36 function key")},
   {"FR", 310		UNTIC_COMMENT("F37 function key")},
   {"FS", 311		UNTIC_COMMENT("F38 function key")},
   {"FT", 312		UNTIC_COMMENT("F39 function key")},
   {"FU", 313		UNTIC_COMMENT("F40 function key")},
   {"FV", 314		UNTIC_COMMENT("F41 function key")},
   {"FW", 315		UNTIC_COMMENT("F42 function key")},
   {"FX", 316		UNTIC_COMMENT("F43 function key")},
   {"FY", 317		UNTIC_COMMENT("F44 function key")},
   {"FZ", 318		UNTIC_COMMENT("F45 function key")},
   {"Fa", 319		UNTIC_COMMENT("F46 function key")},
   {"Fb", 320		UNTIC_COMMENT("F47 function key")},
   {"Fc", 321		UNTIC_COMMENT("F48 function key")},
   {"Fd", 322		UNTIC_COMMENT("F49 function key")},
   {"Fe", 323		UNTIC_COMMENT("F50 function key")},
   {"Ff", 324		UNTIC_COMMENT("F51 function key")},
   {"Fg", 325		UNTIC_COMMENT("F52 function key")},
   {"Fh", 326		UNTIC_COMMENT("F53 function key")},
   {"Fi", 327		UNTIC_COMMENT("F54 function key")},
   {"Fj", 328		UNTIC_COMMENT("F55 function key")},
   {"Fk", 329		UNTIC_COMMENT("F56 function key")},
   {"Fl", 330		UNTIC_COMMENT("F57 function key")},
   {"Fm", 331		UNTIC_COMMENT("F58 function key")},
   {"Fn", 332		UNTIC_COMMENT("F59 function key")},
   {"Fo", 333		UNTIC_COMMENT("F60 function key")},
   {"Fp", 334		UNTIC_COMMENT("F61 function key")},
   {"Fq", 335		UNTIC_COMMENT("F62 function key")},
   {"Fr", 336		UNTIC_COMMENT("F63 function key")},
   {"G1", 471		UNTIC_COMMENT("single upper right")},
   {"G2", 469		UNTIC_COMMENT("single upper left")},
   {"G3", 470		UNTIC_COMMENT("single lower left")},
   {"G4", 472		UNTIC_COMMENT("single lower right")},
   {"GC", 479		UNTIC_COMMENT("single intersection")},
   {"GD", 476		UNTIC_COMMENT("tee pointing down")},
   {"GH", 477		UNTIC_COMMENT("single horizontal line")},
   {"GL", 474		UNTIC_COMMENT("tee pointing left")},
   {"GR", 473		UNTIC_COMMENT("tee pointing right")},
   {"GU", 475		UNTIC_COMMENT("tee pointing up")},
   {"GV", 478		UNTIC_COMMENT("single vertical line")},
   {"Gm", 297		UNTIC_COMMENT("Curses should get button events, parameter #1 not documented.")},
   {"HU", 299		UNTIC_COMMENT("hang-up phone")},
   {"IC", 108		UNTIC_COMMENT("insert #1 characters (P*)")},
   {"Ic", 300		UNTIC_COMMENT("initialize color #1 to (#2,#3,#4)")},
   {"Ip", 301		UNTIC_COMMENT("Initialize color pair #1 to fg=(#2,#3,#4), bg=(#5,#6,#7)")},
   {"K1", 139		UNTIC_COMMENT("upper left of keypad")},
   {"K2", 141		UNTIC_COMMENT("center of keypad")},
   {"K3", 140		UNTIC_COMMENT("upper right of keypad")},
   {"K4", 142		UNTIC_COMMENT("lower left of keypad")},
   {"K5", 143		UNTIC_COMMENT("lower right of keypad")},
   {"KR", 200		UNTIC_COMMENT("special mapped key 6 output")},
   {"KS", 202		UNTIC_COMMENT("special mapped key 7 output")},
   {"KT", 204		UNTIC_COMMENT("special mapped key 8 output")},
   {"KU", 206		UNTIC_COMMENT("special mapped key 9 output")},
   {"KV", 189		UNTIC_COMMENT("special mapped key 1 output")},
   {"KW", 191		UNTIC_COMMENT("special mapped key 2 output")},
   {"KX", 193		UNTIC_COMMENT("special mapped key 3 output")},
   {"KY", 195		UNTIC_COMMENT("special mapped key 4 output")},
   {"KZ", 197		UNTIC_COMMENT("special mapped key 5 output")},
   {"Km", 340		UNTIC_COMMENT("Mouse event has occurred")},
   {"Kr", 199		UNTIC_COMMENT("special mapped key 6 input")},
   {"Ks", 201		UNTIC_COMMENT("special mapped key 7 input")},
   {"Kt", 203		UNTIC_COMMENT("special mapped key 8 input")},
   {"Ku", 205		UNTIC_COMMENT("special mapped key 9 input")},
   {"Kv", 188		UNTIC_COMMENT("special mapped key 1 input")},
   {"Kw", 190		UNTIC_COMMENT("special mapped key 2 input")},
   {"Kx", 192		UNTIC_COMMENT("special mapped key 3 input")},
   {"Ky", 194		UNTIC_COMMENT("special mapped key 4 input")},
   {"Kz", 196		UNTIC_COMMENT("special mapped key 5 input")},
   {"LE", 111		UNTIC_COMMENT("move #1 characters to the left (P)")},
   {"LF", 385		UNTIC_COMMENT("turn off soft labels")},
   {"LO", 386		UNTIC_COMMENT("turn on soft labels")},
   {"Lf", 384		UNTIC_COMMENT("label format")},
   {"MC", 255		UNTIC_COMMENT("clear right and left soft margins")},
   {"ML", 424		UNTIC_COMMENT("set left soft margin at current column.	 See smgl. (ML is not in BSD termcap).")},
   {"ML", 426		UNTIC_COMMENT("Set both left and right margins to #1, #2.  (ML is not in BSD termcap).")},
   {"MR", 428		UNTIC_COMMENT("set right soft margin at current column")},
   {"MT", 430		UNTIC_COMMENT("Sets both top and bottom margins to #1, #2")},
   {"Mi", 393		UNTIC_COMMENT("Mouse status information")},
   {"PA", 295		UNTIC_COMMENT("pause for 2-3 seconds")},
   {"PU", 404		UNTIC_COMMENT("select pulse dialing")},
   {"QD", 405		UNTIC_COMMENT("dial number #1 without checking")},
   {"RA", 283		UNTIC_COMMENT("turn off automatic margins")},
   {"RC", 408		UNTIC_COMMENT("remove clock")},
   {"RF", 406		UNTIC_COMMENT("send next input char (for ptys)")},
   {"RI", 112		UNTIC_COMMENT("move #1 characters to the right (P*)")},
   {"RQ", 407		UNTIC_COMMENT("Request mouse position")},
   {"RX", 294		UNTIC_COMMENT("turn off xon/xoff handshaking")},
   {"S1", 207		UNTIC_COMMENT("special function key 1")},
   {"S1", 265		UNTIC_COMMENT("Display PC character #1")},
   {"S2", 208		UNTIC_COMMENT("special function key 2")},
   {"S2", 276		UNTIC_COMMENT("Enter PC character display mode")},
   {"S3", 209		UNTIC_COMMENT("special function key 3")},
   {"S3", 288		UNTIC_COMMENT("Exit PC character display mode")},
   {"S4", 210		UNTIC_COMMENT("special function key 4")},
   {"S4", 277		UNTIC_COMMENT("Enter PC scancode mode")},
   {"S5", 211		UNTIC_COMMENT("special function key 5")},
   {"S5", 289		UNTIC_COMMENT("Exit PC scancode mode")},
   {"S6", 212		UNTIC_COMMENT("special function key 6")},
   {"S6", 401		UNTIC_COMMENT("PC terminal options")},
   {"S7", 213		UNTIC_COMMENT("special function key 7")},
   {"S7", 409		UNTIC_COMMENT("Escape for scancode emulation")},
   {"S8", 214		UNTIC_COMMENT("special function key 8")},
   {"S8", 245		UNTIC_COMMENT("Alternate escape for scancode emulation")},
   {"S9", 215		UNTIC_COMMENT("special function key 9")},
   {"SA", 216		UNTIC_COMMENT("special function key 10")},
   {"SA", 268		UNTIC_COMMENT("turn on automatic margins")},
   {"SC", 420		UNTIC_COMMENT("set clock, #1 hrs #2 mins #3 secs")},
   {"SF", 109		UNTIC_COMMENT("scroll forward #1 lines (P)")},
   {"SR", 113		UNTIC_COMMENT("scroll back #1 lines (P)")},
   {"SX", 282		UNTIC_COMMENT("turn on xon/xoff handshaking")},
   {"Sb", 417		UNTIC_COMMENT("Set background color #1")},
   {"Sf", 423		UNTIC_COMMENT("Set foreground color #1")},
   {"TO", 440		UNTIC_COMMENT("select touch tone dialing")},
   {"UP", 114		UNTIC_COMMENT("up #1 lines (P*)")},
   {"WA", 451		UNTIC_COMMENT("wait for dial-tone")},
   {"WG", 298		UNTIC_COMMENT("go to window #1")},
   {"XF", 452		UNTIC_COMMENT("XOFF character")},
   {"XN", 453		UNTIC_COMMENT("XON character")},
   {"Xh", 456		UNTIC_COMMENT("Enter horizontal highlight mode")},
   {"Xl", 457		UNTIC_COMMENT("Enter left highlight mode")},
   {"Xo", 458		UNTIC_COMMENT("Enter low highlight mode")},
   {"Xr", 459		UNTIC_COMMENT("Enter right highlight mode")},
   {"Xt", 460		UNTIC_COMMENT("Enter top highlight mode")},
   {"Xv", 461		UNTIC_COMMENT("Enter vertical highlight mode")},
   {"Xy", 246		UNTIC_COMMENT("Repeat bit image cell #1 #2 times")},
   {"YZ", 427		UNTIC_COMMENT("Set page length to #1 lines")},
   {"Yv", 248		UNTIC_COMMENT("Move to beginning of same row")},
   {"Yw", 258		UNTIC_COMMENT("Give name for color #1")},
   {"Yx", 260		UNTIC_COMMENT("Define rectangualar bit image region")},
   {"Yy", 267		UNTIC_COMMENT("End a bit-image region")},
   {"Yz", 421		UNTIC_COMMENT("Change to ribbon color #1")},
   {"ZA", 249		UNTIC_COMMENT("Change number of characters per inch to #1")},
   {"ZB", 250		UNTIC_COMMENT("Change number of lines per inch to #1")},
   {"ZC", 251		UNTIC_COMMENT("Change horizontal resolution to #1")},
   {"ZD", 252		UNTIC_COMMENT("Change vertical resolution to #1")},
   {"ZE", 261		UNTIC_COMMENT("Define a character #1, #2 dots wide, descender #3")},
   {"ZF", 269		UNTIC_COMMENT("Enter double-wide mode")},
   {"ZG", 270		UNTIC_COMMENT("Enter draft-quality mode")},
   {"ZH", 271		UNTIC_COMMENT("Enter italic mode")},
   {"ZI", 272		UNTIC_COMMENT("Start leftward carriage motion")},
   {"ZJ", 273		UNTIC_COMMENT("Start micro-motion mode")},
   {"ZK", 274		UNTIC_COMMENT("Enter NLQ mode")},
   {"ZL", 275		UNTIC_COMMENT("Enter normal-quality mode")},
   {"ZM", 278		UNTIC_COMMENT("Enter shadow-print mode")},
   {"ZN", 279		UNTIC_COMMENT("Enter subscript mode")},
   {"ZO", 280		UNTIC_COMMENT("Enter superscript mode")},
   {"ZP", 281		UNTIC_COMMENT("Start upward carriage motion")},
   {"ZQ", 284		UNTIC_COMMENT("End double-wide mode")},
   {"ZR", 285		UNTIC_COMMENT("End italic mode")},
   {"ZS", 286		UNTIC_COMMENT("End left-motion mode")},
   {"ZT", 287		UNTIC_COMMENT("End micro-motion mode")},
   {"ZU", 290		UNTIC_COMMENT("End shadow-print mode")},
   {"ZV", 291		UNTIC_COMMENT("End subscript mode")},
   {"ZW", 292		UNTIC_COMMENT("End superscript mode")},
   {"ZX", 293		UNTIC_COMMENT("End reverse character motion")},
   {"ZY", 387		UNTIC_COMMENT("Like column_address in micro mode")},
   {"ZZ", 388		UNTIC_COMMENT("Like cursor_down in micro mode")},
   {"Za", 389		UNTIC_COMMENT("Like cursor_left in micro mode")},
   {"Zb", 390		UNTIC_COMMENT("Like cursor_right in micro mode")},
   {"Zc", 391		UNTIC_COMMENT("Like row_address #1 in micro mode")},
   {"Zd", 392		UNTIC_COMMENT("Like cursor_up in micro mode")},
   {"Ze", 394		UNTIC_COMMENT("Match software bits to print-head pins")},
   {"Zf", 397		UNTIC_COMMENT("Like parm_down_cursor in micro mode")},
   {"Zg", 398		UNTIC_COMMENT("Like parm_left_cursor in micro mode")},
   {"Zh", 399		UNTIC_COMMENT("Like parm_right_cursor in micro mode")},
   {"Zi", 400		UNTIC_COMMENT("Like parm_up_cursor in micro mode")},
   {"Zj", 410		UNTIC_COMMENT("Select character set, #1")},
   {"Zk", 418		UNTIC_COMMENT("Set bottom margin at current line")},
   {"Zl", 419		UNTIC_COMMENT("Set bottom margin at line #1 or (if smgtp is not given) #2 lines from bottom")},
   {"Zm", 425		UNTIC_COMMENT("Set left (right) margin at column #1")},
   {"Zn", 429		UNTIC_COMMENT("Set right margin at column #1")},
   {"Zo", 431		UNTIC_COMMENT("Set top margin at current line")},
   {"Zp", 432		UNTIC_COMMENT("Set top (bottom) margin at row #1")},
   {"Zq", 433		UNTIC_COMMENT("Start printing bit image graphics")},
   {"Zr", 434		UNTIC_COMMENT("Start character set definition #1, with #2 characters in the set")},
   {"Zs", 435		UNTIC_COMMENT("Stop printing bit image graphics")},
   {"Zt", 436		UNTIC_COMMENT("End definition of character set #1")},
   {"Zu", 437		UNTIC_COMMENT("List of subscriptable characters")},
   {"Zv", 438		UNTIC_COMMENT("List of superscriptable characters")},
   {"Zw", 439		UNTIC_COMMENT("Printing any of these characters causes CR")},
   {"Zx", 454		UNTIC_COMMENT("No motion for subsequent character")},
   {"Zy", 254		UNTIC_COMMENT("Produce #1'th item from list of character set names")},
   {"Zz", 247		UNTIC_COMMENT("Move to next row of the bit image")},
   {"ac", 244		UNTIC_COMMENT("graphics charset pairs, based on vt100")},
   {"ae",  38		UNTIC_COMMENT("end alternate character set (P)")},
   {"al",  53		UNTIC_COMMENT("insert line (P*)")},
   {"as",  25		UNTIC_COMMENT("start alternate character set (P)")},
   {"bc", 466		UNTIC_COMMENT("move left, if not ^H")},
   {"bl",   1		UNTIC_COMMENT("audible signal (bell) (P)")},
   {"bt",   0		UNTIC_COMMENT("back tab (P)")},
   {"bx", 145		UNTIC_COMMENT("box characters primary set")},
   {"by", 146		UNTIC_COMMENT("box characters secondary set")},
   {"c0", 157		UNTIC_COMMENT("foreground color 0")},
   {"c1", 158		UNTIC_COMMENT("foreground color 1")},
   {"c2", 159		UNTIC_COMMENT("foreground color 2")},
   {"c3", 160		UNTIC_COMMENT("foreground color 3")},
   {"c4", 161		UNTIC_COMMENT("foreground color 4")},
   {"c5", 162		UNTIC_COMMENT("foreground color 5")},
   {"c6", 163		UNTIC_COMMENT("foreground color 6")},
   {"c7", 164		UNTIC_COMMENT("foreground color 7")},
   {"cb", 256		UNTIC_COMMENT("Clear to beginning of line")},
   {"cd",   7		UNTIC_COMMENT("clear to end of screen (P*)")},
   {"ce",   6		UNTIC_COMMENT("clear to end of line (P)")},
   {"ch",   8		UNTIC_COMMENT("horizontal position #1, absolute (P)")},
   {"ci", 257		UNTIC_COMMENT("Init sequence for multiple codesets")},
   {"cl",   5		UNTIC_COMMENT("clear screen and home cursor (P*)")},
   {"cm",  10		UNTIC_COMMENT("move to row #1 columns #2")},
   {"cr",   2		UNTIC_COMMENT("carriage return (P*) (P*)")},
   {"cs",   3		UNTIC_COMMENT("change region to line #1 to line #2 (P)")},
   {"ct",   4		UNTIC_COMMENT("clear all tab stops (P)")},
   {"cv", 127		UNTIC_COMMENT("vertical position #1 absolute (P)")},
   {"d0", 149		UNTIC_COMMENT("background color 0")},
   {"d1", 150		UNTIC_COMMENT("background color 1")},
   {"d2", 151		UNTIC_COMMENT("background color 2")},
   {"d3", 152		UNTIC_COMMENT("background color 3")},
   {"d4", 153		UNTIC_COMMENT("background color 4")},
   {"d5", 154		UNTIC_COMMENT("background color 5")},
   {"d6", 155		UNTIC_COMMENT("background color 6")},
   {"d7", 156		UNTIC_COMMENT("background color 7")},
   {"dc",  21		UNTIC_COMMENT("delete character (P*)")},
   {"dl",  22		UNTIC_COMMENT("delete line (P*)")},
   {"dm",  29		UNTIC_COMMENT("enter delete mode")},
   {"do",  11		UNTIC_COMMENT("down one line")},
   {"ds",  23		UNTIC_COMMENT("disable status line")},
   {"dv", 262		UNTIC_COMMENT("Indicate language/codeset support")},
   {"eA", 266		UNTIC_COMMENT("enable alternate char set")},
   {"ec",  37		UNTIC_COMMENT("erase #1 characters (P)")},
   {"ed",  41		UNTIC_COMMENT("end delete mode")},
   {"ei",  42		UNTIC_COMMENT("exit insert mode")},
   {"f0", 165		UNTIC_COMMENT("select font 0")},
   {"f1", 166		UNTIC_COMMENT("select font 1")},
   {"f2", 167		UNTIC_COMMENT("select font 2")},
   {"f3", 168		UNTIC_COMMENT("select font 3")},
   {"f4", 169		UNTIC_COMMENT("select font 4")},
   {"f5", 170		UNTIC_COMMENT("select font 5")},
   {"f6", 171		UNTIC_COMMENT("select font 6")},
   {"f7", 172		UNTIC_COMMENT("select font 7")},
   {"ff",  46		UNTIC_COMMENT("hardcopy terminal page eject (P*)")},
   {"fh", 296		UNTIC_COMMENT("flash switch hook")},
   {"fs",  47		UNTIC_COMMENT("return from status line")},
   {"hd",  24		UNTIC_COMMENT("half a line down")},
   {"ho",  12		UNTIC_COMMENT("home cursor (if no cup)")},
   {"hu", 137		UNTIC_COMMENT("half a line up")},
   {"i1",  48		UNTIC_COMMENT("initialization string")},
   {"i2", 463		UNTIC_COMMENT("secondary initialization string")},
   {"i3",  50		UNTIC_COMMENT("initialization string")},
   {"iP", 138		UNTIC_COMMENT("path name of program for initialization")},
   {"ic",  52		UNTIC_COMMENT("insert character (P)")},
   {"if",  51		UNTIC_COMMENT("name of initialization file")},
   {"im",  31		UNTIC_COMMENT("enter insert mode")},
   {"ip",  54		UNTIC_COMMENT("insert padding after inserted character")},
   {"is",  49		UNTIC_COMMENT("initialization string")},
   {"k0",  65		UNTIC_COMMENT("F0 function key")},
   {"k0", 173		UNTIC_COMMENT("backtab key")},
   {"k1",  66		UNTIC_COMMENT("F1 function key")},
   {"k2",  68		UNTIC_COMMENT("F2 function key")},
   {"k3",  69		UNTIC_COMMENT("F3 function key")},
   {"k4",  70		UNTIC_COMMENT("F4 function key")},
   {"k5",  71		UNTIC_COMMENT("F5 function key")},
   {"k6",  72		UNTIC_COMMENT("F6 function key")},
   {"k7",  73		UNTIC_COMMENT("F7 function key")},
   {"k8",  74		UNTIC_COMMENT("F8 function key")},
   {"k9",  75		UNTIC_COMMENT("F9 function key")},
   {"k;",  67		UNTIC_COMMENT("F10 function key")},
   {"kA",  78		UNTIC_COMMENT("insert-line key")},
   {"kB", 303		UNTIC_COMMENT("back-tab key")},
   {"kC",  57		UNTIC_COMMENT("clear-screen or erase key")},
   {"kD",  59		UNTIC_COMMENT("delete-character key")},
   {"kE",  63		UNTIC_COMMENT("clear-to-end-of-line key")},
   {"kF",  84		UNTIC_COMMENT("scroll-forward key")},
   {"kH",  80		UNTIC_COMMENT("lower-left key (home down)")},
   {"kI",  77		UNTIC_COMMENT("insert-character key")},
   {"kJ", 243		UNTIC_COMMENT("sent by action key")},
   {"kL",  60		UNTIC_COMMENT("delete-line key")},
   {"kM",  62		UNTIC_COMMENT("sent by rmir or smir in insert mode")},
   {"kN",  81		UNTIC_COMMENT("next-page key")},
   {"kP",  82		UNTIC_COMMENT("previous-page key")},
   {"kQ", 183		UNTIC_COMMENT("quit key")},
   {"kR",  85		UNTIC_COMMENT("scroll-backward key")},
   {"kS",  64		UNTIC_COMMENT("clear-to-end-of-screen key")},
   {"kT",  86		UNTIC_COMMENT("set-tab key")},
   {"kV", 182		UNTIC_COMMENT("previous-pane key")},
   {"kW", 176		UNTIC_COMMENT("command-pane key")},
   {"kZ", 186		UNTIC_COMMENT("scroll right")},
   {"ka",  56		UNTIC_COMMENT("clear-all-tabs key")},
   {"kb",  55		UNTIC_COMMENT("backspace key")},
   {"kc", 175		UNTIC_COMMENT("command key")},
   {"kd",  61		UNTIC_COMMENT("down-arrow key")},
   {"ke",  88		UNTIC_COMMENT("leave 'keyboard_transmit' mode")},
   {"kh",  76		UNTIC_COMMENT("home key")},
   {"ki", 174		UNTIC_COMMENT("do request key")},
   {"kl",  79		UNTIC_COMMENT("left-arrow key")},
   {"ko", 187		UNTIC_COMMENT("tab key")},
   {"ko", 467		UNTIC_COMMENT("list of self-mapped keycaps")},
   {"kp", 181		UNTIC_COMMENT("previous-command key")},
   {"kr",  83		UNTIC_COMMENT("right-arrow key")},
   {"ks",  89		UNTIC_COMMENT("enter 'keyboard_transmit' mode")},
   {"kt",  58		UNTIC_COMMENT("clear-tab key")},
   {"ku",  87		UNTIC_COMMENT("up-arrow key")},
   {"kv", 180		UNTIC_COMMENT("next-pane key")},
   {"kz", 185		UNTIC_COMMENT("scroll left")},
   {"l0",  90		UNTIC_COMMENT("label on function key f0 if not f0")},
   {"l1",  91		UNTIC_COMMENT("label on function key f1 if not f1")},
   {"l2",  93		UNTIC_COMMENT("label on function key f2 if not f2")},
   {"l3",  94		UNTIC_COMMENT("label on function key f3 if not f3")},
   {"l4",  95		UNTIC_COMMENT("label on function key f4 if not f4")},
   {"l5",  96		UNTIC_COMMENT("label on function key f5 if not f5")},
   {"l6",  97		UNTIC_COMMENT("label on function key f6 if not f6")},
   {"l7",  98		UNTIC_COMMENT("label on function key f7 if not f7")},
   {"l8",  99		UNTIC_COMMENT("label on function key f8 if not f8")},
   {"l9", 100		UNTIC_COMMENT("label on function key f9 if not f9")},
   {"la",  92		UNTIC_COMMENT("label on function key f10 if not f10")},
   {"le",  14		UNTIC_COMMENT("move left one space")},
   {"ll",  18		UNTIC_COMMENT("last line, first column (if no cup)")},
   {"ma", 468		UNTIC_COMMENT("map arrow keys rogue(1) motion keys")},
   {"mb",  26		UNTIC_COMMENT("turn on blinking")},
   {"md",  27		UNTIC_COMMENT("turn on bold (extra bright) mode")},
   {"me",  39		UNTIC_COMMENT("turn off all attributes")},
   {"mh",  30		UNTIC_COMMENT("turn on half-bright mode")},
   {"mk",  32		UNTIC_COMMENT("turn on blank mode (characters invisible)")},
   {"ml", 480		UNTIC_COMMENT("lock memory above cursor")},
   {"mm", 102		UNTIC_COMMENT("turn on meta mode (8th-bit on)")},
   {"mo", 101		UNTIC_COMMENT("turn off meta mode")},
   {"mp",  33		UNTIC_COMMENT("turn on protected mode")},
   {"mr",  34		UNTIC_COMMENT("turn on reverse video mode")},
   {"mu", 481		UNTIC_COMMENT("unlock memory")},
   {"nd",  17		UNTIC_COMMENT("non-destructive space (move right one space)")},
   {"nl", 179		UNTIC_COMMENT("newline key")},
   {"nl", 465		UNTIC_COMMENT("use to move down")},
   {"nw", 103		UNTIC_COMMENT("newline (behave like cr followed by lf)")},
   {"oc", 395		UNTIC_COMMENT("Set all color pairs to the original ones")},
   {"op", 396		UNTIC_COMMENT("Set default pair to its original value")},
   {"pO", 144		UNTIC_COMMENT("turn on printer for #1 bytes")},
   {"pc", 104		UNTIC_COMMENT("padding char (instead of null)")},
   {"pf", 119		UNTIC_COMMENT("turn off printer")},
   {"pk", 115		UNTIC_COMMENT("program function key #1 to type string #2")},
   {"pl", 116		UNTIC_COMMENT("program function key #1 to execute string #2")},
   {"pn", 403		UNTIC_COMMENT("program label #1 to show string #2")},
   {"po", 120		UNTIC_COMMENT("turn on printer")},
   {"ps", 118		UNTIC_COMMENT("print contents of screen")},
   {"px", 117		UNTIC_COMMENT("program function key #1 to transmit string #2")},
   {"r1", 122		UNTIC_COMMENT("reset string")},
   {"r2", 123		UNTIC_COMMENT("reset string")},
   {"r3", 124		UNTIC_COMMENT("reset string")},
   {"rP", 253		UNTIC_COMMENT("like ip but when in insert mode")},
   {"rc", 126		UNTIC_COMMENT("restore cursor to position of last save_cursor")},
   {"rf", 125		UNTIC_COMMENT("name of reset file")},
   {"rp", 121		UNTIC_COMMENT("repeat char #1 #2 times (P*)")},
   {"rs", 464		UNTIC_COMMENT("terminal reset string")},
   {"s0", 411		UNTIC_COMMENT("Shift to codeset 0 (EUC set 0, ASCII)")},
   {"s1", 412		UNTIC_COMMENT("Shift to codeset 1")},
   {"s2", 413		UNTIC_COMMENT("Shift to codeset 2")},
   {"s3", 414		UNTIC_COMMENT("Shift to codeset 3")},
   {"sA", 462		UNTIC_COMMENT("Define second set of video attributes #1-#6")},
   {"sL", 455		UNTIC_COMMENT("YI Set page length to #1 hundredth of an inch")},
   {"sa", 131		UNTIC_COMMENT("define video attributes #1-#9 (PG9)")},
   {"sc", 128		UNTIC_COMMENT("save current cursor position (P)")},
   {"se",  43		UNTIC_COMMENT("exit standout mode")},
   {"sf", 129		UNTIC_COMMENT("scroll text up (P)")},
   {"so",  35		UNTIC_COMMENT("begin standout mode")},
   {"sp", 422		UNTIC_COMMENT("Set current color pair to #1")},
   {"sr", 130		UNTIC_COMMENT("scroll text down (P)")},
   {"st", 132		UNTIC_COMMENT("set a tab in every row, current columns")},
   {"ta", 134		UNTIC_COMMENT("tab to next 8-space hardware tab stop")},
   {"te",  40		UNTIC_COMMENT("strings to end programs using cup")},
   {"ti",  28		UNTIC_COMMENT("string to start programs using cup")},
   {"ts", 135		UNTIC_COMMENT("move to status line, column #1")},
   {"u0", 441		UNTIC_COMMENT("User string #0")},
   {"u1", 442		UNTIC_COMMENT("User string #1")},
   {"u2", 443		UNTIC_COMMENT("User string #2")},
   {"u3", 444		UNTIC_COMMENT("User string #3")},
   {"u4", 445		UNTIC_COMMENT("User string #4")},
   {"u5", 446		UNTIC_COMMENT("User string #5")},
   {"u6", 447		UNTIC_COMMENT("User string #6")},
   {"u7", 448		UNTIC_COMMENT("User string #7")},
   {"u8", 449		UNTIC_COMMENT("User string #8")},
   {"u9", 450		UNTIC_COMMENT("User string #9")},
   {"uc", 136		UNTIC_COMMENT("underline char and move past it")},
   {"ue",  44		UNTIC_COMMENT("exit underline mode")},
   {"up",  19		UNTIC_COMMENT("up one line")},
   {"us",  36		UNTIC_COMMENT("begin underline mode")},
   {"vb",  45		UNTIC_COMMENT("visible bell (may not move cursor)")},
   {"ve",  16		UNTIC_COMMENT("make cursor appear normal (undo civis/cvvis)")},
   {"vi",  13		UNTIC_COMMENT("make cursor invisible")},
   {"vs",  20		UNTIC_COMMENT("make cursor very visible")},
   {"wi", 133		UNTIC_COMMENT("current window is lines #1-#2 cols #3-#4")},
   {"xl", 402		UNTIC_COMMENT("Program function key #1 to type string #2 and show string #3")},
   {"za", 198		UNTIC_COMMENT("application-defined string")},
   {"",  -1		UNTIC_COMMENT("NULL")},
};

static Tgetstr_Map_Type Tgetnum_Map[] =
{
   {"BT",  11		UNTIC_COMMENT("number of buttons on mouse")},
   {"Co",  17		UNTIC_COMMENT("maximum number of colors on screen")},
   {"MW",  21		UNTIC_COMMENT("maximum number of defineable windows")},
   {"NC",  24		UNTIC_COMMENT("video attributes that can not be used with colors")},
   {"Nl",  26		UNTIC_COMMENT("number of labels on screen")},
   {"Ya",  10		UNTIC_COMMENT("numbers of bytes buffered before printing")},
   {"Yb",  12		UNTIC_COMMENT("spacing of pins vertically in pins per inch")},
   {"Yc",  13		UNTIC_COMMENT("spacing of dots horizontally in dots per inch")},
   {"Yd",  18		UNTIC_COMMENT("maximum value in micro_..._address")},
   {"Ye",  19		UNTIC_COMMENT("maximum value in parm_..._micro")},
   {"Yf",  22		UNTIC_COMMENT("character step size when in micro mode")},
   {"Yg",  23		UNTIC_COMMENT("line step size when in micro mode")},
   {"Yh",  25		UNTIC_COMMENT("numbers of pins in print-head")},
   {"Yi",  27		UNTIC_COMMENT("horizontal resolution in units per line")},
   {"Yj",  28		UNTIC_COMMENT("vertical resolution in units per line")},
   {"Yk",  29		UNTIC_COMMENT("horizontal resolution in units per inch")},
   {"Yl",  30		UNTIC_COMMENT("vertical resolution in units per inch")},
   {"Ym",  31		UNTIC_COMMENT("print rate in characters per second")},
   {"Yn",  32		UNTIC_COMMENT("character step size when in double wide mode")},
   {"Yo",   8		UNTIC_COMMENT("number of passes for each bit-image row")},
   {"Yp",   9		UNTIC_COMMENT("type of bit-image device")},
   {"co",   0		UNTIC_COMMENT("number of columns in a line")},
   {"dB",  36		UNTIC_COMMENT("padding required for ^H")},
   {"dC",  34		UNTIC_COMMENT("pad needed for CR")},
   {"dN",  35		UNTIC_COMMENT("pad needed for LF")},
   {"dT",  37		UNTIC_COMMENT("padding required for ^I")},
   {"it",   1		UNTIC_COMMENT("tabs initially every # spaces")},
   {"kn",  38		UNTIC_COMMENT("count of function keys")},
   {"lh",  14		UNTIC_COMMENT("rows in each label")},
   {"li",   2		UNTIC_COMMENT("number of lines on screen or page")},
   {"lm",   3		UNTIC_COMMENT("lines of memory if > line. 0 means varies")},
   {"lw",  15		UNTIC_COMMENT("columns in each label")},
   {"ma",  16		UNTIC_COMMENT("maximum combined attributes terminal can handle")},
   {"pa",  20		UNTIC_COMMENT("maximum number of color-pairs on the screen")},
   {"pb",   5		UNTIC_COMMENT("lowest baud rate where padding needed")},
   {"sg",   4		UNTIC_COMMENT("number of blank characters left by smso or rmso")},
   {"ug",  33		UNTIC_COMMENT("number of blanks left by ul")},
   {"vt",   6		UNTIC_COMMENT("virtual terminal number (CB/unix)")},
   {"ws",   7		UNTIC_COMMENT("number of columns in status line")},
   {"",  -1		UNTIC_COMMENT("NULL")},
};

static Tgetstr_Map_Type Tgetflag_Map[] =
{
   {"5i",  34		UNTIC_COMMENT("printer will not echo on screen")},
   {"HC",  26		UNTIC_COMMENT("cursor is hard to see")},
   {"MT",  40		UNTIC_COMMENT("has meta key")},
   {"ND",  31		UNTIC_COMMENT("scrolling region is non-destructive")},
   {"NL",  41		UNTIC_COMMENT("move down with \n")},
   {"NP",  33		UNTIC_COMMENT("pad character does not exist")},
   {"NR",  32		UNTIC_COMMENT("smcup does not reverse rmcup")},
   {"YA",  23		UNTIC_COMMENT("only positive motion for hpa/mhpa caps")},
   {"YB",  25		UNTIC_COMMENT("using cr turns off micro mode")},
   {"YC",  27		UNTIC_COMMENT("printer needs operator to change character set")},
   {"YD",  35		UNTIC_COMMENT("only positive motion for vpa/mvpa caps")},
   {"YE",  36		UNTIC_COMMENT("printing in last column causes cr")},
   {"YF",  24		UNTIC_COMMENT("changing character pitch changes resolution")},
   {"YG",  29		UNTIC_COMMENT("changing line pitch changes resolution")},
   {"am",   1		UNTIC_COMMENT("terminal has automatic margins")},
   {"bs",  37		UNTIC_COMMENT("uses ^H to move left")},
   {"bw",   0		UNTIC_COMMENT("cub1 wraps from column 0 to last column")},
   {"cc",  22		UNTIC_COMMENT("terminal can re-define existing colors")},
   {"da",  11		UNTIC_COMMENT("display may be retained above the screen")},
   {"db",  12		UNTIC_COMMENT("display may be retained below the screen")},
   {"eo",   5		UNTIC_COMMENT("can erase overstrikes with a blank")},
   {"es",  16		UNTIC_COMMENT("escape can be used on the status line")},
   {"gn",   6		UNTIC_COMMENT("generic line type")},
   {"hc",   7		UNTIC_COMMENT("hardcopy terminal")},
   {"hl",  28		UNTIC_COMMENT("terminal uses only HLS color notation (Tektronix)")},
   {"hs",   9		UNTIC_COMMENT("has extra status line")},
   {"hz",  18		UNTIC_COMMENT("cannot print ~'s (hazeltine)")},
   {"in",  10		UNTIC_COMMENT("insert mode distinguishes nulls")},
   {"km",   8		UNTIC_COMMENT("Has a meta key (i.e., sets 8th-bit)")},
   {"mi",  13		UNTIC_COMMENT("safe to move while in insert mode")},
   {"ms",  14		UNTIC_COMMENT("safe to move while in standout mode")},
   {"nc",  39		UNTIC_COMMENT("no way to go to start of line")},
   {"ns",  38		UNTIC_COMMENT("crt cannot scroll")},
   {"nx",  30		UNTIC_COMMENT("padding will not work, xon/xoff required")},
   {"os",  15		UNTIC_COMMENT("terminal can overstrike")},
   {"pt",  42		UNTIC_COMMENT("has 8-char tabs invoked with ^I")},
   {"ul",  19		UNTIC_COMMENT("underline character overstrikes")},
   {"ut",  21		UNTIC_COMMENT("screen erased with background color")},
   {"xb",   2		UNTIC_COMMENT("beehive (f1=escape, f2=ctrl C)")},
   {"xn",   4		UNTIC_COMMENT("newline ignored after 80 cols (concept)")},
   {"xo",  20		UNTIC_COMMENT("terminal uses xon/xoff handshaking")},
   {"xr",  43		UNTIC_COMMENT("return clears the line")},
   {"xs",   3		UNTIC_COMMENT("standout not erased by overwriting (hp)")},
   {"xt",  17		UNTIC_COMMENT("tabs destructive, magic so char (t1061)")},
   {"",  -1		UNTIC_COMMENT("NULL")},
};