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