1 /*@ gen-tcaps.h, generated by ./make-tcap-map.pl.
2 *@ See termcap.c for more */
4 static char const a_termcap_namedat
[] = {
5 /* [0]+8, n_TERMCAP_CMD_te */ 't','e', 'r','m','c','u','p','\0',
6 /* [8]+8, n_TERMCAP_CMD_ti */ 't','i', 's','m','c','u','p','\0',
7 /* [16]+7, n_TERMCAP_CMD_ks */ 'k','s', 's','m','k','x','\0',
8 /* [23]+7, n_TERMCAP_CMD_ke */ 'k','e', 'r','m','k','x','\0',
9 /* [30]+5, n_TERMCAP_CMD_ce */ 'c','e', 'e','l','\0',
10 /* [35]+6, n_TERMCAP_CMD_ch */ 'c','h', 'h','p','a','\0',
11 /* [41]+5, n_TERMCAP_CMD_cr */ 'c','r', 'c','r','\0',
12 /* [46]+7, n_TERMCAP_CMD_le */ 'l','e', 'c','u','b','1','\0',
13 /* [53]+7, n_TERMCAP_CMD_nd */ 'n','d', 'c','u','f','1','\0',
14 /* [60]+5, n_TERMCAP_CMD_cd */ 'c','d', 'e','d','\0',
15 /* [65]+7, n_TERMCAP_CMD_ho */ 'h','o', 'h','o','m','e','\0',
16 /* [72]+8, n_TERMCAP_CMD_cl */ 'c','l', 'c','l','e','a','r','\0',
17 /* [80]+9, n_TERMCAP_QUERY_colors */ 'C','o', 'c','o','l','o','r','s','\0',
18 #ifdef HAVE_KEY_BINDINGS
19 /* [89]+6, n_TERMCAP_QUERY_key_backspace */ 'k','b', 'k','b','s','\0',
20 /* [95]+8, n_TERMCAP_QUERY_key_dc */ 'k','D', 'k','d','c','h','1','\0',
21 /* [103]+6, n_TERMCAP_QUERY_key_sdc */ '*','4', 'k','D','C','\0',
22 /* [109]+6, n_TERMCAP_QUERY_key_eol */ 'k','E', 'k','e','l','\0',
23 /* [115]+7, n_TERMCAP_QUERY_key_exit */ '@','9', 'k','e','x','t','\0',
24 /* [122]+8, n_TERMCAP_QUERY_key_ic */ 'k','I', 'k','i','c','h','1','\0',
25 /* [130]+6, n_TERMCAP_QUERY_key_sic */ '#','3', 'k','I','C','\0',
26 /* [136]+8, n_TERMCAP_QUERY_key_home */ 'k','h', 'k','h','o','m','e','\0',
27 /* [144]+7, n_TERMCAP_QUERY_key_shome */ '#','2', 'k','H','O','M','\0',
28 /* [151]+7, n_TERMCAP_QUERY_key_end */ '@','7', 'k','e','n','d','\0',
29 /* [158]+7, n_TERMCAP_QUERY_key_send */ '*','7', 'k','E','N','D','\0',
30 /* [165]+6, n_TERMCAP_QUERY_key_npage */ 'k','N', 'k','n','p','\0',
31 /* [171]+6, n_TERMCAP_QUERY_key_ppage */ 'k','P', 'k','p','p','\0',
32 /* [177]+8, n_TERMCAP_QUERY_key_left */ 'k','l', 'k','c','u','b','1','\0',
33 /* [185]+7, n_TERMCAP_QUERY_key_sleft */ '#','4', 'k','L','F','T','\0',
34 /* [192]+8, n_TERMCAP_QUERY_xkey_aleft */ '\0','\0', 'k','L','F','T','3','\0',
35 /* [200]+8, n_TERMCAP_QUERY_xkey_cleft */ '\0','\0', 'k','L','F','T','5','\0',
36 /* [208]+8, n_TERMCAP_QUERY_key_right */ 'k','r', 'k','c','u','f','1','\0',
37 /* [216]+7, n_TERMCAP_QUERY_key_sright */ '%','i', 'k','R','I','T','\0',
38 /* [223]+8, n_TERMCAP_QUERY_xkey_aright */ '\0','\0', 'k','R','I','T','3','\0',
39 /* [231]+8, n_TERMCAP_QUERY_xkey_cright */ '\0','\0', 'k','R','I','T','5','\0',
40 /* [239]+8, n_TERMCAP_QUERY_key_down */ 'k','d', 'k','c','u','d','1','\0',
41 /* [247]+6, n_TERMCAP_QUERY_xkey_sdown */ '\0','\0', 'k','D','N','\0',
42 /* [253]+7, n_TERMCAP_QUERY_xkey_adown */ '\0','\0', 'k','D','N','3','\0',
43 /* [260]+7, n_TERMCAP_QUERY_xkey_cdown */ '\0','\0', 'k','D','N','5','\0',
44 /* [267]+8, n_TERMCAP_QUERY_key_up */ 'k','u', 'k','c','u','u','1','\0',
45 /* [275]+6, n_TERMCAP_QUERY_xkey_sup */ '\0','\0', 'k','U','P','\0',
46 /* [281]+7, n_TERMCAP_QUERY_xkey_aup */ '\0','\0', 'k','U','P','3','\0',
47 /* [288]+7, n_TERMCAP_QUERY_xkey_cup */ '\0','\0', 'k','U','P','5','\0',
48 /* [295]+6, n_TERMCAP_QUERY_kf0 */ 'k','0', 'k','f','0','\0',
49 /* [301]+6, n_TERMCAP_QUERY_kf1 */ 'k','1', 'k','f','1','\0',
50 /* [307]+6, n_TERMCAP_QUERY_kf2 */ 'k','2', 'k','f','2','\0',
51 /* [313]+6, n_TERMCAP_QUERY_kf3 */ 'k','3', 'k','f','3','\0',
52 /* [319]+6, n_TERMCAP_QUERY_kf4 */ 'k','4', 'k','f','4','\0',
53 /* [325]+6, n_TERMCAP_QUERY_kf5 */ 'k','5', 'k','f','5','\0',
54 /* [331]+6, n_TERMCAP_QUERY_kf6 */ 'k','6', 'k','f','6','\0',
55 /* [337]+6, n_TERMCAP_QUERY_kf7 */ 'k','7', 'k','f','7','\0',
56 /* [343]+6, n_TERMCAP_QUERY_kf8 */ 'k','8', 'k','f','8','\0',
57 /* [349]+6, n_TERMCAP_QUERY_kf9 */ 'k','9', 'k','f','9','\0',
58 /* [355]+7, n_TERMCAP_QUERY_kf10 */ 'k',';', 'k','f','1','0','\0',
59 /* [362]+7, n_TERMCAP_QUERY_kf11 */ 'F','1', 'k','f','1','1','\0',
60 /* [369]+7, n_TERMCAP_QUERY_kf12 */ 'F','2', 'k','f','1','2','\0',
61 /* [376]+7, n_TERMCAP_QUERY_kf13 */ 'F','3', 'k','f','1','3','\0',
62 /* [383]+7, n_TERMCAP_QUERY_kf14 */ 'F','4', 'k','f','1','4','\0',
63 /* [390]+7, n_TERMCAP_QUERY_kf15 */ 'F','5', 'k','f','1','5','\0',
64 /* [397]+7, n_TERMCAP_QUERY_kf16 */ 'F','6', 'k','f','1','6','\0',
65 /* [404]+7, n_TERMCAP_QUERY_kf17 */ 'F','7', 'k','f','1','7','\0',
66 /* [411]+7, n_TERMCAP_QUERY_kf18 */ 'F','8', 'k','f','1','8','\0',
67 /* [418]+7, n_TERMCAP_QUERY_kf19 */ 'F','9', 'k','f','1','9','\0',
68 #endif /* HAVE_KEY_BINDINGS */
71 static struct a_termcap_control
const a_termcap_control
[] = {
73 {/* 0. n_TERMCAP_CMD_te */ n_TERMCAP_CAPTYPE_STRING
, 0},
74 {/* 1. n_TERMCAP_CMD_ti */ n_TERMCAP_CAPTYPE_STRING
, 8},
75 {/* 2. n_TERMCAP_CMD_ks */ n_TERMCAP_CAPTYPE_STRING
, 16},
76 {/* 3. n_TERMCAP_CMD_ke */ n_TERMCAP_CAPTYPE_STRING
, 23},
79 {/* 4. n_TERMCAP_CMD_ce */ n_TERMCAP_CAPTYPE_STRING
, 30},
80 {/* 5. n_TERMCAP_CMD_ch */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_ARG_IDX1
, 35},
81 {/* 6. n_TERMCAP_CMD_cr */ n_TERMCAP_CAPTYPE_STRING
, 41},
82 {/* 7. n_TERMCAP_CMD_le */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_ARG_CNT
, 46},
83 {/* 8. n_TERMCAP_CMD_nd */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_ARG_CNT
, 53},
85 {/* 9. n_TERMCAP_CMD_cd */ n_TERMCAP_CAPTYPE_STRING
, 60},
86 {/* 10. n_TERMCAP_CMD_ho */ n_TERMCAP_CAPTYPE_STRING
, 65},
88 {/* 11. n_TERMCAP_CMD_cl */ n_TERMCAP_CAPTYPE_STRING
, 72},
91 {/* 12. n_TERMCAP_QUERY_colors */ n_TERMCAP_CAPTYPE_NUMERIC
|a_TERMCAP_F_QUERY
, 80},
93 # ifdef HAVE_KEY_BINDINGS
94 {/* 13. n_TERMCAP_QUERY_key_backspace */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 89},
95 {/* 14. n_TERMCAP_QUERY_key_dc */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 95},
96 {/* 15. n_TERMCAP_QUERY_key_sdc */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 103},
97 {/* 16. n_TERMCAP_QUERY_key_eol */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 109},
98 {/* 17. n_TERMCAP_QUERY_key_exit */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 115},
99 {/* 18. n_TERMCAP_QUERY_key_ic */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 122},
100 {/* 19. n_TERMCAP_QUERY_key_sic */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 130},
101 {/* 20. n_TERMCAP_QUERY_key_home */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 136},
102 {/* 21. n_TERMCAP_QUERY_key_shome */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 144},
103 {/* 22. n_TERMCAP_QUERY_key_end */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 151},
104 {/* 23. n_TERMCAP_QUERY_key_send */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 158},
105 {/* 24. n_TERMCAP_QUERY_key_npage */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 165},
106 {/* 25. n_TERMCAP_QUERY_key_ppage */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 171},
107 {/* 26. n_TERMCAP_QUERY_key_left */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 177},
108 {/* 27. n_TERMCAP_QUERY_key_sleft */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 185},
109 {/* 28. n_TERMCAP_QUERY_xkey_aleft */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 192},
110 {/* 29. n_TERMCAP_QUERY_xkey_cleft */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 200},
111 {/* 30. n_TERMCAP_QUERY_key_right */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 208},
112 {/* 31. n_TERMCAP_QUERY_key_sright */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 216},
113 {/* 32. n_TERMCAP_QUERY_xkey_aright */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 223},
114 {/* 33. n_TERMCAP_QUERY_xkey_cright */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 231},
115 {/* 34. n_TERMCAP_QUERY_key_down */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 239},
116 {/* 35. n_TERMCAP_QUERY_xkey_sdown */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 247},
117 {/* 36. n_TERMCAP_QUERY_xkey_adown */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 253},
118 {/* 37. n_TERMCAP_QUERY_xkey_cdown */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 260},
119 {/* 38. n_TERMCAP_QUERY_key_up */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 267},
120 {/* 39. n_TERMCAP_QUERY_xkey_sup */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 275},
121 {/* 40. n_TERMCAP_QUERY_xkey_aup */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 281},
122 {/* 41. n_TERMCAP_QUERY_xkey_cup */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 288},
123 {/* 42. n_TERMCAP_QUERY_kf0 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 295},
124 {/* 43. n_TERMCAP_QUERY_kf1 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 301},
125 {/* 44. n_TERMCAP_QUERY_kf2 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 307},
126 {/* 45. n_TERMCAP_QUERY_kf3 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 313},
127 {/* 46. n_TERMCAP_QUERY_kf4 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 319},
128 {/* 47. n_TERMCAP_QUERY_kf5 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 325},
129 {/* 48. n_TERMCAP_QUERY_kf6 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 331},
130 {/* 49. n_TERMCAP_QUERY_kf7 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 337},
131 {/* 50. n_TERMCAP_QUERY_kf8 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 343},
132 {/* 51. n_TERMCAP_QUERY_kf9 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 349},
133 {/* 52. n_TERMCAP_QUERY_kf10 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 355},
134 {/* 53. n_TERMCAP_QUERY_kf11 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 362},
135 {/* 54. n_TERMCAP_QUERY_kf12 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 369},
136 {/* 55. n_TERMCAP_QUERY_kf13 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 376},
137 {/* 56. n_TERMCAP_QUERY_kf14 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 383},
138 {/* 57. n_TERMCAP_QUERY_kf15 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 390},
139 {/* 58. n_TERMCAP_QUERY_kf16 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 397},
140 {/* 59. n_TERMCAP_QUERY_kf17 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 404},
141 {/* 60. n_TERMCAP_QUERY_kf18 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 411},
142 {/* 61. n_TERMCAP_QUERY_kf19 */ n_TERMCAP_CAPTYPE_STRING
|a_TERMCAP_F_QUERY
, 418},
143 # endif /* HAVE_KEY_BINDINGS */