jpayne@69: /**************************************************************************** jpayne@69: * Copyright 2018-2021,2023 Thomas E. Dickey * jpayne@69: * Copyright 1998-2013,2017 Free Software Foundation, Inc. * jpayne@69: * * jpayne@69: * Permission is hereby granted, free of charge, to any person obtaining a * jpayne@69: * copy of this software and associated documentation files (the * jpayne@69: * "Software"), to deal in the Software without restriction, including * jpayne@69: * without limitation the rights to use, copy, modify, merge, publish, * jpayne@69: * distribute, distribute with modifications, sublicense, and/or sell * jpayne@69: * copies of the Software, and to permit persons to whom the Software is * jpayne@69: * furnished to do so, subject to the following conditions: * jpayne@69: * * jpayne@69: * The above copyright notice and this permission notice shall be included * jpayne@69: * in all copies or substantial portions of the Software. * jpayne@69: * * jpayne@69: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * jpayne@69: * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * jpayne@69: * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * jpayne@69: * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * jpayne@69: * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * jpayne@69: * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * jpayne@69: * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * jpayne@69: * * jpayne@69: * Except as contained in this notice, the name(s) of the above copyright * jpayne@69: * holders shall not be used in advertising or otherwise to promote the * jpayne@69: * sale, use or other dealings in this Software without prior written * jpayne@69: * authorization. * jpayne@69: ****************************************************************************/ jpayne@69: jpayne@69: /****************************************************************************/ jpayne@69: /* Author: Zeyd M. Ben-Halim 1992,1995 */ jpayne@69: /* and: Eric S. Raymond */ jpayne@69: /* and: Thomas E. Dickey 1995-on */ jpayne@69: /****************************************************************************/ jpayne@69: jpayne@69: /* $Id: MKterm.h.awk.in,v 1.85 2023/04/23 19:15:36 tom Exp $ */ jpayne@69: jpayne@69: /* jpayne@69: ** term.h -- Definition of struct term jpayne@69: */ jpayne@69: jpayne@69: #ifndef NCURSES_TERM_H_incl jpayne@69: #define NCURSES_TERM_H_incl 1 jpayne@69: jpayne@69: #undef NCURSES_VERSION jpayne@69: #define NCURSES_VERSION "6.5" jpayne@69: jpayne@69: #include jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: /* Make this file self-contained by providing defaults for the HAVE_TERMIO[S]_H jpayne@69: * definition (based on the system for which this was configured). jpayne@69: */ jpayne@69: jpayne@69: #ifndef __NCURSES_H jpayne@69: jpayne@69: typedef struct screen SCREEN; jpayne@69: jpayne@69: #if 1 jpayne@69: #undef NCURSES_SP_FUNCS jpayne@69: #define NCURSES_SP_FUNCS 20240427 jpayne@69: #undef NCURSES_SP_NAME jpayne@69: #define NCURSES_SP_NAME(name) name##_sp jpayne@69: jpayne@69: /* Define the sp-funcs helper function */ jpayne@69: #undef NCURSES_SP_OUTC jpayne@69: #define NCURSES_SP_OUTC NCURSES_SP_NAME(NCURSES_OUTC) jpayne@69: typedef int (*NCURSES_SP_OUTC)(SCREEN*, int); jpayne@69: #endif jpayne@69: jpayne@69: #endif /* __NCURSES_H */ jpayne@69: jpayne@69: #undef NCURSES_CONST jpayne@69: #define NCURSES_CONST const jpayne@69: jpayne@69: #undef NCURSES_SBOOL jpayne@69: #define NCURSES_SBOOL char jpayne@69: jpayne@69: #undef NCURSES_USE_DATABASE jpayne@69: #define NCURSES_USE_DATABASE 1 jpayne@69: jpayne@69: #undef NCURSES_USE_TERMCAP jpayne@69: #define NCURSES_USE_TERMCAP 1 jpayne@69: jpayne@69: #undef NCURSES_XNAMES jpayne@69: #define NCURSES_XNAMES 1 jpayne@69: jpayne@69: /* We will use these symbols to hide differences between jpayne@69: * termios/termio/sgttyb interfaces. jpayne@69: */ jpayne@69: #undef TTY jpayne@69: #undef SET_TTY jpayne@69: #undef GET_TTY jpayne@69: jpayne@69: /* Assume POSIX termio if we have the header and function */ jpayne@69: /* #if HAVE_TERMIOS_H && HAVE_TCGETATTR */ jpayne@69: #if 1 && 1 jpayne@69: jpayne@69: #undef TERMIOS jpayne@69: #define TERMIOS 1 jpayne@69: jpayne@69: #include jpayne@69: #define TTY struct termios jpayne@69: jpayne@69: #else /* !HAVE_TERMIOS_H */ jpayne@69: jpayne@69: /* #if HAVE_TERMIO_H */ jpayne@69: #if 1 jpayne@69: jpayne@69: #undef TERMIOS jpayne@69: #define TERMIOS 1 jpayne@69: jpayne@69: #include jpayne@69: #define TTY struct termio jpayne@69: jpayne@69: #else /* !HAVE_TERMIO_H */ jpayne@69: jpayne@69: #if (defined(_WIN32) || defined(_WIN64)) jpayne@69: #if 0 jpayne@69: #include jpayne@69: #define TTY struct winconmode jpayne@69: #else jpayne@69: #include jpayne@69: #define TTY struct termios jpayne@69: #endif jpayne@69: #else jpayne@69: #undef TERMIOS jpayne@69: #include jpayne@69: #include jpayne@69: #define TTY struct sgttyb jpayne@69: #endif /* MINGW32 */ jpayne@69: #endif /* HAVE_TERMIO_H */ jpayne@69: jpayne@69: #endif /* HAVE_TERMIOS_H */ jpayne@69: jpayne@69: #ifdef TERMIOS jpayne@69: #define GET_TTY(fd, buf) tcgetattr(fd, buf) jpayne@69: #define SET_TTY(fd, buf) tcsetattr(fd, TCSADRAIN, buf) jpayne@69: #elif 0 && (defined(_WIN32) || defined(_WIN64)) jpayne@69: #define GET_TTY(fd, buf) _nc_console_getmode(_nc_console_fd2handle(fd),buf) jpayne@69: #define SET_TTY(fd, buf) _nc_console_setmode(_nc_console_fd2handle(fd),buf) jpayne@69: #else jpayne@69: #define GET_TTY(fd, buf) gtty(fd, buf) jpayne@69: #define SET_TTY(fd, buf) stty(fd, buf) jpayne@69: #endif jpayne@69: jpayne@69: #ifndef GCC_NORETURN jpayne@69: #define GCC_NORETURN /* nothing */ jpayne@69: #endif jpayne@69: jpayne@69: #define NAMESIZE 256 jpayne@69: jpayne@69: /* The cast works because TERMTYPE is the first data in TERMINAL */ jpayne@69: #define CUR ((TERMTYPE *)(cur_term))-> jpayne@69: jpayne@69: #define auto_left_margin CUR Booleans[0] jpayne@69: #define auto_right_margin CUR Booleans[1] jpayne@69: #define no_esc_ctlc CUR Booleans[2] jpayne@69: #define ceol_standout_glitch CUR Booleans[3] jpayne@69: #define eat_newline_glitch CUR Booleans[4] jpayne@69: #define erase_overstrike CUR Booleans[5] jpayne@69: #define generic_type CUR Booleans[6] jpayne@69: #define hard_copy CUR Booleans[7] jpayne@69: #define has_meta_key CUR Booleans[8] jpayne@69: #define has_status_line CUR Booleans[9] jpayne@69: #define insert_null_glitch CUR Booleans[10] jpayne@69: #define memory_above CUR Booleans[11] jpayne@69: #define memory_below CUR Booleans[12] jpayne@69: #define move_insert_mode CUR Booleans[13] jpayne@69: #define move_standout_mode CUR Booleans[14] jpayne@69: #define over_strike CUR Booleans[15] jpayne@69: #define status_line_esc_ok CUR Booleans[16] jpayne@69: #define dest_tabs_magic_smso CUR Booleans[17] jpayne@69: #define tilde_glitch CUR Booleans[18] jpayne@69: #define transparent_underline CUR Booleans[19] jpayne@69: #define xon_xoff CUR Booleans[20] jpayne@69: #define needs_xon_xoff CUR Booleans[21] jpayne@69: #define prtr_silent CUR Booleans[22] jpayne@69: #define hard_cursor CUR Booleans[23] jpayne@69: #define non_rev_rmcup CUR Booleans[24] jpayne@69: #define no_pad_char CUR Booleans[25] jpayne@69: #define non_dest_scroll_region CUR Booleans[26] jpayne@69: #define can_change CUR Booleans[27] jpayne@69: #define back_color_erase CUR Booleans[28] jpayne@69: #define hue_lightness_saturation CUR Booleans[29] jpayne@69: #define col_addr_glitch CUR Booleans[30] jpayne@69: #define cr_cancels_micro_mode CUR Booleans[31] jpayne@69: #define has_print_wheel CUR Booleans[32] jpayne@69: #define row_addr_glitch CUR Booleans[33] jpayne@69: #define semi_auto_right_margin CUR Booleans[34] jpayne@69: #define cpi_changes_res CUR Booleans[35] jpayne@69: #define lpi_changes_res CUR Booleans[36] jpayne@69: #define columns CUR Numbers[0] jpayne@69: #define init_tabs CUR Numbers[1] jpayne@69: #define lines CUR Numbers[2] jpayne@69: #define lines_of_memory CUR Numbers[3] jpayne@69: #define magic_cookie_glitch CUR Numbers[4] jpayne@69: #define padding_baud_rate CUR Numbers[5] jpayne@69: #define virtual_terminal CUR Numbers[6] jpayne@69: #define width_status_line CUR Numbers[7] jpayne@69: #define num_labels CUR Numbers[8] jpayne@69: #define label_height CUR Numbers[9] jpayne@69: #define label_width CUR Numbers[10] jpayne@69: #define max_attributes CUR Numbers[11] jpayne@69: #define maximum_windows CUR Numbers[12] jpayne@69: #define max_colors CUR Numbers[13] jpayne@69: #define max_pairs CUR Numbers[14] jpayne@69: #define no_color_video CUR Numbers[15] jpayne@69: #define buffer_capacity CUR Numbers[16] jpayne@69: #define dot_vert_spacing CUR Numbers[17] jpayne@69: #define dot_horz_spacing CUR Numbers[18] jpayne@69: #define max_micro_address CUR Numbers[19] jpayne@69: #define max_micro_jump CUR Numbers[20] jpayne@69: #define micro_col_size CUR Numbers[21] jpayne@69: #define micro_line_size CUR Numbers[22] jpayne@69: #define number_of_pins CUR Numbers[23] jpayne@69: #define output_res_char CUR Numbers[24] jpayne@69: #define output_res_line CUR Numbers[25] jpayne@69: #define output_res_horz_inch CUR Numbers[26] jpayne@69: #define output_res_vert_inch CUR Numbers[27] jpayne@69: #define print_rate CUR Numbers[28] jpayne@69: #define wide_char_size CUR Numbers[29] jpayne@69: #define buttons CUR Numbers[30] jpayne@69: #define bit_image_entwining CUR Numbers[31] jpayne@69: #define bit_image_type CUR Numbers[32] jpayne@69: #define back_tab CUR Strings[0] jpayne@69: #define bell CUR Strings[1] jpayne@69: #define carriage_return CUR Strings[2] jpayne@69: #define change_scroll_region CUR Strings[3] jpayne@69: #define clear_all_tabs CUR Strings[4] jpayne@69: #define clear_screen CUR Strings[5] jpayne@69: #define clr_eol CUR Strings[6] jpayne@69: #define clr_eos CUR Strings[7] jpayne@69: #define column_address CUR Strings[8] jpayne@69: #define command_character CUR Strings[9] jpayne@69: #define cursor_address CUR Strings[10] jpayne@69: #define cursor_down CUR Strings[11] jpayne@69: #define cursor_home CUR Strings[12] jpayne@69: #define cursor_invisible CUR Strings[13] jpayne@69: #define cursor_left CUR Strings[14] jpayne@69: #define cursor_mem_address CUR Strings[15] jpayne@69: #define cursor_normal CUR Strings[16] jpayne@69: #define cursor_right CUR Strings[17] jpayne@69: #define cursor_to_ll CUR Strings[18] jpayne@69: #define cursor_up CUR Strings[19] jpayne@69: #define cursor_visible CUR Strings[20] jpayne@69: #define delete_character CUR Strings[21] jpayne@69: #define delete_line CUR Strings[22] jpayne@69: #define dis_status_line CUR Strings[23] jpayne@69: #define down_half_line CUR Strings[24] jpayne@69: #define enter_alt_charset_mode CUR Strings[25] jpayne@69: #define enter_blink_mode CUR Strings[26] jpayne@69: #define enter_bold_mode CUR Strings[27] jpayne@69: #define enter_ca_mode CUR Strings[28] jpayne@69: #define enter_delete_mode CUR Strings[29] jpayne@69: #define enter_dim_mode CUR Strings[30] jpayne@69: #define enter_insert_mode CUR Strings[31] jpayne@69: #define enter_secure_mode CUR Strings[32] jpayne@69: #define enter_protected_mode CUR Strings[33] jpayne@69: #define enter_reverse_mode CUR Strings[34] jpayne@69: #define enter_standout_mode CUR Strings[35] jpayne@69: #define enter_underline_mode CUR Strings[36] jpayne@69: #define erase_chars CUR Strings[37] jpayne@69: #define exit_alt_charset_mode CUR Strings[38] jpayne@69: #define exit_attribute_mode CUR Strings[39] jpayne@69: #define exit_ca_mode CUR Strings[40] jpayne@69: #define exit_delete_mode CUR Strings[41] jpayne@69: #define exit_insert_mode CUR Strings[42] jpayne@69: #define exit_standout_mode CUR Strings[43] jpayne@69: #define exit_underline_mode CUR Strings[44] jpayne@69: #define flash_screen CUR Strings[45] jpayne@69: #define form_feed CUR Strings[46] jpayne@69: #define from_status_line CUR Strings[47] jpayne@69: #define init_1string CUR Strings[48] jpayne@69: #define init_2string CUR Strings[49] jpayne@69: #define init_3string CUR Strings[50] jpayne@69: #define init_file CUR Strings[51] jpayne@69: #define insert_character CUR Strings[52] jpayne@69: #define insert_line CUR Strings[53] jpayne@69: #define insert_padding CUR Strings[54] jpayne@69: #define key_backspace CUR Strings[55] jpayne@69: #define key_catab CUR Strings[56] jpayne@69: #define key_clear CUR Strings[57] jpayne@69: #define key_ctab CUR Strings[58] jpayne@69: #define key_dc CUR Strings[59] jpayne@69: #define key_dl CUR Strings[60] jpayne@69: #define key_down CUR Strings[61] jpayne@69: #define key_eic CUR Strings[62] jpayne@69: #define key_eol CUR Strings[63] jpayne@69: #define key_eos CUR Strings[64] jpayne@69: #define key_f0 CUR Strings[65] jpayne@69: #define key_f1 CUR Strings[66] jpayne@69: #define key_f10 CUR Strings[67] jpayne@69: #define key_f2 CUR Strings[68] jpayne@69: #define key_f3 CUR Strings[69] jpayne@69: #define key_f4 CUR Strings[70] jpayne@69: #define key_f5 CUR Strings[71] jpayne@69: #define key_f6 CUR Strings[72] jpayne@69: #define key_f7 CUR Strings[73] jpayne@69: #define key_f8 CUR Strings[74] jpayne@69: #define key_f9 CUR Strings[75] jpayne@69: #define key_home CUR Strings[76] jpayne@69: #define key_ic CUR Strings[77] jpayne@69: #define key_il CUR Strings[78] jpayne@69: #define key_left CUR Strings[79] jpayne@69: #define key_ll CUR Strings[80] jpayne@69: #define key_npage CUR Strings[81] jpayne@69: #define key_ppage CUR Strings[82] jpayne@69: #define key_right CUR Strings[83] jpayne@69: #define key_sf CUR Strings[84] jpayne@69: #define key_sr CUR Strings[85] jpayne@69: #define key_stab CUR Strings[86] jpayne@69: #define key_up CUR Strings[87] jpayne@69: #define keypad_local CUR Strings[88] jpayne@69: #define keypad_xmit CUR Strings[89] jpayne@69: #define lab_f0 CUR Strings[90] jpayne@69: #define lab_f1 CUR Strings[91] jpayne@69: #define lab_f10 CUR Strings[92] jpayne@69: #define lab_f2 CUR Strings[93] jpayne@69: #define lab_f3 CUR Strings[94] jpayne@69: #define lab_f4 CUR Strings[95] jpayne@69: #define lab_f5 CUR Strings[96] jpayne@69: #define lab_f6 CUR Strings[97] jpayne@69: #define lab_f7 CUR Strings[98] jpayne@69: #define lab_f8 CUR Strings[99] jpayne@69: #define lab_f9 CUR Strings[100] jpayne@69: #define meta_off CUR Strings[101] jpayne@69: #define meta_on CUR Strings[102] jpayne@69: #define newline CUR Strings[103] jpayne@69: #define pad_char CUR Strings[104] jpayne@69: #define parm_dch CUR Strings[105] jpayne@69: #define parm_delete_line CUR Strings[106] jpayne@69: #define parm_down_cursor CUR Strings[107] jpayne@69: #define parm_ich CUR Strings[108] jpayne@69: #define parm_index CUR Strings[109] jpayne@69: #define parm_insert_line CUR Strings[110] jpayne@69: #define parm_left_cursor CUR Strings[111] jpayne@69: #define parm_right_cursor CUR Strings[112] jpayne@69: #define parm_rindex CUR Strings[113] jpayne@69: #define parm_up_cursor CUR Strings[114] jpayne@69: #define pkey_key CUR Strings[115] jpayne@69: #define pkey_local CUR Strings[116] jpayne@69: #define pkey_xmit CUR Strings[117] jpayne@69: #define print_screen CUR Strings[118] jpayne@69: #define prtr_off CUR Strings[119] jpayne@69: #define prtr_on CUR Strings[120] jpayne@69: #define repeat_char CUR Strings[121] jpayne@69: #define reset_1string CUR Strings[122] jpayne@69: #define reset_2string CUR Strings[123] jpayne@69: #define reset_3string CUR Strings[124] jpayne@69: #define reset_file CUR Strings[125] jpayne@69: #define restore_cursor CUR Strings[126] jpayne@69: #define row_address CUR Strings[127] jpayne@69: #define save_cursor CUR Strings[128] jpayne@69: #define scroll_forward CUR Strings[129] jpayne@69: #define scroll_reverse CUR Strings[130] jpayne@69: #define set_attributes CUR Strings[131] jpayne@69: #define set_tab CUR Strings[132] jpayne@69: #define set_window CUR Strings[133] jpayne@69: #define tab CUR Strings[134] jpayne@69: #define to_status_line CUR Strings[135] jpayne@69: #define underline_char CUR Strings[136] jpayne@69: #define up_half_line CUR Strings[137] jpayne@69: #define init_prog CUR Strings[138] jpayne@69: #define key_a1 CUR Strings[139] jpayne@69: #define key_a3 CUR Strings[140] jpayne@69: #define key_b2 CUR Strings[141] jpayne@69: #define key_c1 CUR Strings[142] jpayne@69: #define key_c3 CUR Strings[143] jpayne@69: #define prtr_non CUR Strings[144] jpayne@69: #define char_padding CUR Strings[145] jpayne@69: #define acs_chars CUR Strings[146] jpayne@69: #define plab_norm CUR Strings[147] jpayne@69: #define key_btab CUR Strings[148] jpayne@69: #define enter_xon_mode CUR Strings[149] jpayne@69: #define exit_xon_mode CUR Strings[150] jpayne@69: #define enter_am_mode CUR Strings[151] jpayne@69: #define exit_am_mode CUR Strings[152] jpayne@69: #define xon_character CUR Strings[153] jpayne@69: #define xoff_character CUR Strings[154] jpayne@69: #define ena_acs CUR Strings[155] jpayne@69: #define label_on CUR Strings[156] jpayne@69: #define label_off CUR Strings[157] jpayne@69: #define key_beg CUR Strings[158] jpayne@69: #define key_cancel CUR Strings[159] jpayne@69: #define key_close CUR Strings[160] jpayne@69: #define key_command CUR Strings[161] jpayne@69: #define key_copy CUR Strings[162] jpayne@69: #define key_create CUR Strings[163] jpayne@69: #define key_end CUR Strings[164] jpayne@69: #define key_enter CUR Strings[165] jpayne@69: #define key_exit CUR Strings[166] jpayne@69: #define key_find CUR Strings[167] jpayne@69: #define key_help CUR Strings[168] jpayne@69: #define key_mark CUR Strings[169] jpayne@69: #define key_message CUR Strings[170] jpayne@69: #define key_move CUR Strings[171] jpayne@69: #define key_next CUR Strings[172] jpayne@69: #define key_open CUR Strings[173] jpayne@69: #define key_options CUR Strings[174] jpayne@69: #define key_previous CUR Strings[175] jpayne@69: #define key_print CUR Strings[176] jpayne@69: #define key_redo CUR Strings[177] jpayne@69: #define key_reference CUR Strings[178] jpayne@69: #define key_refresh CUR Strings[179] jpayne@69: #define key_replace CUR Strings[180] jpayne@69: #define key_restart CUR Strings[181] jpayne@69: #define key_resume CUR Strings[182] jpayne@69: #define key_save CUR Strings[183] jpayne@69: #define key_suspend CUR Strings[184] jpayne@69: #define key_undo CUR Strings[185] jpayne@69: #define key_sbeg CUR Strings[186] jpayne@69: #define key_scancel CUR Strings[187] jpayne@69: #define key_scommand CUR Strings[188] jpayne@69: #define key_scopy CUR Strings[189] jpayne@69: #define key_screate CUR Strings[190] jpayne@69: #define key_sdc CUR Strings[191] jpayne@69: #define key_sdl CUR Strings[192] jpayne@69: #define key_select CUR Strings[193] jpayne@69: #define key_send CUR Strings[194] jpayne@69: #define key_seol CUR Strings[195] jpayne@69: #define key_sexit CUR Strings[196] jpayne@69: #define key_sfind CUR Strings[197] jpayne@69: #define key_shelp CUR Strings[198] jpayne@69: #define key_shome CUR Strings[199] jpayne@69: #define key_sic CUR Strings[200] jpayne@69: #define key_sleft CUR Strings[201] jpayne@69: #define key_smessage CUR Strings[202] jpayne@69: #define key_smove CUR Strings[203] jpayne@69: #define key_snext CUR Strings[204] jpayne@69: #define key_soptions CUR Strings[205] jpayne@69: #define key_sprevious CUR Strings[206] jpayne@69: #define key_sprint CUR Strings[207] jpayne@69: #define key_sredo CUR Strings[208] jpayne@69: #define key_sreplace CUR Strings[209] jpayne@69: #define key_sright CUR Strings[210] jpayne@69: #define key_srsume CUR Strings[211] jpayne@69: #define key_ssave CUR Strings[212] jpayne@69: #define key_ssuspend CUR Strings[213] jpayne@69: #define key_sundo CUR Strings[214] jpayne@69: #define req_for_input CUR Strings[215] jpayne@69: #define key_f11 CUR Strings[216] jpayne@69: #define key_f12 CUR Strings[217] jpayne@69: #define key_f13 CUR Strings[218] jpayne@69: #define key_f14 CUR Strings[219] jpayne@69: #define key_f15 CUR Strings[220] jpayne@69: #define key_f16 CUR Strings[221] jpayne@69: #define key_f17 CUR Strings[222] jpayne@69: #define key_f18 CUR Strings[223] jpayne@69: #define key_f19 CUR Strings[224] jpayne@69: #define key_f20 CUR Strings[225] jpayne@69: #define key_f21 CUR Strings[226] jpayne@69: #define key_f22 CUR Strings[227] jpayne@69: #define key_f23 CUR Strings[228] jpayne@69: #define key_f24 CUR Strings[229] jpayne@69: #define key_f25 CUR Strings[230] jpayne@69: #define key_f26 CUR Strings[231] jpayne@69: #define key_f27 CUR Strings[232] jpayne@69: #define key_f28 CUR Strings[233] jpayne@69: #define key_f29 CUR Strings[234] jpayne@69: #define key_f30 CUR Strings[235] jpayne@69: #define key_f31 CUR Strings[236] jpayne@69: #define key_f32 CUR Strings[237] jpayne@69: #define key_f33 CUR Strings[238] jpayne@69: #define key_f34 CUR Strings[239] jpayne@69: #define key_f35 CUR Strings[240] jpayne@69: #define key_f36 CUR Strings[241] jpayne@69: #define key_f37 CUR Strings[242] jpayne@69: #define key_f38 CUR Strings[243] jpayne@69: #define key_f39 CUR Strings[244] jpayne@69: #define key_f40 CUR Strings[245] jpayne@69: #define key_f41 CUR Strings[246] jpayne@69: #define key_f42 CUR Strings[247] jpayne@69: #define key_f43 CUR Strings[248] jpayne@69: #define key_f44 CUR Strings[249] jpayne@69: #define key_f45 CUR Strings[250] jpayne@69: #define key_f46 CUR Strings[251] jpayne@69: #define key_f47 CUR Strings[252] jpayne@69: #define key_f48 CUR Strings[253] jpayne@69: #define key_f49 CUR Strings[254] jpayne@69: #define key_f50 CUR Strings[255] jpayne@69: #define key_f51 CUR Strings[256] jpayne@69: #define key_f52 CUR Strings[257] jpayne@69: #define key_f53 CUR Strings[258] jpayne@69: #define key_f54 CUR Strings[259] jpayne@69: #define key_f55 CUR Strings[260] jpayne@69: #define key_f56 CUR Strings[261] jpayne@69: #define key_f57 CUR Strings[262] jpayne@69: #define key_f58 CUR Strings[263] jpayne@69: #define key_f59 CUR Strings[264] jpayne@69: #define key_f60 CUR Strings[265] jpayne@69: #define key_f61 CUR Strings[266] jpayne@69: #define key_f62 CUR Strings[267] jpayne@69: #define key_f63 CUR Strings[268] jpayne@69: #define clr_bol CUR Strings[269] jpayne@69: #define clear_margins CUR Strings[270] jpayne@69: #define set_left_margin CUR Strings[271] jpayne@69: #define set_right_margin CUR Strings[272] jpayne@69: #define label_format CUR Strings[273] jpayne@69: #define set_clock CUR Strings[274] jpayne@69: #define display_clock CUR Strings[275] jpayne@69: #define remove_clock CUR Strings[276] jpayne@69: #define create_window CUR Strings[277] jpayne@69: #define goto_window CUR Strings[278] jpayne@69: #define hangup CUR Strings[279] jpayne@69: #define dial_phone CUR Strings[280] jpayne@69: #define quick_dial CUR Strings[281] jpayne@69: #define tone CUR Strings[282] jpayne@69: #define pulse CUR Strings[283] jpayne@69: #define flash_hook CUR Strings[284] jpayne@69: #define fixed_pause CUR Strings[285] jpayne@69: #define wait_tone CUR Strings[286] jpayne@69: #define user0 CUR Strings[287] jpayne@69: #define user1 CUR Strings[288] jpayne@69: #define user2 CUR Strings[289] jpayne@69: #define user3 CUR Strings[290] jpayne@69: #define user4 CUR Strings[291] jpayne@69: #define user5 CUR Strings[292] jpayne@69: #define user6 CUR Strings[293] jpayne@69: #define user7 CUR Strings[294] jpayne@69: #define user8 CUR Strings[295] jpayne@69: #define user9 CUR Strings[296] jpayne@69: #define orig_pair CUR Strings[297] jpayne@69: #define orig_colors CUR Strings[298] jpayne@69: #define initialize_color CUR Strings[299] jpayne@69: #define initialize_pair CUR Strings[300] jpayne@69: #define set_color_pair CUR Strings[301] jpayne@69: #define set_foreground CUR Strings[302] jpayne@69: #define set_background CUR Strings[303] jpayne@69: #define change_char_pitch CUR Strings[304] jpayne@69: #define change_line_pitch CUR Strings[305] jpayne@69: #define change_res_horz CUR Strings[306] jpayne@69: #define change_res_vert CUR Strings[307] jpayne@69: #define define_char CUR Strings[308] jpayne@69: #define enter_doublewide_mode CUR Strings[309] jpayne@69: #define enter_draft_quality CUR Strings[310] jpayne@69: #define enter_italics_mode CUR Strings[311] jpayne@69: #define enter_leftward_mode CUR Strings[312] jpayne@69: #define enter_micro_mode CUR Strings[313] jpayne@69: #define enter_near_letter_quality CUR Strings[314] jpayne@69: #define enter_normal_quality CUR Strings[315] jpayne@69: #define enter_shadow_mode CUR Strings[316] jpayne@69: #define enter_subscript_mode CUR Strings[317] jpayne@69: #define enter_superscript_mode CUR Strings[318] jpayne@69: #define enter_upward_mode CUR Strings[319] jpayne@69: #define exit_doublewide_mode CUR Strings[320] jpayne@69: #define exit_italics_mode CUR Strings[321] jpayne@69: #define exit_leftward_mode CUR Strings[322] jpayne@69: #define exit_micro_mode CUR Strings[323] jpayne@69: #define exit_shadow_mode CUR Strings[324] jpayne@69: #define exit_subscript_mode CUR Strings[325] jpayne@69: #define exit_superscript_mode CUR Strings[326] jpayne@69: #define exit_upward_mode CUR Strings[327] jpayne@69: #define micro_column_address CUR Strings[328] jpayne@69: #define micro_down CUR Strings[329] jpayne@69: #define micro_left CUR Strings[330] jpayne@69: #define micro_right CUR Strings[331] jpayne@69: #define micro_row_address CUR Strings[332] jpayne@69: #define micro_up CUR Strings[333] jpayne@69: #define order_of_pins CUR Strings[334] jpayne@69: #define parm_down_micro CUR Strings[335] jpayne@69: #define parm_left_micro CUR Strings[336] jpayne@69: #define parm_right_micro CUR Strings[337] jpayne@69: #define parm_up_micro CUR Strings[338] jpayne@69: #define select_char_set CUR Strings[339] jpayne@69: #define set_bottom_margin CUR Strings[340] jpayne@69: #define set_bottom_margin_parm CUR Strings[341] jpayne@69: #define set_left_margin_parm CUR Strings[342] jpayne@69: #define set_right_margin_parm CUR Strings[343] jpayne@69: #define set_top_margin CUR Strings[344] jpayne@69: #define set_top_margin_parm CUR Strings[345] jpayne@69: #define start_bit_image CUR Strings[346] jpayne@69: #define start_char_set_def CUR Strings[347] jpayne@69: #define stop_bit_image CUR Strings[348] jpayne@69: #define stop_char_set_def CUR Strings[349] jpayne@69: #define subscript_characters CUR Strings[350] jpayne@69: #define superscript_characters CUR Strings[351] jpayne@69: #define these_cause_cr CUR Strings[352] jpayne@69: #define zero_motion CUR Strings[353] jpayne@69: #define char_set_names CUR Strings[354] jpayne@69: #define key_mouse CUR Strings[355] jpayne@69: #define mouse_info CUR Strings[356] jpayne@69: #define req_mouse_pos CUR Strings[357] jpayne@69: #define get_mouse CUR Strings[358] jpayne@69: #define set_a_foreground CUR Strings[359] jpayne@69: #define set_a_background CUR Strings[360] jpayne@69: #define pkey_plab CUR Strings[361] jpayne@69: #define device_type CUR Strings[362] jpayne@69: #define code_set_init CUR Strings[363] jpayne@69: #define set0_des_seq CUR Strings[364] jpayne@69: #define set1_des_seq CUR Strings[365] jpayne@69: #define set2_des_seq CUR Strings[366] jpayne@69: #define set3_des_seq CUR Strings[367] jpayne@69: #define set_lr_margin CUR Strings[368] jpayne@69: #define set_tb_margin CUR Strings[369] jpayne@69: #define bit_image_repeat CUR Strings[370] jpayne@69: #define bit_image_newline CUR Strings[371] jpayne@69: #define bit_image_carriage_return CUR Strings[372] jpayne@69: #define color_names CUR Strings[373] jpayne@69: #define define_bit_image_region CUR Strings[374] jpayne@69: #define end_bit_image_region CUR Strings[375] jpayne@69: #define set_color_band CUR Strings[376] jpayne@69: #define set_page_length CUR Strings[377] jpayne@69: #define display_pc_char CUR Strings[378] jpayne@69: #define enter_pc_charset_mode CUR Strings[379] jpayne@69: #define exit_pc_charset_mode CUR Strings[380] jpayne@69: #define enter_scancode_mode CUR Strings[381] jpayne@69: #define exit_scancode_mode CUR Strings[382] jpayne@69: #define pc_term_options CUR Strings[383] jpayne@69: #define scancode_escape CUR Strings[384] jpayne@69: #define alt_scancode_esc CUR Strings[385] jpayne@69: #define enter_horizontal_hl_mode CUR Strings[386] jpayne@69: #define enter_left_hl_mode CUR Strings[387] jpayne@69: #define enter_low_hl_mode CUR Strings[388] jpayne@69: #define enter_right_hl_mode CUR Strings[389] jpayne@69: #define enter_top_hl_mode CUR Strings[390] jpayne@69: #define enter_vertical_hl_mode CUR Strings[391] jpayne@69: #define set_a_attributes CUR Strings[392] jpayne@69: #define set_pglen_inch CUR Strings[393] jpayne@69: jpayne@69: #define BOOLWRITE 37 jpayne@69: #define NUMWRITE 33 jpayne@69: #define STRWRITE 394 jpayne@69: jpayne@69: /* older synonyms for some capabilities */ jpayne@69: #define beehive_glitch no_esc_ctlc jpayne@69: #define teleray_glitch dest_tabs_magic_smso jpayne@69: jpayne@69: /* HPUX-11 uses this name rather than the standard one */ jpayne@69: #ifndef micro_char_size jpayne@69: #define micro_char_size micro_col_size jpayne@69: #endif jpayne@69: jpayne@69: #ifdef __INTERNAL_CAPS_VISIBLE jpayne@69: #define termcap_init2 CUR Strings[394] jpayne@69: #define termcap_reset CUR Strings[395] jpayne@69: #define magic_cookie_glitch_ul CUR Numbers[33] jpayne@69: #define backspaces_with_bs CUR Booleans[37] jpayne@69: #define crt_no_scrolling CUR Booleans[38] jpayne@69: #define no_correctly_working_cr CUR Booleans[39] jpayne@69: #define carriage_return_delay CUR Numbers[34] jpayne@69: #define new_line_delay CUR Numbers[35] jpayne@69: #define linefeed_if_not_lf CUR Strings[396] jpayne@69: #define backspace_if_not_bs CUR Strings[397] jpayne@69: #define gnu_has_meta_key CUR Booleans[40] jpayne@69: #define linefeed_is_newline CUR Booleans[41] jpayne@69: #define backspace_delay CUR Numbers[36] jpayne@69: #define horizontal_tab_delay CUR Numbers[37] jpayne@69: #define number_of_function_keys CUR Numbers[38] jpayne@69: #define other_non_function_keys CUR Strings[398] jpayne@69: #define arrow_key_map CUR Strings[399] jpayne@69: #define has_hardware_tabs CUR Booleans[42] jpayne@69: #define return_does_clr_eol CUR Booleans[43] jpayne@69: #define acs_ulcorner CUR Strings[400] jpayne@69: #define acs_llcorner CUR Strings[401] jpayne@69: #define acs_urcorner CUR Strings[402] jpayne@69: #define acs_lrcorner CUR Strings[403] jpayne@69: #define acs_ltee CUR Strings[404] jpayne@69: #define acs_rtee CUR Strings[405] jpayne@69: #define acs_btee CUR Strings[406] jpayne@69: #define acs_ttee CUR Strings[407] jpayne@69: #define acs_hline CUR Strings[408] jpayne@69: #define acs_vline CUR Strings[409] jpayne@69: #define acs_plus CUR Strings[410] jpayne@69: #define memory_lock CUR Strings[411] jpayne@69: #define memory_unlock CUR Strings[412] jpayne@69: #define box_chars_1 CUR Strings[413] jpayne@69: #endif /* __INTERNAL_CAPS_VISIBLE */ jpayne@69: jpayne@69: jpayne@69: /* jpayne@69: * Predefined terminfo array sizes jpayne@69: */ jpayne@69: #define BOOLCOUNT 44 jpayne@69: #define NUMCOUNT 39 jpayne@69: #define STRCOUNT 414 jpayne@69: jpayne@69: /* used by code for comparing entries */ jpayne@69: #define acs_chars_index 146 jpayne@69: jpayne@69: typedef struct termtype { /* in-core form of terminfo data */ jpayne@69: char *term_names; /* str_table offset of term names */ jpayne@69: char *str_table; /* pointer to string table */ jpayne@69: NCURSES_SBOOL *Booleans; /* array of boolean values */ jpayne@69: short *Numbers; /* array of integer values */ jpayne@69: char **Strings; /* array of string offsets */ jpayne@69: jpayne@69: #if NCURSES_XNAMES jpayne@69: char *ext_str_table; /* pointer to extended string table */ jpayne@69: char **ext_Names; /* corresponding names */ jpayne@69: jpayne@69: unsigned short num_Booleans;/* count total Booleans */ jpayne@69: unsigned short num_Numbers; /* count total Numbers */ jpayne@69: unsigned short num_Strings; /* count total Strings */ jpayne@69: jpayne@69: unsigned short ext_Booleans;/* count extensions to Booleans */ jpayne@69: unsigned short ext_Numbers; /* count extensions to Numbers */ jpayne@69: unsigned short ext_Strings; /* count extensions to Strings */ jpayne@69: #endif /* NCURSES_XNAMES */ jpayne@69: jpayne@69: } TERMTYPE; jpayne@69: jpayne@69: /* jpayne@69: * The only reason these structures are visible is for read-only use. jpayne@69: * Programs which modify the data are not, never were, portable across jpayne@69: * curses implementations. jpayne@69: * jpayne@69: * The first field in TERMINAL is used in macros. jpayne@69: * The remaining fields are private. jpayne@69: */ jpayne@69: #ifdef NCURSES_INTERNALS jpayne@69: jpayne@69: #undef TERMINAL jpayne@69: #define TERMINAL struct term jpayne@69: TERMINAL; jpayne@69: jpayne@69: typedef struct termtype2 { /* in-core form of terminfo data */ jpayne@69: char *term_names; /* str_table offset of term names */ jpayne@69: char *str_table; /* pointer to string table */ jpayne@69: NCURSES_SBOOL *Booleans; /* array of boolean values */ jpayne@69: int *Numbers; /* array of integer values */ jpayne@69: char **Strings; /* array of string offsets */ jpayne@69: jpayne@69: #if NCURSES_XNAMES jpayne@69: char *ext_str_table; /* pointer to extended string table */ jpayne@69: char **ext_Names; /* corresponding names */ jpayne@69: jpayne@69: unsigned short num_Booleans;/* count total Booleans */ jpayne@69: unsigned short num_Numbers; /* count total Numbers */ jpayne@69: unsigned short num_Strings; /* count total Strings */ jpayne@69: jpayne@69: unsigned short ext_Booleans;/* count extensions to Booleans */ jpayne@69: unsigned short ext_Numbers; /* count extensions to Numbers */ jpayne@69: unsigned short ext_Strings; /* count extensions to Strings */ jpayne@69: #endif /* NCURSES_XNAMES */ jpayne@69: jpayne@69: } TERMTYPE2; jpayne@69: #else jpayne@69: jpayne@69: typedef struct term { /* describe an actual terminal */ jpayne@69: TERMTYPE type; /* terminal type description */ jpayne@69: } TERMINAL; jpayne@69: jpayne@69: #endif /* NCURSES_INTERNALS */ jpayne@69: jpayne@69: jpayne@69: #if 0 && !0 jpayne@69: extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term; jpayne@69: #elif 0 jpayne@69: NCURSES_WRAPPED_VAR(TERMINAL *, cur_term); jpayne@69: #define cur_term NCURSES_PUBLIC_VAR(cur_term()) jpayne@69: #else jpayne@69: extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term; jpayne@69: #endif jpayne@69: jpayne@69: #if 0 || 0 jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolnames); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolcodes); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolfnames); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, numnames); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, numcodes); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, numfnames); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strnames); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strcodes); jpayne@69: NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strfnames); jpayne@69: jpayne@69: #define boolnames NCURSES_PUBLIC_VAR(boolnames()) jpayne@69: #define boolcodes NCURSES_PUBLIC_VAR(boolcodes()) jpayne@69: #define boolfnames NCURSES_PUBLIC_VAR(boolfnames()) jpayne@69: #define numnames NCURSES_PUBLIC_VAR(numnames()) jpayne@69: #define numcodes NCURSES_PUBLIC_VAR(numcodes()) jpayne@69: #define numfnames NCURSES_PUBLIC_VAR(numfnames()) jpayne@69: #define strnames NCURSES_PUBLIC_VAR(strnames()) jpayne@69: #define strcodes NCURSES_PUBLIC_VAR(strcodes()) jpayne@69: #define strfnames NCURSES_PUBLIC_VAR(strfnames()) jpayne@69: jpayne@69: #else jpayne@69: jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolnames[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolfnames[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numnames[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numcodes[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numfnames[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strnames[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strcodes[]; jpayne@69: extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strfnames[]; jpayne@69: jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * These entrypoints are used only by the ncurses utilities such as tic. jpayne@69: */ jpayne@69: #ifdef NCURSES_INTERNALS jpayne@69: jpayne@69: extern NCURSES_EXPORT(int) _nc_set_tty_mode (TTY *buf); jpayne@69: extern NCURSES_EXPORT(int) _nc_read_entry2 (const char * const, char * const, TERMTYPE2 *const); jpayne@69: extern NCURSES_EXPORT(int) _nc_read_file_entry (const char *const, TERMTYPE2 *); jpayne@69: extern NCURSES_EXPORT(int) _nc_read_termtype (TERMTYPE2 *, char *, int); jpayne@69: extern NCURSES_EXPORT(char *) _nc_first_name (const char *const); jpayne@69: extern NCURSES_EXPORT(int) _nc_name_match (const char *const, const char *const, const char *const); jpayne@69: extern NCURSES_EXPORT(char *) _nc_tiparm(int, const char *, ...); jpayne@69: extern NCURSES_EXPORT(const TERMTYPE *) _nc_fallback (const char *); jpayne@69: extern NCURSES_EXPORT(int) _nc_read_entry (const char * const, char * const, TERMTYPE *const); jpayne@69: jpayne@69: #endif /* NCURSES_INTERNALS */ jpayne@69: jpayne@69: /* jpayne@69: * Normal entry points jpayne@69: */ jpayne@69: extern NCURSES_EXPORT(TERMINAL *) set_curterm (TERMINAL *); jpayne@69: extern NCURSES_EXPORT(int) del_curterm (TERMINAL *); jpayne@69: jpayne@69: /* miscellaneous entry points */ jpayne@69: extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *); jpayne@69: extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); jpayne@69: jpayne@69: /* terminfo entry points, also declared in curses.h */ jpayne@69: #if !defined(__NCURSES_H) jpayne@69: extern NCURSES_EXPORT(char *) tigetstr (const char *); jpayne@69: extern NCURSES_EXPORT_VAR(char) ttytype[]; jpayne@69: extern NCURSES_EXPORT(int) putp (const char *); jpayne@69: extern NCURSES_EXPORT(int) tigetflag (const char *); jpayne@69: extern NCURSES_EXPORT(int) tigetnum (const char *); jpayne@69: jpayne@69: #if 1 /* NCURSES_TPARM_VARARGS */ jpayne@69: extern NCURSES_EXPORT(char *) tparm (const char *, ...); /* special */ jpayne@69: #else jpayne@69: extern NCURSES_EXPORT(char *) tparm (const char *, long,long,long,long,long,long,long,long,long); /* special */ jpayne@69: #endif jpayne@69: jpayne@69: extern NCURSES_EXPORT(char *) tiparm (const char *, ...); /* special */ jpayne@69: extern NCURSES_EXPORT(char *) tiparm_s (int, int, const char *, ...); /* special */ jpayne@69: extern NCURSES_EXPORT(int) tiscan_s (int *, int *, const char *); /* special */ jpayne@69: jpayne@69: #endif /* __NCURSES_H */ jpayne@69: jpayne@69: /* termcap database emulation (XPG4 uses const only for 2nd param of tgetent) */ jpayne@69: #if !defined(NCURSES_TERMCAP_H_incl) jpayne@69: extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); jpayne@69: extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); jpayne@69: extern NCURSES_EXPORT(int) tgetent (char *, const char *); jpayne@69: extern NCURSES_EXPORT(int) tgetflag (const char *); jpayne@69: extern NCURSES_EXPORT(int) tgetnum (const char *); jpayne@69: extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); jpayne@69: #endif /* NCURSES_TERMCAP_H_incl */ jpayne@69: jpayne@69: /* jpayne@69: * Include curses.h before term.h to enable these extensions. jpayne@69: */ jpayne@69: #if defined(NCURSES_SP_FUNCS) && (NCURSES_SP_FUNCS != 0) jpayne@69: jpayne@69: extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tigetstr) (SCREEN*, const char *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(putp) (SCREEN*, const char *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tigetflag) (SCREEN*, const char *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tigetnum) (SCREEN*, const char *); jpayne@69: jpayne@69: #if 1 /* NCURSES_TPARM_VARARGS */ jpayne@69: extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tparm) (SCREEN*, const char *, ...); /* special */ jpayne@69: #else jpayne@69: extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tparm) (SCREEN*, const char *, long,long,long,long,long,long,long,long,long); /* special */ jpayne@69: #endif jpayne@69: jpayne@69: /* termcap database emulation (XPG4 uses const only for 2nd param of tgetent) */ jpayne@69: extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tgetstr) (SCREEN*, const char *, char **); jpayne@69: extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tgoto) (SCREEN*, const char *, int, int); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetent) (SCREEN*, char *, const char *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetflag) (SCREEN*, const char *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetnum) (SCREEN*, const char *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tputs) (SCREEN*, const char *, int, NCURSES_SP_OUTC); jpayne@69: jpayne@69: extern NCURSES_EXPORT(TERMINAL *) NCURSES_SP_NAME(set_curterm) (SCREEN*, TERMINAL *); jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(del_curterm) (SCREEN*, TERMINAL *); jpayne@69: jpayne@69: extern NCURSES_EXPORT(int) NCURSES_SP_NAME(restartterm) (SCREEN*, NCURSES_CONST char *, int, int *); jpayne@69: #endif /* NCURSES_SP_FUNCS */ jpayne@69: jpayne@69: /* jpayne@69: * Debugging features. jpayne@69: */ jpayne@69: extern GCC_NORETURN NCURSES_EXPORT(void) exit_terminfo(int); jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: #endif /* NCURSES_TERM_H_incl */