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