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