home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / gcc-lib / i486-unknown-sco3.2v5.0.0elf / 2.6-95q2 / include / oldstyle / term.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-12  |  51.6 KB  |  1,193 lines

  1. #ifndef _PARAMS
  2. #if defined(__STDC__) || defined(__cplusplus)
  3. #define _PARAMS(ARGS) ARGS
  4. #else
  5. #define _PARAMS(ARGS) ()
  6. #endif
  7. #endif /* _PARAMS */
  8. /*
  9. *    Copyright (C) 1993-1995 The Santa Cruz Operation, Inc.
  10.  *        All Rights Reserved.
  11.  *
  12.  *
  13.  *    This Module contains Proprietary Information of
  14.  *    The Santa Cruz Operation Inc., and should be treated as Confidential.
  15.  */
  16.  
  17. /*    Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc.    */
  18. /*    Copyright (c) 1988, 1990 AT&T    */
  19. /*      All Rights Reserved      */
  20.  
  21. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  22. /*    UNIX System Laboratories, Inc.                         */
  23. /*    The copyright notice above does not evidence any       */
  24. /*    actual or intended publication of such source code.    */
  25.  
  26.  
  27. #ident "oldstyle @(#) copyright.h 20.1 94/12/04 "
  28.  
  29. #ident  "oldstyle $Header: copyright.h 1.2 91/06/26 $"
  30.  
  31. #ident    "oldstyle @(#)curses:common/lib/xlibcurses/screen/maketerm.ed    1.43.2.3"
  32. /*
  33.  * term.h - this file is automatically made from caps and maketerm.ed.
  34.  * Don't make changes directly to term.h.
  35.  *
  36.  * Guard against multiple includes.
  37.  */
  38.  
  39. #ifndef    _TERM_H
  40. #define    _TERM_H
  41.  
  42. #ident "oldstyle @(#) maketerm.ed 20.1 94/12/04 "
  43.  
  44.  
  45. #pragma    pack(4)
  46.  
  47. #ifndef auto_left_margin
  48.  
  49. #define auto_left_margin         CUR _b1
  50. #define auto_right_margin         CUR _b2
  51. #define no_esc_ctlc             CUR _b3
  52. #define ceol_standout_glitch         CUR _b4
  53. #define eat_newline_glitch         CUR _b5
  54. #define erase_overstrike         CUR _b6
  55. #define generic_type             CUR _b7
  56. #define hard_copy             CUR _b8
  57. #define has_meta_key             CUR _b9
  58. #define has_status_line         CUR _b10
  59. #define insert_null_glitch         CUR _b11
  60. #define memory_above             CUR _b12
  61. #define memory_below             CUR _b13
  62. #define move_insert_mode         CUR _b14
  63. #define move_standout_mode         CUR _b15
  64. #define over_strike             CUR _b16
  65. #define status_line_esc_ok         CUR _b17
  66. #define dest_tabs_magic_smso         CUR _b18
  67. #define tilde_glitch             CUR _b19
  68. #define transparent_underline         CUR _b20
  69. #define xon_xoff             CUR _b21
  70. #define needs_xon_xoff             CURB _needs_xon_xoff
  71. #define prtr_silent             CURB _prtr_silent
  72. #define hard_cursor             CURB _hard_cursor
  73. #define non_rev_rmcup             CURB _non_rev_rmcup
  74. #define no_pad_char             CURB _no_pad_char
  75. #define non_dest_scroll_region         CURB _non_dest_scroll_region
  76. #define can_change             CURB _can_change
  77. #define back_color_erase         CURB _back_color_erase
  78. #define hue_lightness_saturation         CURB _hue_lightness_saturation
  79. #define col_addr_glitch         CURB _col_addr_glitch
  80. #define cr_cancels_micro_mode         CURB _cr_cancels_micro_mode
  81. #define has_print_wheel         CURB _has_print_wheel
  82. #define row_addr_glitch         CURB _row_addr_glitch
  83. #define semi_auto_right_margin         CURB _semi_auto_right_margin
  84. #define cpi_changes_res         CURB _cpi_changes_res
  85. #define lpi_changes_res         CURB _lpi_changes_res
  86. #define columns             CUR _c1
  87. #define init_tabs             CUR _c2
  88. #define lines                 CUR _c3
  89. #define lines_of_memory         CUR _c4
  90. #define magic_cookie_glitch         CUR _c5
  91. #define padding_baud_rate         CUR _c6
  92. #define virtual_terminal         CUR _c7
  93. #define width_status_line         CUR _c8
  94. #define num_labels             CURN _num_labels
  95. #define label_height             CURN _labl_height
  96. #define label_width             CURN _labl_width
  97. #define max_attributes             CURN _max_attributes
  98. #define maximum_windows         CURN _maximum_windows
  99. #define max_colors             CURN _max_colors
  100. #define max_pairs             CURN _max_pairs
  101. #define no_color_video             CURN _no_color_video
  102. #define buffer_capacity         CURN _buffer_capacity
  103. #define dot_vert_spacing         CURN _dot_vert_spacing
  104. #define dot_horz_spacing         CURN _dot_horz_spacing
  105. #define max_micro_address         CURN _max_micro_address
  106. #define max_micro_jump             CURN _max_micro_jump
  107. #define micro_char_size         CURN _micro_char_size
  108. #define micro_line_size         CURN _micro_line_size
  109. #define number_of_pins             CURN _number_of_pins
  110. #define output_res_char         CURN _output_res_char
  111. #define output_res_line         CURN _output_res_line
  112. #define output_res_horz_inch         CURN _output_res_horz_inch
  113. #define output_res_vert_inch         CURN _output_res_vert_inch
  114. #define print_rate             CURN _print_rate
  115. #define wide_char_size             CURN _wide_char_size
  116. #define buttons             CURN _buttons
  117. #define bit_image_entwining         CURN _bit_image_entwining
  118. #define bit_image_type             CURN _bit_image_type
  119. #define back_tab             CUR _Vr2_Astrs._s1
  120. #define bell                 CUR _Vr2_Astrs._s2
  121. #define carriage_return         CUR _Vr2_Astrs._s3
  122. #define change_scroll_region         CUR _Vr2_Astrs._s4
  123. #define clear_all_tabs             CUR _Vr2_Astrs._s5
  124. #define clear_screen             CUR _Vr2_Astrs._s6
  125. #define clr_eol             CUR _Vr2_Astrs._s7
  126. #define clr_eos             CUR _Vr2_Astrs._s8
  127. #define column_address             CUR _Vr2_Astrs._s9
  128. #define command_character         CUR _Vr2_Astrs._s10
  129. #define cursor_address             CUR _Vr2_Astrs._s11
  130. #define cursor_down             CUR _Vr2_Astrs._s12
  131. #define cursor_home             CUR _Vr2_Astrs._s13
  132. #define cursor_invisible         CUR _Vr2_Astrs._s14
  133. #define cursor_left             CUR _Vr2_Astrs._s15
  134. #define cursor_mem_address         CUR _Vr2_Astrs._s16
  135. #define cursor_normal             CUR _Vr2_Astrs._s17
  136. #define cursor_right             CUR _Vr2_Astrs._s18
  137. #define cursor_to_ll             CUR _Vr2_Astrs._s19
  138. #define cursor_up             CUR _Vr2_Astrs._s20
  139. #define cursor_visible             CUR _Vr2_Astrs._s21
  140. #define delete_character         CUR _Vr2_Astrs._s22
  141. #define delete_line             CUR _Vr2_Astrs._s23
  142. #define dis_status_line         CUR _Vr2_Astrs._s24
  143. #define down_half_line             CUR _Vr2_Astrs._s25
  144. #define enter_alt_charset_mode         CUR _Vr2_Astrs._s26
  145. #define enter_blink_mode         CUR _Vr2_Astrs._s27
  146. #define enter_bold_mode         CUR _Vr2_Astrs._s28
  147. #define enter_ca_mode             CUR _Vr2_Astrs._s29
  148. #define enter_delete_mode         CUR _Vr2_Astrs._s30
  149. #define enter_dim_mode             CUR _Vr2_Astrs._s31
  150. #define enter_insert_mode         CUR _Vr2_Astrs._s32
  151. #define enter_secure_mode         CUR _Vr2_Astrs._s33
  152. #define enter_protected_mode         CUR _Vr2_Astrs._s34
  153. #define enter_reverse_mode         CUR _Vr2_Astrs._s35
  154. #define enter_standout_mode         CUR _Vr2_Astrs._s36
  155. #define enter_underline_mode         CUR _Vr2_Astrs._s37
  156. #define erase_chars             CUR _Vr2_Astrs._s38
  157. #define exit_alt_charset_mode         CUR _Vr2_Astrs._s39
  158. #define exit_attribute_mode         CUR _Vr2_Astrs._s40
  159. #define exit_ca_mode             CUR _Vr2_Astrs._s41
  160. #define exit_delete_mode         CUR _Vr2_Astrs._s42
  161. #define exit_insert_mode         CUR _Vr2_Astrs._s43
  162. #define exit_standout_mode         CUR _Vr2_Astrs._s44
  163. #define exit_underline_mode         CUR _Vr2_Astrs._s45
  164. #define flash_screen             CUR _Vr2_Astrs._s46
  165. #define form_feed             CUR _Vr2_Astrs._s47
  166. #define from_status_line         CUR _Vr2_Astrs._s48
  167. #define init_1string             CUR _Vr2_Astrs._s49
  168. #define init_2string             CUR _Vr2_Astrs._s50
  169. #define init_3string             CUR _Vr2_Astrs._s51
  170. #define init_file             CUR _Vr2_Astrs._s52
  171. #define insert_character         CUR _Vr2_Astrs._s53
  172. #define insert_line             CUR _Vr2_Astrs._s54
  173. #define insert_padding             CUR _Vr2_Astrs._s55
  174. #define key_backspace             CUR _Vr2_Astrs._s56
  175. #define key_catab             CUR _Vr2_Astrs._s57
  176. #define key_clear             CUR _Vr2_Astrs._s58
  177. #define key_ctab             CUR _Vr2_Astrs._s59
  178. #define key_dc                 CUR _Vr2_Astrs._s60
  179. #define key_dl                 CUR _Vr2_Astrs._s61
  180. #define key_down             CUR _Vr2_Astrs._s62
  181. #define key_eic             CUR _Vr2_Astrs._s63
  182. #define key_eol             CUR _Vr2_Astrs._s64
  183. #define key_eos             CUR _Vr2_Astrs._s65
  184. #define key_f0                 CUR _Vr2_Astrs._s66
  185. #define key_f1                 CUR _Vr2_Astrs._s67
  186. #define key_f10             CUR _Vr2_Astrs._s68
  187. #define key_f2                 CUR _Vr2_Astrs._s69
  188. #define key_f3                 CUR _Vr2_Astrs._s70
  189. #define key_f4                 CUR _Vr2_Astrs._s71
  190. #define key_f5                 CUR _Vr2_Astrs._s72
  191. #define key_f6                 CUR _Vr2_Astrs._s73
  192. #define key_f7                 CUR _Vr2_Astrs._s74
  193. #define key_f8                 CUR _Vr2_Astrs._s75
  194. #define key_f9                 CUR _Vr2_Astrs._s76
  195. #define key_home             CUR _Vr2_Astrs._s77
  196. #define key_ic                 CUR _Vr2_Astrs._s78
  197. #define key_il                 CUR _Vr2_Astrs._s79
  198. #define key_left             CUR _Vr2_Astrs._s80
  199. #define key_ll                 CUR _Vr2_Astrs._s81
  200. #define key_npage             CUR _Vr2_Astrs._s82
  201. #define key_ppage             CUR _Vr2_Astrs._s83
  202. #define key_right             CUR _Vr2_Astrs._s84
  203. #define key_sf                 CUR _Vr2_Astrs._s85
  204. #define key_sr                 CUR _Vr2_Astrs._s86
  205. #define key_stab             CUR _Vr2_Astrs._s87
  206. #define key_up                 CUR _Vr2_Astrs._s88
  207. #define keypad_local             CUR _Vr2_Astrs._s89
  208. #define keypad_xmit             CUR _Vr2_Astrs._s90
  209. #define lab_f0                 CUR _Vr2_Astrs._s91
  210. #define lab_f1                 CUR _Vr2_Astrs._s92
  211. #define lab_f10             CUR _Vr2_Astrs._s93
  212. #define lab_f2                 CUR _Vr2_Astrs._s94
  213. #define lab_f3                 CUR _Vr2_Astrs._s95
  214. #define lab_f4                 CUR _Vr2_Astrs._s96
  215. #define lab_f5                 CUR _Vr2_Astrs._s97
  216. #define lab_f6                 CUR _Vr2_Astrs._s98
  217. #define lab_f7                 CUR _Vr2_Astrs._s99
  218. #define lab_f8                 CUR _Vr2_Astrs._s100
  219. #define lab_f9                 CUR _Vr2_Bstrs._s101
  220. #define meta_off             CUR _Vr2_Bstrs._s102
  221. #define meta_on             CUR _Vr2_Bstrs._s103
  222. #define newline             CUR _Vr2_Bstrs._s104
  223. #define pad_char             CUR _Vr2_Bstrs._s105
  224. #define parm_dch             CUR _Vr2_Bstrs._s106
  225. #define parm_delete_line         CUR _Vr2_Bstrs._s107
  226. #define parm_down_cursor         CUR _Vr2_Bstrs._s108
  227. #define parm_ich             CUR _Vr2_Bstrs._s109
  228. #define parm_index             CUR _Vr2_Bstrs._s110
  229. #define parm_insert_line         CUR _Vr2_Bstrs._s111
  230. #define parm_left_cursor         CUR _Vr2_Bstrs._s112
  231. #define parm_right_cursor         CUR _Vr2_Bstrs._s113
  232. #define parm_rindex             CUR _Vr2_Bstrs._s114
  233. #define parm_up_cursor             CUR _Vr2_Bstrs._s115
  234. #define pkey_key             CUR _Vr2_Bstrs._s116
  235. #define pkey_local             CUR _Vr2_Bstrs._s117
  236. #define pkey_xmit             CUR _Vr2_Bstrs._s118
  237. #define print_screen             CUR _Vr2_Bstrs._s119
  238. #define prtr_off             CUR _Vr2_Bstrs._s120
  239. #define prtr_on             CUR _Vr2_Bstrs._s121
  240. #define repeat_char             CUR _Vr2_Bstrs._s122
  241. #define reset_1string             CUR _Vr2_Bstrs._s123
  242. #define reset_2string             CUR _Vr2_Bstrs._s124
  243. #define reset_3string             CUR _Vr2_Bstrs._s125
  244. #define reset_file             CUR _Vr2_Bstrs._s126
  245. #define restore_cursor             CUR _Vr2_Bstrs._s127
  246. #define row_address             CUR _Vr2_Bstrs._s128
  247. #define save_cursor             CUR _Vr2_Bstrs._s129
  248. #define scroll_forward             CUR _Vr2_Bstrs._s130
  249. #define scroll_reverse             CUR _Vr2_Bstrs._s131
  250. #define set_attributes             CUR _Vr2_Bstrs._s132
  251. #define set_tab             CUR _Vr2_Bstrs._s133
  252. #define set_window             CUR _Vr2_Bstrs._s134
  253. #define tab                 CUR _Vr2_Bstrs._s135
  254. #define to_status_line             CUR _Vr2_Bstrs._s136
  255. #define underline_char             CUR _Vr2_Bstrs._s137
  256. #define up_half_line             CUR _Vr2_Bstrs._s138
  257. #define init_prog             CUR _Vr2_Bstrs._s139
  258. #define key_a1                 CUR _Vr2_Bstrs._s140
  259. #define key_a3                 CUR _Vr2_Bstrs._s141
  260. #define key_b2                 CUR _Vr2_Bstrs._s142
  261. #define key_c1                 CUR _Vr2_Bstrs._s143
  262. #define key_c3                 CUR _Vr2_Bstrs._s144
  263. #define prtr_non             CUR _Vr2_Bstrs._s145
  264. #define char_padding             CURS strs2._char_padding
  265. #define acs_chars             CURS strs2._acs_chars
  266. #define plab_norm             CURS strs2._plab_norm
  267. #define key_btab             CURS strs2._ky_btab
  268. #define enter_xon_mode             CURS strs2._entr_xon_mode
  269. #define exit_xon_mode             CURS strs2._exit_xon_mode
  270. #define enter_am_mode             CURS strs2._entr_am_mode
  271. #define exit_am_mode             CURS strs2._exit_am_mode
  272. #define xon_character             CURS strs2._xon_character
  273. #define xoff_character             CURS strs2._xoff_character
  274. #define ena_acs             CURS strs2._ena_acs
  275. #define label_on             CURS strs2._labl_on
  276. #define label_off             CURS strs2._labl_off
  277. #define key_beg             CURS strs2._ky_beg
  278. #define key_cancel             CURS strs2._ky_cancel
  279. #define key_close             CURS strs2._ky_close
  280. #define key_command             CURS strs2._ky_command
  281. #define key_copy             CURS strs2._ky_copy
  282. #define key_create             CURS strs2._ky_create
  283. #define key_end             CURS strs2._ky_end
  284. #define key_enter             CURS strs2._ky_enter
  285. #define key_exit             CURS strs2._ky_exit
  286. #define key_find             CURS strs2._ky_find
  287. #define key_help             CURS strs2._ky_help
  288. #define key_mark             CURS strs2._ky_mark
  289. #define key_message             CURS strs2._ky_message
  290. #define key_move             CURS strs2._ky_move
  291. #define key_next             CURS strs2._ky_next
  292. #define key_open             CURS strs2._ky_open
  293. #define key_options             CURS strs2._ky_options
  294. #define key_previous             CURS strs2._ky_previous
  295. #define key_print             CURS strs2._ky_print
  296. #define key_redo             CURS strs2._ky_redo
  297. #define key_reference             CURS strs2._ky_reference
  298. #define key_refresh             CURS strs2._ky_refresh
  299. #define key_replace             CURS strs2._ky_replace
  300. #define key_restart             CURS strs2._ky_restart
  301. #define key_resume             CURS strs2._ky_resume
  302. #define key_save             CURS strs2._ky_save
  303. #define key_suspend             CURS strs2._ky_suspend
  304. #define key_undo             CURS strs2._ky_undo
  305. #define key_sbeg             CURS strs2._ky_sbeg
  306. #define key_scancel             CURS strs2._ky_scancel
  307. #define key_scommand             CURS strs2._ky_scommand
  308. #define key_scopy             CURS strs2._ky_scopy
  309. #define key_screate             CURS strs2._ky_screate
  310. #define key_sdc             CURS strs2._ky_sdc
  311. #define key_sdl             CURS strs2._ky_sdl
  312. #define key_select             CURS strs2._ky_select
  313. #define key_send             CURS strs2._ky_send
  314. #define key_seol             CURS strs2._ky_seol
  315. #define key_sexit             CURS strs2._ky_sexit
  316. #define key_sfind             CURS strs2._ky_sfind
  317. #define key_shelp             CURS strs2._ky_shelp
  318. #define key_shome             CURS strs2._ky_shome
  319. #define key_sic             CURS strs3._ky_sic
  320. #define key_sleft             CURS strs3._ky_sleft
  321. #define key_smessage             CURS strs3._ky_smessage
  322. #define key_smove             CURS strs3._ky_smove
  323. #define key_snext             CURS strs3._ky_snext
  324. #define key_soptions             CURS strs3._ky_soptions
  325. #define key_sprevious             CURS strs3._ky_sprevious
  326. #define key_sprint             CURS strs3._ky_sprint
  327. #define key_sredo             CURS strs3._ky_sredo
  328. #define key_sreplace             CURS strs3._ky_sreplace
  329. #define key_sright             CURS strs3._ky_sright
  330. #define key_srsume             CURS strs3._ky_srsume
  331. #define key_ssave             CURS strs3._ky_ssave
  332. #define key_ssuspend             CURS strs3._ky_ssuspend
  333. #define key_sundo             CURS strs3._ky_sundo
  334. #define req_for_input             CURS strs3._req_for_input
  335. #define key_f11             CURS strs3._ky_f11
  336. #define key_f12             CURS strs3._ky_f12
  337. #define key_f13             CURS strs3._ky_f13
  338. #define key_f14             CURS strs3._ky_f14
  339. #define key_f15             CURS strs3._ky_f15
  340. #define key_f16             CURS strs3._ky_f16
  341. #define key_f17             CURS strs3._ky_f17
  342. #define key_f18             CURS strs3._ky_f18
  343. #define key_f19             CURS strs3._ky_f19
  344. #define key_f20             CURS strs3._ky_f20
  345. #define key_f21             CURS strs3._ky_f21
  346. #define key_f22             CURS strs3._ky_f22
  347. #define key_f23             CURS strs3._ky_f23
  348. #define key_f24             CURS strs3._ky_f24
  349. #define key_f25             CURS strs3._ky_f25
  350. #define key_f26             CURS strs3._ky_f26
  351. #define key_f27             CURS strs3._ky_f27
  352. #define key_f28             CURS strs3._ky_f28
  353. #define key_f29             CURS strs3._ky_f29
  354. #define key_f30             CURS strs3._ky_f30
  355. #define key_f31             CURS strs3._ky_f31
  356. #define key_f32             CURS strs3._ky_f32
  357. #define key_f33             CURS strs3._ky_f33
  358. #define key_f34             CURS strs3._ky_f34
  359. #define key_f35             CURS strs3._ky_f35
  360. #define key_f36             CURS strs3._ky_f36
  361. #define key_f37             CURS strs3._ky_f37
  362. #define key_f38             CURS strs3._ky_f38
  363. #define key_f39             CURS strs3._ky_f39
  364. #define key_f40             CURS strs3._ky_f40
  365. #define key_f41             CURS strs3._ky_f41
  366. #define key_f42             CURS strs3._ky_f42
  367. #define key_f43             CURS strs3._ky_f43
  368. #define key_f44             CURS strs3._ky_f44
  369. #define key_f45             CURS strs3._ky_f45
  370. #define key_f46             CURS strs3._ky_f46
  371. #define key_f47             CURS strs3._ky_f47
  372. #define key_f48             CURS strs3._ky_f48
  373. #define key_f49             CURS strs3._ky_f49
  374. #define key_f50             CURS strs3._ky_f50
  375. #define key_f51             CURS strs3._ky_f51
  376. #define key_f52             CURS strs3._ky_f52
  377. #define key_f53             CURS strs3._ky_f53
  378. #define key_f54             CURS strs3._ky_f54
  379. #define key_f55             CURS strs3._ky_f55
  380. #define key_f56             CURS strs3._ky_f56
  381. #define key_f57             CURS strs3._ky_f57
  382. #define key_f58             CURS strs3._ky_f58
  383. #define key_f59             CURS strs3._ky_f59
  384. #define key_f60             CURS strs3._ky_f60
  385. #define key_f61             CURS strs3._ky_f61
  386. #define key_f62             CURS strs3._ky_f62
  387. #define key_f63             CURS strs3._ky_f63
  388. #define clr_bol             CURS strs3._clr_bol
  389. #define clear_margins             CURS strs3._clear_margins
  390. #define set_left_margin         CURS strs3._set_left_margin
  391. #define set_right_margin         CURS strs3._set_right_margin
  392. #define label_format             CURS strs3._labl_format
  393. #define set_clock             CURS strs3._set_clock
  394. #define display_clock             CURS strs3._display_clock
  395. #define remove_clock             CURS strs3._remove_clock
  396. #define create_window             CURS strs3._create_window
  397. #define goto_window             CURS strs3._goto_window
  398. #define hangup                 CURS strs3._hangup
  399. #define dial_phone             CURS strs3._dial_phone
  400. #define quick_dial             CURS strs3._quick_dial
  401. #define tone                 CURS strs3._tone
  402. #define pulse                 CURS strs3._pulse
  403. #define flash_hook             CURS strs3._flash_hook
  404. #define fixed_pause             CURS strs3._fixed_pause
  405. #define wait_tone             CURS strs3._wait_tone
  406. #define user0                 CURS strs3._user0
  407. #define user1                 CURS strs3._user1
  408. #define user2                 CURS strs3._user2
  409. #define user3                 CURS strs3._user3
  410. #define user4                 CURS strs3._user4
  411. #define user5                 CURS strs3._user5
  412. #define user6                 CURS strs3._user6
  413. #define user7                 CURS strs3._user7
  414. #define user8                 CURS strs3._user8
  415. #define user9                 CURS strs3._user9
  416. #define orig_pair             CURS strs3._orig_pair
  417. #define orig_colors             CURS strs3._orig_colors
  418. #define initialize_color         CURS strs3._initialize_color
  419. #define initialize_pair         CURS strs4._initialize_pair
  420. #define set_color_pair             CURS strs4._set_color_pair
  421. #define set_foreground             CURS strs4._set_foreground
  422. #define set_background             CURS strs4._set_background
  423. #define change_char_pitch         CURS strs4._change_char_pitch
  424. #define change_line_pitch         CURS strs4._change_line_pitch
  425. #define change_res_horz         CURS strs4._change_res_horz
  426. #define change_res_vert         CURS strs4._change_res_vert
  427. #define define_char             CURS strs4._define_char
  428. #define enter_doublewide_mode         CURS strs4._entr_doublewide_mode
  429. #define enter_draft_quality         CURS strs4._entr_draft_quality
  430. #define enter_italics_mode         CURS strs4._entr_italics_mode
  431. #define enter_leftward_mode         CURS strs4._entr_leftward_mode
  432. #define enter_micro_mode         CURS strs4._entr_micro_mode
  433. #define enter_near_letter_quality         CURS strs4._entr_near_letter_quality
  434. #define enter_normal_quality         CURS strs4._entr_normal_quality
  435. #define enter_shadow_mode         CURS strs4._entr_shadow_mode
  436. #define enter_subscript_mode         CURS strs4._entr_subscript_mode
  437. #define enter_superscript_mode         CURS strs4._entr_superscript_mode
  438. #define enter_upward_mode         CURS strs4._entr_upward_mode
  439. #define exit_doublewide_mode         CURS strs4._exit_doublewide_mode
  440. #define exit_italics_mode         CURS strs4._exit_italics_mode
  441. #define exit_leftward_mode         CURS strs4._exit_leftward_mode
  442. #define exit_micro_mode         CURS strs4._exit_micro_mode
  443. #define exit_shadow_mode         CURS strs4._exit_shadow_mode
  444. #define exit_subscript_mode         CURS strs4._exit_subscript_mode
  445. #define exit_superscript_mode         CURS strs4._exit_superscript_mode
  446. #define exit_upward_mode         CURS strs4._exit_upward_mode
  447. #define micro_column_address         CURS strs4._micro_column_address
  448. #define micro_down             CURS strs4._micro_down
  449. #define micro_left             CURS strs4._micro_left
  450. #define micro_right             CURS strs4._micro_right
  451. #define micro_row_address         CURS strs4._micro_row_address
  452. #define micro_up             CURS strs4._micro_up
  453. #define order_of_pins             CURS strs4._order_of_pins
  454. #define parm_down_micro         CURS strs4._prm_down_micro
  455. #define parm_left_micro         CURS strs4._prm_left_micro
  456. #define parm_right_micro         CURS strs4._prm_right_micro
  457. #define parm_up_micro             CURS strs4._prm_up_micro
  458. #define select_char_set         CURS strs4._select_char_set
  459. #define set_bottom_margin         CURS strs4._set_bottom_margin
  460. #define set_bottom_margin_parm         CURS strs4._set_bottom_margin_parm
  461. #define set_left_margin_parm         CURS strs4._set_left_margin_parm
  462. #define set_right_margin_parm         CURS strs4._set_right_margin_parm
  463. #define set_top_margin             CURS strs4._set_top_margin
  464. #define set_top_margin_parm         CURS strs4._set_top_margin_parm
  465. #define start_bit_image         CURS strs4._start_bit_image
  466. #define start_char_set_def         CURS strs4._start_char_set_def
  467. #define stop_bit_image             CURS strs4._stop_bit_image
  468. #define stop_char_set_def         CURS strs4._stop_char_set_def
  469. #define subscript_characters         CURS strs4._subscript_characters
  470. #define superscript_characters         CURS strs4._superscript_characters
  471. #define these_cause_cr             CURS strs4._these_cause_cr
  472. #define zero_motion             CURS strs4._zero_motion
  473. #define char_set_names             CURS strs4._char_set_names
  474. #define key_mouse             CURS strs4._ky_mouse
  475. #define mouse_info             CURS strs4._mouse_info
  476. #define req_mouse_pos             CURS strs4._req_mouse_pos
  477. #define get_mouse             CURS strs4._get_mouse
  478. #define set_a_foreground         CURS strs4._set_a_foreground
  479. #define set_a_background         CURS strs4._set_a_background
  480. #define pkey_plab             CURS strs4._pkey_plab
  481. #define device_type             CURS strs4._device_type
  482. #define code_set_init             CURS strs4._code_set_init
  483. #define set0_des_seq             CURS strs4._set0_des_seq
  484. #define set1_des_seq             CURS strs4._set1_des_seq
  485. #define set2_des_seq             CURS strs4._set2_des_seq
  486. #define set3_des_seq             CURS strs4._set3_des_seq
  487. #define set_lr_margin             CURS strs4._set_lr_margin
  488. #define set_tb_margin             CURS strs4._set_tb_margin
  489. #define bit_image_repeat         CURS strs4._bit_image_repeat
  490. #define bit_image_newline         CURS strs4._bit_image_newline
  491. #define bit_image_carriage_return         CURS strs4._bit_image_carriage_return
  492. #define color_names             CURS strs4._color_names
  493. #define define_bit_image_region         CURS strs4._define_bit_image_region
  494. #define end_bit_image_region         CURS strs4._end_bit_image_region
  495. #define set_color_band             CURS strs4._set_color_band
  496. #define set_page_length         CURS strs4._set_page_length
  497. #define display_pc_char         CURS strs4._display_pc_char
  498. #define enter_pc_charset_mode         CURS strs4._entr_pc_charset_mode
  499. #define exit_pc_charset_mode         CURS strs4._exit_pc_charset_mode
  500. #define enter_scancode_mode         CURS strs4._entr_scancode_mode
  501. #define exit_scancode_mode         CURS strs4._exit_scancode_mode
  502. #define pc_term_options         CURS strs4._pc_term_options
  503. #define scancode_escape         CURS strs4._scancode_escape
  504. #define alt_scancode_esc         CURS strs4._alt_scancode_esc
  505. #define set_pglen_inch             CURS strs4._set_pglen_inch
  506.  
  507. typedef char *charptr;
  508. struct strs {
  509.     charptr
  510.     _back_tab,        /* Back tab */
  511.     _bell,            /* Audible signal (bell) */
  512.     _carriage_return,    /* Carriage return (*) */
  513.     _change_scroll_region,    /* change to lines #1 thru #2 (vt100) (G) */
  514.     _clear_all_tabs,    /* Clear all tab stops. */
  515.     _clear_screen,        /* Clear screen (*) */
  516.     _clr_eol,        /* Clear to end of line */
  517.     _clr_eos,        /* Clear to end of display (*) */
  518.     _column_address,    /* Set cursor column (G) */
  519.     _command_character,    /* Term. settable cmd char in prototype */
  520.     _crsr_address,        /* Cursor motion to row #1 col #2 (G) */
  521.     _crsr_down,        /* Down one line */
  522.     _crsr_home,        /* Home cursor (if no cup) */
  523.     _crsr_invisible,    /* Make cursor invisible */
  524.     _crsr_left,        /* Move cursor left one space. */
  525.     _crsr_mem_address,    /* Memory relative cursor addressing. */
  526.     _crsr_normal,        /* Make cursor appear normal (undo vs/vi) */
  527.     _crsr_right,        /* Non-destructive space (cursor right) */
  528.     _crsr_to_ll,        /* Last line, first column (if no cup) */
  529.     _crsr_up,        /* Upline (cursor up) */
  530.     _crsr_visible,        /* Make cursor very visible */
  531.     _dlt_character,    /* Delete character (*) */
  532.     _dlt_line,        /* Delete line (*) */
  533.     _dis_status_line,    /* Disable status line */
  534.     _down_half_line,    /* Half-line down (forward 1/2 linefeed) */
  535.     _entr_alt_charset_mode,    /* Start alternate character set */
  536.     _entr_blink_mode,    /* Turn on blinking */
  537.     _entr_bold_mode,    /* Turn on bold (extra bright) mode */
  538.     _entr_ca_mode,        /* String to begin programs that use cup */
  539.     _entr_delete_mode,    /* Delete mode (enter) */
  540.     _entr_dim_mode,        /* Turn on half-bright mode */
  541.     _entr_insert_mode,    /* Insert mode (enter); */
  542.     _entr_secure_mode,    /* Turn on blank mode (chars invisible) */
  543.     _entr_protected_mode,    /* Turn on protected mode */
  544.     _entr_reverse_mode,    /* Turn on reverse video mode */
  545.     _entr_standout_mode,    /* Begin stand out mode */
  546.     _entr_underline_mode,    /* Start underscore mode */
  547.     _erase_chars,        /* Erase #1 characters (G) */
  548.     _exit_alt_charset_mode,    /* End alternate character set */
  549.     _exit_attribute_mode,    /* Turn off all attributes */
  550.     _exit_ca_mode,        /* String to end programs that use cup */
  551.     _exit_delete_mode,    /* End delete mode */
  552.     _exit_insert_mode,    /* End insert mode; */
  553.     _exit_standout_mode,    /* End stand out mode */
  554.     _exit_underline_mode,    /* End underscore mode */
  555.     _flash_screen,        /* Visible bell (may not move cursor) */
  556.     _form_feed,        /* Hardcopy terminal page eject (*) */
  557.     _from_status_line,    /* Return from status line */
  558.     _init_1string,        /* Terminal initialization string */
  559.     _init_2string,        /* Terminal initialization string */
  560.     _init_3string,        /* Terminal initialization string */
  561.     _init_file,        /* Name of file containing is */
  562.     _ins_character,    /* Insert character */
  563.     _ins_line,        /* Add new blank line (*) */
  564.     _ins_padding,        /* Insert pad after character inserted (*) */
  565.     _ky_backspace,        /* KEY_BACKSPACE, 0407, Sent by backspace key */
  566.     _ky_catab,        /* KEY_CATAB, 0526, Sent by clear-all-tabs key. */
  567.     _ky_clear,        /* KEY_CLEAR, 0515, Sent by clear screen or erase key. */
  568.     _ky_ctab,        /* KEY_CTAB, 0525, Sent by clear-tab key */
  569.     _ky_dc,            /* KEY_DC, 0512, Sent by delete character key. */
  570.     _ky_dl,            /* KEY_DL, 0510, Sent by delete line key. */
  571.     _ky_down,        /* KEY_DOWN, 0402, Sent by terminal down arrow key */
  572.     _ky_eic,        /* KEY_EIC, 0514, Sent by rmir or smir in insert mode. */
  573.     _ky_eol,        /* KEY_EOL, 0517, Sent by clear-to-end-of-line key. */
  574.     _ky_eos,        /* KEY_EOS, 0516, Sent by clear-to-end-of-screen key. */
  575.     _ky_f0,            /* KEY_F(0), 0410, function key f0. */
  576.     _ky_f1,            /* KEY_F(1), 0411, function key f1. */
  577.     _ky_f10,        /* KEY_F(10), 0422, function key f10. */
  578.     _ky_f2,            /* KEY_F(2), 0412, function key f2. */
  579.     _ky_f3,            /* KEY_F(3), 0413, function key f3. */
  580.     _ky_f4,            /* KEY_F(4), 0414, function key f4. */
  581.     _ky_f5,            /* KEY_F(5), 0415, function key f5. */
  582.     _ky_f6,            /* KEY_F(6), 0416, function key f6. */
  583.     _ky_f7,            /* KEY_F(7), 0417, function key f7. */
  584.     _ky_f8,            /* KEY_F(8), 0420, function key f8. */
  585.     _ky_f9,            /* KEY_F(9), 0421, function key f9. */
  586.     _ky_home,        /* KEY_HOME, 0406, Sent by home key. */
  587.     _ky_ic,            /* KEY_IC, 0513, Sent by ins char/enter ins mode key. */
  588.     _ky_il,            /* KEY_IL, 0511, Sent by insert line. */
  589.     _ky_left,        /* KEY_LEFT, 0404, Sent by terminal left arrow key */
  590.     _ky_ll,            /* KEY_LL, 0533, Sent by home-down key */
  591.     _ky_npage,        /* KEY_NPAGE, 0522, Sent by next-page key */
  592.     _ky_ppage,        /* KEY_PPAGE, 0523, Sent by previous-page key */
  593.     _ky_right,        /* KEY_RIGHT, 0405, Sent by terminal right arrow key */
  594.     _ky_sf,            /* KEY_SF, 0520, Sent by scroll-forward/down key */
  595.     _ky_sr,            /* KEY_SR, 0521, Sent by scroll-backward/up key */
  596.     _ky_stab,        /* KEY_STAB, 0524, Sent by set-tab key */
  597.     _ky_up,            /* KEY_UP, 0403, Sent by terminal up arrow key */
  598.     _kpad_local,        /* Out of "keypad transmit" mode */
  599.     _kpad_xmit,        /* Put terminal in "keypad transmit" mode */
  600.     _lab_f0,        /* Labels on function key f0 if not f0 */
  601.     _lab_f1,        /* Labels on function key f1 if not f1 */
  602.     _lab_f10,        /* Labels on function key f10 if not f10 */
  603.     _lab_f2,        /* Labels on function key f2 if not f2 */
  604.     _lab_f3,        /* Labels on function key f3 if not f3 */
  605.     _lab_f4,        /* Labels on function key f4 if not f4 */
  606.     _lab_f5,        /* Labels on function key f5 if not f5 */
  607.     _lab_f6,        /* Labels on function key f6 if not f6 */
  608.     _lab_f7,        /* Labels on function key f7 if not f7 */
  609.     _lab_f8;            /* Labels on function key f8 if not f8 */
  610. };
  611.  
  612. struct strs2 {
  613.     charptr
  614.     _lab_f9,        /* Labels on function key f9 if not f9 */
  615.     _meta_off,        /* Turn off "meta mode" */
  616.     _meta_on,        /* Turn on "meta mode" (8th bit) */
  617.     _newline,        /* Newline (behaves like cr followed by lf) */
  618.     _pad_char,        /* Pad character (rather than null) */
  619.     _prm_dch,        /* Delete #1 chars (G*) */
  620.     _prm_delete_line,    /* Delete #1 lines (G*) */
  621.     _prm_down_cursor,    /* Move cursor down #1 lines. (G*) */
  622.     _prm_ich,        /* Insert #1 blank chars (G*) */
  623.     _prm_index,        /* Scroll forward #1 lines. (G) */
  624.     _prm_insert_line,    /* Add #1 new blank lines (G*) */
  625.     _prm_left_cursor,    /* Move cursor left #1 spaces (G) */
  626.     _prm_right_cursor,    /* Move cursor right #1 spaces. (G*) */
  627.     _prm_rindex,        /* Scroll backward #1 lines. (G) */
  628.     _prm_up_cursor,        /* Move cursor up #1 lines. (G*) */
  629.     _pkey_key,        /* Prog funct key #1 to type string #2 */
  630.     _pkey_local,        /* Prog funct key #1 to execute string #2 */
  631.     _pkey_xmit,        /* Prog funct key #1 to xmit string #2 */
  632.     _print_screen,        /* Print contents of the screen */
  633.     _prtr_off,        /* Turn off the printer */
  634.     _prtr_on,        /* Turn on the printer */
  635.     _repeat_char,        /* Repeat char #1 #2 times.  (G*) */
  636.     _reset_1string,        /* Reset terminal completely to sane modes. */
  637.     _reset_2string,        /* Reset terminal completely to sane modes. */
  638.     _reset_3string,        /* Reset terminal completely to sane modes. */
  639.     _reset_file,        /* Name of file containing reset string. */
  640.     _restore_cursor,    /* Restore cursor to position of last sc. */
  641.     _row_address,        /* Like hpa but sets row. (G) */
  642.     _save_cursor,        /* Save cursor position. */
  643.     _scrll_forward,        /* Scroll text up */
  644.     _scrll_reverse,        /* Scroll text down */
  645.     _set_attributes,    /* Define the video attributes (G9) */
  646.     _set_tab,        /* Set a tab in all rows, current column. */
  647.     _set_window,        /* Current window is lines #1-#2 cols #3-#4 */
  648.     _tab,            /* Tab to next 8 space hardware tab stop. */
  649.     _to_status_line,    /* Go to status line, col #1 */
  650.     _underline_char,    /* Underscore one char and move past it */
  651.     _up_half_line,        /* Half-line up (reverse 1/2 linefeed) */
  652.     _init_prog,        /* Path name of program for init. */
  653.     _ky_a1,            /* KEY_A1, 0534, Upper left of keypad */
  654.     _ky_a3,            /* KEY_A3, 0535, Upper right of keypad */
  655.     _ky_b2,            /* KEY_B2, 0536, Center of keypad */
  656.     _ky_c1,            /* KEY_C1, 0537, Lower left of keypad */
  657.     _ky_c3,            /* KEY_C3, 0540, Lower right of keypad */
  658.     _prtr_non,        /* Turn on the printer for #1 bytes. */
  659.     _char_padding,        /* Like ip but when in replace mode */
  660.     _acs_chars,        /* Graphic charset pairs aAbBcC - def=vt100 */
  661.     _plab_norm,        /* Prog label #1 to show string #2 */
  662.     _ky_btab,        /* KEY_BTAB, 0541, Back tab key */
  663.     _entr_xon_mode,        /* Turn on xon/xoff handshaking */
  664.     _exit_xon_mode,        /* Turn off xon/xoff handshaking */
  665.     _entr_am_mode,        /* Turn on automatic margins */
  666.     _exit_am_mode,        /* Turn off automatic margins */
  667.     _xon_character,        /* X-on character */
  668.     _xoff_character,    /* X-off character */
  669.     _ena_acs,        /* Enable alternate char set */
  670.     _labl_on,        /* Turn on soft labels */
  671.     _labl_off,        /* Turn off soft labels */
  672.     _ky_beg,        /* KEY_BEG, 0542, beg(inning) key */
  673.     _ky_cancel,        /* KEY_CANCEL, 0543, cancel key */
  674.     _ky_close,        /* KEY_CLOSE, 0544, close key */
  675.     _ky_command,        /* KEY_COMMAND, 0545, cmd (command) key */
  676.     _ky_copy,        /* KEY_COPY, 0546, copy key */
  677.     _ky_create,        /* KEY_CREATE, 0547, create key */
  678.     _ky_end,        /* KEY_END, 0550, end key */
  679.     _ky_enter,        /* KEY_ENTER, 0527, Enter/send (unreliable) */
  680.     _ky_exit,        /* KEY_EXIT, 0551, exit key */
  681.     _ky_find,        /* KEY_FIND, 0552, find key */
  682.     _ky_help,        /* KEY_HELP, 0553, help key */
  683.     _ky_mark,        /* KEY_MARK, 0554, mark key */
  684.     _ky_message,        /* KEY_MESSAGE, 0555, message key */
  685.     _ky_move,        /* KEY_MOVE, 0556, move key */
  686.     _ky_next,        /* KEY_NEXT, 0557, next object key */
  687.     _ky_open,        /* KEY_OPEN, 0560, open key */
  688.     _ky_options,        /* KEY_OPTIONS, 0561, options key */
  689.     _ky_previous,        /* KEY_PREVIOUS, 0562, previous object key */
  690.     _ky_print,        /* KEY_PRINT, 0532, print or copy */
  691.     _ky_redo,        /* KEY_REDO, 0563, redo key */
  692.     _ky_reference,        /* KEY_REFERENCE, 0564, ref(erence) key */
  693.     _ky_refresh,        /* KEY_REFRESH, 0565, refresh key */
  694.     _ky_replace,        /* KEY_REPLACE, 0566, replace key */
  695.     _ky_restart,        /* KEY_RESTART, 0567, restart key */
  696.     _ky_resume,        /* KEY_RESUME, 0570, resume key */
  697.     _ky_save,        /* KEY_SAVE, 0571, save key */
  698.     _ky_suspend,        /* KEY_SUSPEND, 0627, suspend key */
  699.     _ky_undo,        /* KEY_UNDO, 0630, undo key */
  700.     _ky_sbeg,        /* KEY_SBEG, 0572, shifted beginning key */
  701.     _ky_scancel,        /* KEY_SCANCEL, 0573, shifted cancel key */
  702.     _ky_scommand,        /* KEY_SCOMMAND, 0574, shifted command key */
  703.     _ky_scopy,        /* KEY_SCOPY, 0575, shifted copy key */
  704.     _ky_screate,        /* KEY_SCREATE, 0576, shifted create key */
  705.     _ky_sdc,        /* KEY_SDC, 0577, shifted delete char key */
  706.     _ky_sdl,        /* KEY_SDL, 0600, shifted delete line key */
  707.     _ky_select,        /* KEY_SELECT, 0601, select key */
  708.     _ky_send,        /* KEY_SEND, 0602, shifted end key */
  709.     _ky_seol,        /* KEY_SEOL, 0603, shifted clear line key */
  710.     _ky_sexit,        /* KEY_SEXIT, 0604, shifted exit key */
  711.     _ky_sfind,        /* KEY_SFIND, 0605, shifted find key */
  712.     _ky_shelp,        /* KEY_SHELP, 0606, shifted help key */
  713.     _ky_shome;        /* KEY_SHOME, 0607, shifted home key */
  714. };
  715.  
  716. struct strs3 {
  717.     charptr
  718.     _ky_sic,        /* KEY_SIC, 0610, shifted input key */
  719.     _ky_sleft,        /* KEY_SLEFT, 0611, shifted left arrow key */
  720.     _ky_smessage,        /* KEY_SMESSAGE, 0612, shifted message key */
  721.     _ky_smove,        /* KEY_SMOVE, 0613, shifted move key */
  722.     _ky_snext,        /* KEY_SNEXT, 0614, shifted next key */
  723.     _ky_soptions,        /* KEY_SOPTIONS, 0615, shifted options key */
  724.     _ky_sprevious,        /* KEY_SPREVIOUS, 0616, shifted prev key */
  725.     _ky_sprint,        /* KEY_SPRINT, 0617, shifted print key */
  726.     _ky_sredo,        /* KEY_SREDO, 0620, shifted redo key */
  727.     _ky_sreplace,        /* KEY_SREPLACE, 0621, shifted replace key */
  728.     _ky_sright,        /* KEY_SRIGHT, 0622, shifted right arrow */
  729.     _ky_srsume,        /* KEY_SRSUME, 0623, shifted resume key */
  730.     _ky_ssave,        /* KEY_SSAVE, 0624, shifted save key */
  731.     _ky_ssuspend,        /* KEY_SSUSPEND, 0625, shifted suspend key */
  732.     _ky_sundo,        /* KEY_SUNDO, 0626, shifted undo key */
  733.     _req_for_input,        /* send next input char (for ptys) */
  734.     _ky_f11,        /* KEY_F(11), 0423, function key f11. */
  735.     _ky_f12,        /* KEY_F(12), 0424, function key f12. */
  736.     _ky_f13,        /* KEY_F(13), 0425, function key f13. */
  737.     _ky_f14,        /* KEY_F(14), 0426, function key f14. */
  738.     _ky_f15,        /* KEY_F(15), 0427, function key f15. */
  739.     _ky_f16,        /* KEY_F(16), 0430, function key f16. */
  740.     _ky_f17,        /* KEY_F(17), 0431, function key f17. */
  741.     _ky_f18,        /* KEY_F(18), 0432, function key f18. */
  742.     _ky_f19,        /* KEY_F(19), 0433, function key f19. */
  743.     _ky_f20,        /* KEY_F(20), 0434, function key f20. */
  744.     _ky_f21,        /* KEY_F(21), 0435, function key f21. */
  745.     _ky_f22,        /* KEY_F(22), 0436, function key f22. */
  746.     _ky_f23,        /* KEY_F(23), 0437, function key f23. */
  747.     _ky_f24,        /* KEY_F(24), 0440, function key f24. */
  748.     _ky_f25,        /* KEY_F(25), 0441, function key f25. */
  749.     _ky_f26,        /* KEY_F(26), 0442, function key f26. */
  750.     _ky_f27,        /* KEY_F(27), 0443, function key f27. */
  751.     _ky_f28,        /* KEY_F(28), 0444, function key f28. */
  752.     _ky_f29,        /* KEY_F(29), 0445, function key f29. */
  753.     _ky_f30,        /* KEY_F(30), 0446, function key f30. */
  754.     _ky_f31,        /* KEY_F(31), 0447, function key f31. */
  755.     _ky_f32,        /* KEY_F(32), 0450, function key f32. */
  756.     _ky_f33,        /* KEY_F(33), 0451, function key f33. */
  757.     _ky_f34,        /* KEY_F(34), 0452, function key f34. */
  758.     _ky_f35,        /* KEY_F(35), 0453, function key f35. */
  759.     _ky_f36,        /* KEY_F(36), 0454, function key f36. */
  760.     _ky_f37,        /* KEY_F(37), 0455, function key f37. */
  761.     _ky_f38,        /* KEY_F(38), 0456, function key f38. */
  762.     _ky_f39,        /* KEY_F(39), 0457, function key f39. */
  763.     _ky_f40,        /* KEY_F(40), 0460, function key f40. */
  764.     _ky_f41,        /* KEY_F(41), 0461, function key f41. */
  765.     _ky_f42,        /* KEY_F(42), 0462, function key f42. */
  766.     _ky_f43,        /* KEY_F(43), 0463, function key f43. */
  767.     _ky_f44,        /* KEY_F(44), 0464, function key f44. */
  768.     _ky_f45,        /* KEY_F(45), 0465, function key f45. */
  769.     _ky_f46,        /* KEY_F(46), 0466, function key f46. */
  770.     _ky_f47,        /* KEY_F(47), 0467, function key f47. */
  771.     _ky_f48,        /* KEY_F(48), 0470, function key f48. */
  772.     _ky_f49,        /* KEY_F(49), 0471, function key f49. */
  773.     _ky_f50,        /* KEY_F(50), 0472, function key f50. */
  774.     _ky_f51,        /* KEY_F(51), 0473, function key f51. */
  775.     _ky_f52,        /* KEY_F(52), 0474, function key f52. */
  776.     _ky_f53,        /* KEY_F(53), 0475, function key f53. */
  777.     _ky_f54,        /* KEY_F(54), 0476, function key f54. */
  778.     _ky_f55,        /* KEY_F(55), 0477, function key f55. */
  779.     _ky_f56,        /* KEY_F(56), 0500, function key f56. */
  780.     _ky_f57,        /* KEY_F(57), 0501, function key f57. */
  781.     _ky_f58,        /* KEY_F(58), 0502, function key f58. */
  782.     _ky_f59,        /* KEY_F(59), 0503, function key f59. */
  783.     _ky_f60,        /* KEY_F(60), 0504, function key f60. */
  784.     _ky_f61,        /* KEY_F(61), 0505, function key f61. */
  785.     _ky_f62,        /* KEY_F(62), 0506, function key f62. */
  786.     _ky_f63,        /* KEY_F(63), 0507, function key f63. */
  787.     _clr_bol,        /* Clear to beginning of line, inclusive */
  788.     _clear_margins,        /* Clear left and right soft margins */
  789.     _set_left_margin,    /* Set soft left margin */
  790.     _set_right_margin,    /* Set soft right margin */
  791.     _labl_format,        /* Label format */
  792.     _set_clock,        /* Set time-of-day clock */
  793.     _display_clock,        /* Display time-of-day clock */
  794.     _remove_clock,        /* Remove time-of-day clock */
  795.     _create_window,        /* Define win #1 to go from #2,#3 to #4,#5 */
  796.     _goto_window,        /* Got to window #1 */
  797.     _hangup,        /* Hang-up phone */
  798.     _dial_phone,        /* Dial phone number #1 */
  799.     _quick_dial,        /* Dial phone number #1, without progress detection */
  800.     _tone,            /* Select touch tone dialing */
  801.     _pulse,            /* Select pulse dialing */
  802.     _flash_hook,        /* Flash the switch hook */
  803.     _fixed_pause,        /* Pause for 2-3 seconds */
  804.     _wait_tone,        /* Wait for dial tone */
  805.     _user0,            /* User string 0 */
  806.     _user1,            /* User string 1 */
  807.     _user2,            /* User string 2 */
  808.     _user3,            /* User string 3 */
  809.     _user4,            /* User string 4 */
  810.     _user5,            /* User string 5 */
  811.     _user6,            /* User string 6 */
  812.     _user7,            /* User string 7 */
  813.     _user8,            /* User string 8 */
  814.     _user9,            /* User string 9 */
  815.     _orig_pair,        /* Original color-pair */
  816.     _orig_colors,        /* Original colors */
  817.     _initialize_color;    /* Initialize the definition of color */
  818. };
  819.  
  820. struct strs4 {
  821.     charptr
  822.     _initialize_pair,    /* Initialize color pair */
  823.     _set_color_pair,    /* Set color pair     */
  824.     _set_foreground,    /* Set foreground color using RGB escape */
  825.     _set_background,    /* Set background color using RGB escape */
  826.     _change_char_pitch,    /* Change no. characters per inch */
  827.     _change_line_pitch,    /* Change no. lines per inch */
  828.     _change_res_horz,    /* Change horizontal resolution */
  829.     _change_res_vert,    /* Change vertical resolution */
  830.     _define_char,        /* Define a character in a character set */
  831.     _entr_doublewide_mode,    /* Enable double wide printing */
  832.     _entr_draft_quality,    /* Set draft quality print */
  833.     _entr_italics_mode,    /* Enable italics */
  834.     _entr_leftward_mode,    /* Enable leftward carriage motion */
  835.     _entr_micro_mode,    /* Enable micro motion capabilities */
  836.     _entr_near_letter_quality,    /* Set near-letter quality print */
  837.     _entr_normal_quality,    /* Set normal quality print */
  838.     _entr_shadow_mode,    /* Enable shadow printing */
  839.     _entr_subscript_mode,    /* Enable subscript printing */
  840.     _entr_superscript_mode,    /* Enable superscript printing */
  841.     _entr_upward_mode,    /* Enable upward carriage motion */
  842.     _exit_doublewide_mode,    /* Disable double wide printing */
  843.     _exit_italics_mode,    /* Disable italics */
  844.     _exit_leftward_mode,    /* Enable rightward (normal) carriage motion */
  845.     _exit_micro_mode,    /* Disable micro motion capabilities */
  846.     _exit_shadow_mode,    /* Disable shadow printing */
  847.     _exit_subscript_mode,    /* Disable subscript printing */
  848.     _exit_superscript_mode,    /* Disable superscript printing */
  849.     _exit_upward_mode,    /* Enable downward (normal) carriage motion */
  850.     _micro_column_address,    /* Like column_address for micro adjustment */
  851.     _micro_down,        /* Like cursor_down for micro adjustment */
  852.     _micro_left,        /* Like cursor_left for micro adjustment */
  853.     _micro_right,        /* Like cursor_right for micro adjustment */
  854.     _micro_row_address,    /* Like row_address for micro adjustment */
  855.     _micro_up,        /* Like cursor_up for micro adjustment */
  856.     _order_of_pins,        /* Matches software bits to print-head pins */
  857.     _prm_down_micro,    /* Like parm_down_cursor for micro adjust. */
  858.     _prm_left_micro,    /* Like parm_left_cursor for micro adjust. */
  859.     _prm_right_micro,    /* Like parm_right_cursor for micro adjust. */
  860.     _prm_up_micro,        /* Like parm_up_cursor for micro adjust. */
  861.     _select_char_set,    /* Select character set */
  862.     _set_bottom_margin,    /* Set soft bottom margin at current line */
  863.     _set_bottom_margin_parm,/* Set soft bottom margin */
  864.     _set_left_margin_parm,    /* Set soft left margin */
  865.     _set_right_margin_parm,    /* Set soft right margin */
  866.     _set_top_margin,    /* Set soft top margin at current line */
  867.     _set_top_margin_parm,    /* Set soft top margin */
  868.     _start_bit_image,    /* Start printing bit image graphics */
  869.     _start_char_set_def,    /* Start definition of a character set */
  870.     _stop_bit_image,    /* End printing bit image graphics (use tputs) */
  871.     _stop_char_set_def,    /* End definition of a character set */
  872.     _subscript_characters,    /* List of ``subscript-able'' characters */
  873.     _superscript_characters,/* List of ``superscript-able'' characters */
  874.     _these_cause_cr,    /* Printing any of these chars causes cr */
  875.     _zero_motion,        /* No motion for the subsequent character */
  876.     _char_set_names,    /* List of character set names */
  877.     _ky_mouse,        /* KEY_MOUSE, 0631, Mouse event has occured */
  878.     _mouse_info,        /* Mouse status information */
  879.     _req_mouse_pos,        /* Request mouse position report */
  880.     _get_mouse,        /* Curses should get button events */
  881.     _set_a_foreground,    /* Set foreground color using ANSI escape */
  882.     _set_a_background,    /* Set background color using ANSI escape */
  883.     _pkey_plab,        /* Prog key #1 to xmit string #2 and show string #3 */
  884.     _device_type,        /* Indicate language/codeset support */
  885.     _code_set_init,        /* Init sequence for multiple codesets */
  886.     _set0_des_seq,        /* Shift into codeset 0 (EUC set 0, ASCII) */
  887.     _set1_des_seq,        /* Shift into codeset 1 */
  888.     _set2_des_seq,        /* Shift into codeset 2 */
  889.     _set3_des_seq,        /* Shift into codeset 3 */
  890.     _set_lr_margin,        /* Sets both left and right margins */
  891.     _set_tb_margin,        /* Sets both top and bottom margins */
  892.     _bit_image_repeat,    /* Repeat bit-image cell #1 #2 times (use tparm) */
  893.     _bit_image_newline,    /* Move to next row of the bit image (use tparm) */
  894.     _bit_image_carriage_return,    /* Move to beginning of same row (use tparm) */
  895.     _color_names,        /* Give name for color #1 */
  896.     _define_bit_image_region,    /* Define rectangular bit-image region (use tparm) */
  897.     _end_bit_image_region,    /* End a bit-image region (use tparm) */
  898.     _set_color_band,    /* Change to ribbon color #1 */
  899.     _set_page_length,    /* Set page length to #1 lines (use tparm) */
  900.     _display_pc_char,    /* Display PC character */
  901.     _entr_pc_charset_mode,    /* Enter PC character display mode */
  902.     _exit_pc_charset_mode,    /* Disable PC character display mode */
  903.     _entr_scancode_mode,    /* Enter PC scancode mode */
  904.     _exit_scancode_mode,    /* Disable PC scancode mode */
  905.     _pc_term_options,    /* PC terminal options */
  906.     _scancode_escape,    /* Escape for scancode emulation */
  907.     _alt_scancode_esc,    /* Alternate escape for scancode emulation */
  908.     _set_pglen_inch,    /* Set page length to #1 hundredths of an inch (use tparm) */
  909.     Sentinel;        /* End of strings. DO NOT MOVE! */
  910. };
  911.  
  912. struct _bool_struct {
  913.     char
  914.     _auto_left_margin,    /* cub1 wraps from column 0 to last column */
  915.     _auto_right_margin,    /* Terminal has automatic margins */
  916.     _no_esc_ctlc,        /* Beehive (f1=escape, f2=ctrl C) */
  917.     _ceol_standout_glitch,    /* Standout not erased by overwriting (hp) */
  918.     _eat_newline_glitch,    /* newline ignored after 80 cols (Concept) */
  919.     _erase_overstrike,    /* Can erase overstrikes with a blank */
  920.     _generic_type,        /* Generic line type (e.g. dialup, switch). */
  921.     _hard_copy,        /* Hardcopy terminal */
  922.     _has_meta_key,        /* Has a meta key (shift, sets parity bit) */
  923.     _has_status_line,    /* Has extra "status line" */
  924.     _ins_null_glitch,    /* Insert mode distinguishes nulls */
  925.     _mem_above,        /* Display may be retained above the screen */
  926.     _mem_below,        /* Display may be retained below the screen */
  927.     _move_insert_mode,    /* Safe to move while in insert mode */
  928.     _move_standout_mode,    /* Safe to move in standout modes */
  929.     _over_strike,        /* Terminal overstrikes */
  930.     _status_line_esc_ok,    /* Escape can be used on the status line */
  931.     _dest_tabs_magic_smso,    /* Tabs destructive, magic so char (t1061) */
  932.     _tilde_glitch,        /* Hazeltine; can't print ~'s */
  933.     _transparent_underline,    /* underline character overstrikes */
  934.     _xon_xoff,        /* Terminal uses xon/xoff handshaking */
  935.     _needs_xon_xoff,    /* Padding won't work, xon/xoff required */
  936.     _prtr_silent,        /* Printer won't echo on screen. */
  937.     _hard_cursor,        /* Cursor is hard to see. */
  938.     _non_rev_rmcup,        /* Smcup does not reverse rmcup. */
  939.     _no_pad_char,        /* Pad character doesn't exist. */
  940.     _non_dest_scroll_region,/* Scrolling region is non-destructive. */
  941.     _can_change,        /* Can re-define existing color */
  942.     _back_color_erase,    /* Erases screen with current background */
  943.     _hue_lightness_saturation,    /* HLS color notation is used (Tek) */
  944.     _col_addr_glitch,    /* Only positive motion for hpa/mhpa caps */
  945.     _cr_cancels_micro_mode,    /* Using cr turns off micro mode */
  946.     _has_print_wheel,    /* Printer needs operator to change character set */
  947.     _row_addr_glitch,    /* Only positive motion for vpa/mvpa caps */
  948.     _semi_auto_right_margin,/* Printing in last column causes cr */
  949.     _cpi_changes_res,    /* Changing char. pitch changes resolution */
  950.     _lpi_changes_res,    /* Changing line pitch changes resolution */
  951.     Sentinel;        /* End of bools. DO NOT MOVE! */
  952. };
  953.  
  954. struct _num_struct {
  955.     short
  956.     _columns,        /* Number of columns in a line */
  957.     _init_tabs,        /* Tabs initially every # spaces. */
  958.     _lines,            /* Number of lines on screen or page */
  959.     _lines_of_memory,    /* Lines of memory if > lines.  0 => varies */
  960.     _magic_cookie_glitch,    /* Number blank chars left by smso or rmso */
  961.     _padding_baud_rate,    /* Lowest baud rate where padding needed */
  962.     _virtual_terminal,    /* Virtual terminal number (CB/Unix) */
  963.     _width_status_line,    /* # columns in status line */
  964.     _num_labels,        /* # of labels on screen (start at 1) */
  965.     _labl_height,        /* # rows in each label */
  966.     _labl_width,        /* # cols in each label */
  967.     _max_attributes,    /* max combined video attributes terminal can display */
  968.     _maximum_windows,    /* Maximum number of defineable windows */
  969.     _max_colors,        /* max # of color on the screen */
  970.     _max_pairs,        /* max # of color pairs on the screen */
  971.     _no_color_video,    /* Video attributes that cannot be used with colors */
  972.     _buffer_capacity,    /* Number of bytes buffered before printing */
  973.     _dot_vert_spacing,    /* Spacing of pins vertically in pins per inch */
  974.     _dot_horz_spacing,    /* Spacing of dots horizontally in dots per inch */
  975.     _max_micro_address,    /* Maximum value in micro_..._address */
  976.     _max_micro_jump,    /* Maximum value in parm_..._micro */
  977.     _micro_char_size,    /* Character step size when in micro mode */
  978.     _micro_line_size,    /* Line step size when in micro mode */
  979.     _number_of_pins,    /* Number of pins in print-head */
  980.     _output_res_char,    /* Horizontal resolution in units per character */
  981.     _output_res_line,    /* Vertical resolution in units per line */
  982.     _output_res_horz_inch,    /* Horizontal resolution in units per inch */
  983.     _output_res_vert_inch,    /* Vertical resolution in units per inch */
  984.     _print_rate,        /* Print rate in characters per second */
  985.     _wide_char_size,    /* Character step size when in double wide mode */
  986.     _buttons,        /* Number of buttons on the mouse */
  987.     _bit_image_entwining,    /* Number of passes for each bit-image row */
  988.     _bit_image_type,    /* Type of bit-image device */
  989.     Sentinel;        /* End of nums. DO NOT MOVE! */
  990. };
  991.  
  992. struct _str_struct {
  993.     struct strs strs;
  994.     struct strs2 strs2;
  995.     struct strs3 strs3;
  996.     struct strs4 strs4;
  997. };
  998.  
  999. #define NUM_ATTRIBUTES    9
  1000. #define    UNACCESSIBLE        1
  1001. #define    NO_TERMINAL        2
  1002. #define CORRUPTED        3
  1003. #define    ENTRY_TOO_LONG        4
  1004. #define    TERMINFO_TOO_LONG    5
  1005. #define    TERM_BAD_MALLOC        6
  1006. #define NOT_READABLE        7
  1007. #define _VR2_COMPAT_CODE
  1008. #ifdef _VR2_COMPAT_CODE
  1009. struct _Vr2_Astrs {
  1010.     charptr
  1011.     _s1,  _s2,  _s3,  _s4,  _s5,  _s6,  _s7,  _s8,  _s9,  _s10,
  1012.     _s11, _s12, _s13, _s14, _s15, _s16, _s17, _s18, _s19, _s20,
  1013.     _s21, _s22, _s23, _s24, _s25, _s26, _s27, _s28, _s29, _s30,
  1014.     _s31, _s32, _s33, _s34, _s35, _s36, _s37, _s38, _s39, _s40,
  1015.     _s41, _s42, _s43, _s44, _s45, _s46, _s47, _s48, _s49, _s50,
  1016.     _s51, _s52, _s53, _s54, _s55, _s56, _s57, _s58, _s59, _s60,
  1017.     _s61, _s62, _s63, _s64, _s65, _s66, _s67, _s68, _s69, _s70,
  1018.     _s71, _s72, _s73, _s74, _s75, _s76, _s77, _s78, _s79, _s80,
  1019.     _s81, _s82, _s83, _s84, _s85, _s86, _s87, _s88, _s89, _s90,
  1020.     _s91, _s92, _s93, _s94, _s95, _s96, _s97, _s98, _s99, _s100;
  1021. };
  1022.  
  1023. struct _Vr2_Bstrs {
  1024.     charptr
  1025.     _s101, _s102, _s103, _s104, _s105, _s106, _s107, _s108, _s109, _s110,
  1026.     _s111, _s112, _s113, _s114, _s115, _s116, _s117, _s118, _s119, _s120,
  1027.     _s121, _s122, _s123, _s124, _s125, _s126, _s127, _s128, _s129, _s130,
  1028.     _s131, _s132, _s133, _s134, _s135, _s136, _s137, _s138, _s139, _s140,
  1029.     _s141, _s142, _s143, _s144, _s145;
  1030. };
  1031. #endif /* _VR2_COMPAT_CODE */
  1032.  
  1033. typedef struct {
  1034.     unsigned char *_sends;    /* Characters sent when key is pressed */
  1035.     short _keyval;    /* "char" we pass back to program */
  1036. } _KEY_MAP;
  1037.  
  1038. typedef struct {
  1039.     short  foreground;   /* foreground color */
  1040.     short  background;   /* background color */
  1041.     bool   init;         /* TRUE if pair was initialized */
  1042. } _Color_pair;
  1043.  
  1044.  
  1045. typedef struct {
  1046.     short    r, g, b;
  1047. } _Color;
  1048.  
  1049.  
  1050. /*
  1051.  * This definition for the term struct allows the boolean, number
  1052.  * and string information to grow in the future and still allow .o
  1053.  * compatibility.
  1054.  */
  1055.  
  1056. struct term {
  1057. #ifdef _VR2_COMPAT_CODE
  1058.     char
  1059.     _b1,  _b2,  _b3,  _b4,  _b5,  _b6,  _b7,  _b8,  _b9,  _b10,
  1060.     _b11, _b12, _b13, _b14, _b15, _b16, _b17, _b18, _b19, _b20, _b21;
  1061.     short
  1062.     _c1, _c2, _c3, _c4, _c5, _c6, _c7, _c8;
  1063.     struct _Vr2_Astrs _Vr2_Astrs;
  1064.     struct _Vr2_Bstrs _Vr2_Bstrs;
  1065. #endif /* _VR2_COMPAT_CODE */
  1066.     short Filedes;        /* file descriptor being written to */
  1067.     SGTTY Ottyb,        /* original state of the terminal */
  1068.           Nttyb;        /* current state of the terminal */
  1069. #ifdef DIOCSETT
  1070.     struct termcb new, old;    /* CB/UNIX virtual terminals */
  1071. #endif
  1072. #ifdef LTILDE
  1073.     int newlmode, oldlmode;    /* BSD tty driver */
  1074. #endif
  1075.     /* end of Vr2 structure */
  1076.     struct _bool_struct *_bools;
  1077.     struct _num_struct *_nums;
  1078.     struct _str_struct *_strs;
  1079.     char *_strtab;
  1080. #ifdef FIONREAD
  1081.     long timeout;        /* for BSD halfdelay mode */
  1082. #endif
  1083.     /* end of Vr3 structure */
  1084.     chtype sgr_mode;        /* current phys. graphic rendition */
  1085.     chtype sgr_faked;        /* attributes faked by vidputs */
  1086.     int    _delay;            /* timeout for inputs */
  1087.     int    _inputfd;        /* input file descriptor */
  1088.     int    _check_fd;        /* typeahead file descriptor */
  1089.     _KEY_MAP    **_keys,    /* key map */
  1090.             *internal_keys;    /* pointer to free key structures */
  1091.     short        _ksz,        /* size of keymap */
  1092.             _lastkey_ordered,/* where the last ordered key is */
  1093.             _lastmacro_ordered,/* where the last ordered macro is */
  1094.             _first_macro;
  1095.     bool                /* map of which chars start fn keys */
  1096.             funckeystarter[0400];    
  1097.     bool        _fl_rawmode,    /* in cbreak(=1) or raw(=2) mode */
  1098.             fl_typeahdok,    /* ok to use typeahead */
  1099.             _cursorstate,    /* cursor: 0=invis, 1=norm, 2=vvis */
  1100.             _iwait;        /* true if input-pending */
  1101.     short        _regs[26];    /* tparm static registers */
  1102. #define INP_QSIZE    32
  1103.     chtype                /* a place to put stuff ungetch'ed */
  1104.             _input_queue[INP_QSIZE];
  1105.     short        _ungotten;    /* # chars ungotten by ungetch() */
  1106.     char        _chars_on_queue; /* # chars on queue */
  1107. #ifdef _VR3_COMPAT_CODE
  1108.     _ochtype    *_acsmap;
  1109.     chtype        *_acs32map;    /* map of alternate char set chars */
  1110. #else /* _VR3_COMPAT_CODE */
  1111.     chtype        *_acsmap;    /* map of alternate char set chars */
  1112. #endif /* _VR3_COMPAT_CODE */
  1113.     char        *turn_on_seq[NUM_ATTRIBUTES];
  1114.     chtype        bit_vector;
  1115.     char        *cursor_seq[3];
  1116.     char        _termname[15];
  1117.     char        *turn_off_seq[3];
  1118.     chtype        check_turn_off;
  1119.     chtype        non_faked_mode;
  1120.         _Color_pair    _cur_pair;
  1121.         _Color_pair    *_pairs_tbl;
  1122.         _Color        *_color_tbl;
  1123. };
  1124.  
  1125. typedef struct term TERMINAL;
  1126.  
  1127. /* allow old names for these capabilities */
  1128. #define beehive_glitch    no_esc_ctlc
  1129. #define teleray_glitch    dest_tabs_magic_smso
  1130.  
  1131.  
  1132. extern TERMINAL            *cur_term;
  1133. extern struct _bool_struct    *cur_bools;
  1134. extern struct _num_struct    *cur_nums;
  1135. extern struct _str_struct    *cur_strs;
  1136.  
  1137. #ifdef SINGLE
  1138. extern TERMINAL            _first_term;
  1139. extern struct _bool_struct    _frst_bools;
  1140. extern struct _num_struct    _frst_nums;
  1141. extern struct _str_struct    _frst_strs;
  1142.  
  1143. #define    CUR            _first_term.
  1144. #define    CURB            _frst_bools.
  1145. #define    CURN            _frst_nums.
  1146. #define    CURS            _frst_strs.
  1147. #define    PROGTTY         _first_term.Nttyb
  1148. #define    SHELLTTY        _first_term.Ottyb
  1149. #else
  1150. #define    CUR            cur_term->
  1151. #define    CURB            cur_bools->
  1152. #define    CURN            cur_nums->
  1153. #define    CURS            cur_strs->
  1154. #define    PROGTTY         (cur_term->Nttyb)
  1155. #define    SHELLTTY        (cur_term->Ottyb)
  1156. #endif
  1157.  
  1158. #ifndef NOMACROS
  1159. #define set_curterm    setcurterm
  1160. #define del_curterm    delterm
  1161. #else   /* NOMACROS */
  1162.  
  1163. extern    TERMINAL    *set_curterm();
  1164. extern    int        del_curterm();
  1165.  
  1166. #endif  /* NOMACROS */
  1167.  
  1168. extern    short    term_errno;
  1169.  
  1170. extern    char    term_parm_err[], *term_err_strings[], *Def_term,
  1171.         *boolnames[], *boolcodes[], *boolfnames[],
  1172.         *numnames[], *numcodes[], *numfnames[],
  1173.         *strnames[], *strcodes[], *strfnames[];
  1174.  
  1175. extern    TERMINAL    *setcurterm _PARAMS((TERMINAL *));
  1176. extern    char    *tparm(), *tgoto _PARAMS((char *, int, int)), *tgetstr _PARAMS((char *, char **)), *tigetstr _PARAMS((char *)),
  1177.         *termname();
  1178.  
  1179. extern    int    tgetent _PARAMS((char *, char *)), tgetflag _PARAMS((char *)), tgetnum _PARAMS((char *)),
  1180.         tputs _PARAMS((char *, int, int (*) (char))), putp _PARAMS((char *)), vidputs(), vidattr();
  1181.  
  1182. extern    int    resetterm(), fixterm(), saveterm(),
  1183.         restartterm _PARAMS((char *, int, int *)), delterm _PARAMS((TERMINAL *));
  1184.  
  1185. extern    void    termerr(), tinputfd _PARAMS((int));
  1186.  
  1187.  
  1188. #endif /* auto_left_margin */
  1189.  
  1190. #pragma    pack()
  1191.  
  1192. #endif    /* _TERM_H */
  1193.