File indexing completed on 2026-09-18 09:18:09
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 #ifndef NCURSES_TERM_H_incl
0043 #define NCURSES_TERM_H_incl 1
0044
0045 #undef NCURSES_VERSION
0046 #define NCURSES_VERSION "6.6"
0047
0048 #include <ncurses/ncurses_dll.h>
0049
0050 #ifdef __cplusplus
0051 extern "C" {
0052 #endif
0053
0054
0055
0056
0057
0058 #ifndef __NCURSES_H
0059
0060 typedef struct screen SCREEN;
0061
0062
0063 #if 1
0064 #undef NCURSES_SP_FUNCS
0065 #define NCURSES_SP_FUNCS 20251230
0066 #undef NCURSES_SP_NAME
0067 #define NCURSES_SP_NAME(name) name##_sp
0068
0069
0070 #undef NCURSES_SP_OUTC
0071 #define NCURSES_SP_OUTC NCURSES_SP_NAME(NCURSES_OUTC)
0072 typedef int (*NCURSES_SP_OUTC)(SCREEN*, int);
0073 #endif
0074
0075 #endif
0076
0077 #undef NCURSES_CONST
0078 #define NCURSES_CONST const
0079
0080 #undef NCURSES_SBOOL
0081 #define NCURSES_SBOOL char
0082
0083 #undef NCURSES_USE_DATABASE
0084 #define NCURSES_USE_DATABASE 1
0085
0086 #undef NCURSES_USE_TERMCAP
0087 #define NCURSES_USE_TERMCAP 1
0088
0089 #undef NCURSES_XNAMES
0090 #define NCURSES_XNAMES 1
0091
0092
0093 #ifdef NCURSES_INTERNALS
0094
0095
0096
0097
0098 #undef TTY
0099 #undef SET_TTY
0100 #undef GET_TTY
0101
0102 #if 1 && 1
0103
0104 #undef TERMIOS
0105 #define TERMIOS 1
0106 #include <termios.h>
0107 #define TTY struct termios
0108
0109 #elif 1
0110
0111 #undef TERMIOS
0112 #define TERMIOS 1
0113 #include <termio.h>
0114 #define TTY struct termio
0115
0116 #elif (defined(_WIN32) || defined(_WIN64) || defined(__MINGW32__) || defined(__MINGW64__))
0117
0118 #include <ncurses/nc_win32.h>
0119 #define TTY ConsoleMode
0120
0121 #elif 1
0122
0123 #undef TERMIOS
0124 #include <sgtty.h>
0125 #include <sys/ioctl.h>
0126 #define TTY struct sgttyb
0127
0128 #else
0129
0130 #error no termio/termios/sgtty found
0131
0132 #endif
0133
0134 #ifdef TERMIOS
0135 #define GET_TTY(fd, buf) tcgetattr(fd, buf)
0136 #define SET_TTY(fd, buf) tcsetattr(fd, TCSADRAIN, buf)
0137
0138 #elif defined(_WIN32) || defined(_WIN64)
0139 #define GET_TTY(fd, buf) _nc_console_getmode(_nc_console_fd2handle(fd),buf)
0140 #define SET_TTY(fd, buf) _nc_console_setmode(_nc_console_fd2handle(fd),buf)
0141 #elif 1
0142 #define GET_TTY(fd, buf) gtty(fd, buf)
0143 #define SET_TTY(fd, buf) stty(fd, buf)
0144 #endif
0145
0146 #endif
0147
0148 #ifndef GCC_NORETURN
0149 #define GCC_NORETURN
0150 #endif
0151
0152 #define NAMESIZE 256
0153
0154
0155 #define CUR ((TERMTYPE *)(cur_term))->
0156
0157 #define auto_left_margin CUR Booleans[0]
0158 #define auto_right_margin CUR Booleans[1]
0159 #define no_esc_ctlc CUR Booleans[2]
0160 #define ceol_standout_glitch CUR Booleans[3]
0161 #define eat_newline_glitch CUR Booleans[4]
0162 #define erase_overstrike CUR Booleans[5]
0163 #define generic_type CUR Booleans[6]
0164 #define hard_copy CUR Booleans[7]
0165 #define has_meta_key CUR Booleans[8]
0166 #define has_status_line CUR Booleans[9]
0167 #define insert_null_glitch CUR Booleans[10]
0168 #define memory_above CUR Booleans[11]
0169 #define memory_below CUR Booleans[12]
0170 #define move_insert_mode CUR Booleans[13]
0171 #define move_standout_mode CUR Booleans[14]
0172 #define over_strike CUR Booleans[15]
0173 #define status_line_esc_ok CUR Booleans[16]
0174 #define dest_tabs_magic_smso CUR Booleans[17]
0175 #define tilde_glitch CUR Booleans[18]
0176 #define transparent_underline CUR Booleans[19]
0177 #define xon_xoff CUR Booleans[20]
0178 #define needs_xon_xoff CUR Booleans[21]
0179 #define prtr_silent CUR Booleans[22]
0180 #define hard_cursor CUR Booleans[23]
0181 #define non_rev_rmcup CUR Booleans[24]
0182 #define no_pad_char CUR Booleans[25]
0183 #define non_dest_scroll_region CUR Booleans[26]
0184 #define can_change CUR Booleans[27]
0185 #define back_color_erase CUR Booleans[28]
0186 #define hue_lightness_saturation CUR Booleans[29]
0187 #define col_addr_glitch CUR Booleans[30]
0188 #define cr_cancels_micro_mode CUR Booleans[31]
0189 #define has_print_wheel CUR Booleans[32]
0190 #define row_addr_glitch CUR Booleans[33]
0191 #define semi_auto_right_margin CUR Booleans[34]
0192 #define cpi_changes_res CUR Booleans[35]
0193 #define lpi_changes_res CUR Booleans[36]
0194 #define columns CUR Numbers[0]
0195 #define init_tabs CUR Numbers[1]
0196 #define lines CUR Numbers[2]
0197 #define lines_of_memory CUR Numbers[3]
0198 #define magic_cookie_glitch CUR Numbers[4]
0199 #define padding_baud_rate CUR Numbers[5]
0200 #define virtual_terminal CUR Numbers[6]
0201 #define width_status_line CUR Numbers[7]
0202 #define num_labels CUR Numbers[8]
0203 #define label_height CUR Numbers[9]
0204 #define label_width CUR Numbers[10]
0205 #define max_attributes CUR Numbers[11]
0206 #define maximum_windows CUR Numbers[12]
0207 #define max_colors CUR Numbers[13]
0208 #define max_pairs CUR Numbers[14]
0209 #define no_color_video CUR Numbers[15]
0210 #define buffer_capacity CUR Numbers[16]
0211 #define dot_vert_spacing CUR Numbers[17]
0212 #define dot_horz_spacing CUR Numbers[18]
0213 #define max_micro_address CUR Numbers[19]
0214 #define max_micro_jump CUR Numbers[20]
0215 #define micro_col_size CUR Numbers[21]
0216 #define micro_line_size CUR Numbers[22]
0217 #define number_of_pins CUR Numbers[23]
0218 #define output_res_char CUR Numbers[24]
0219 #define output_res_line CUR Numbers[25]
0220 #define output_res_horz_inch CUR Numbers[26]
0221 #define output_res_vert_inch CUR Numbers[27]
0222 #define print_rate CUR Numbers[28]
0223 #define wide_char_size CUR Numbers[29]
0224 #define buttons CUR Numbers[30]
0225 #define bit_image_entwining CUR Numbers[31]
0226 #define bit_image_type CUR Numbers[32]
0227 #define back_tab CUR Strings[0]
0228 #define bell CUR Strings[1]
0229 #define carriage_return CUR Strings[2]
0230 #define change_scroll_region CUR Strings[3]
0231 #define clear_all_tabs CUR Strings[4]
0232 #define clear_screen CUR Strings[5]
0233 #define clr_eol CUR Strings[6]
0234 #define clr_eos CUR Strings[7]
0235 #define column_address CUR Strings[8]
0236 #define command_character CUR Strings[9]
0237 #define cursor_address CUR Strings[10]
0238 #define cursor_down CUR Strings[11]
0239 #define cursor_home CUR Strings[12]
0240 #define cursor_invisible CUR Strings[13]
0241 #define cursor_left CUR Strings[14]
0242 #define cursor_mem_address CUR Strings[15]
0243 #define cursor_normal CUR Strings[16]
0244 #define cursor_right CUR Strings[17]
0245 #define cursor_to_ll CUR Strings[18]
0246 #define cursor_up CUR Strings[19]
0247 #define cursor_visible CUR Strings[20]
0248 #define delete_character CUR Strings[21]
0249 #define delete_line CUR Strings[22]
0250 #define dis_status_line CUR Strings[23]
0251 #define down_half_line CUR Strings[24]
0252 #define enter_alt_charset_mode CUR Strings[25]
0253 #define enter_blink_mode CUR Strings[26]
0254 #define enter_bold_mode CUR Strings[27]
0255 #define enter_ca_mode CUR Strings[28]
0256 #define enter_delete_mode CUR Strings[29]
0257 #define enter_dim_mode CUR Strings[30]
0258 #define enter_insert_mode CUR Strings[31]
0259 #define enter_secure_mode CUR Strings[32]
0260 #define enter_protected_mode CUR Strings[33]
0261 #define enter_reverse_mode CUR Strings[34]
0262 #define enter_standout_mode CUR Strings[35]
0263 #define enter_underline_mode CUR Strings[36]
0264 #define erase_chars CUR Strings[37]
0265 #define exit_alt_charset_mode CUR Strings[38]
0266 #define exit_attribute_mode CUR Strings[39]
0267 #define exit_ca_mode CUR Strings[40]
0268 #define exit_delete_mode CUR Strings[41]
0269 #define exit_insert_mode CUR Strings[42]
0270 #define exit_standout_mode CUR Strings[43]
0271 #define exit_underline_mode CUR Strings[44]
0272 #define flash_screen CUR Strings[45]
0273 #define form_feed CUR Strings[46]
0274 #define from_status_line CUR Strings[47]
0275 #define init_1string CUR Strings[48]
0276 #define init_2string CUR Strings[49]
0277 #define init_3string CUR Strings[50]
0278 #define init_file CUR Strings[51]
0279 #define insert_character CUR Strings[52]
0280 #define insert_line CUR Strings[53]
0281 #define insert_padding CUR Strings[54]
0282 #define key_backspace CUR Strings[55]
0283 #define key_catab CUR Strings[56]
0284 #define key_clear CUR Strings[57]
0285 #define key_ctab CUR Strings[58]
0286 #define key_dc CUR Strings[59]
0287 #define key_dl CUR Strings[60]
0288 #define key_down CUR Strings[61]
0289 #define key_eic CUR Strings[62]
0290 #define key_eol CUR Strings[63]
0291 #define key_eos CUR Strings[64]
0292 #define key_f0 CUR Strings[65]
0293 #define key_f1 CUR Strings[66]
0294 #define key_f10 CUR Strings[67]
0295 #define key_f2 CUR Strings[68]
0296 #define key_f3 CUR Strings[69]
0297 #define key_f4 CUR Strings[70]
0298 #define key_f5 CUR Strings[71]
0299 #define key_f6 CUR Strings[72]
0300 #define key_f7 CUR Strings[73]
0301 #define key_f8 CUR Strings[74]
0302 #define key_f9 CUR Strings[75]
0303 #define key_home CUR Strings[76]
0304 #define key_ic CUR Strings[77]
0305 #define key_il CUR Strings[78]
0306 #define key_left CUR Strings[79]
0307 #define key_ll CUR Strings[80]
0308 #define key_npage CUR Strings[81]
0309 #define key_ppage CUR Strings[82]
0310 #define key_right CUR Strings[83]
0311 #define key_sf CUR Strings[84]
0312 #define key_sr CUR Strings[85]
0313 #define key_stab CUR Strings[86]
0314 #define key_up CUR Strings[87]
0315 #define keypad_local CUR Strings[88]
0316 #define keypad_xmit CUR Strings[89]
0317 #define lab_f0 CUR Strings[90]
0318 #define lab_f1 CUR Strings[91]
0319 #define lab_f10 CUR Strings[92]
0320 #define lab_f2 CUR Strings[93]
0321 #define lab_f3 CUR Strings[94]
0322 #define lab_f4 CUR Strings[95]
0323 #define lab_f5 CUR Strings[96]
0324 #define lab_f6 CUR Strings[97]
0325 #define lab_f7 CUR Strings[98]
0326 #define lab_f8 CUR Strings[99]
0327 #define lab_f9 CUR Strings[100]
0328 #define meta_off CUR Strings[101]
0329 #define meta_on CUR Strings[102]
0330 #define newline CUR Strings[103]
0331 #define pad_char CUR Strings[104]
0332 #define parm_dch CUR Strings[105]
0333 #define parm_delete_line CUR Strings[106]
0334 #define parm_down_cursor CUR Strings[107]
0335 #define parm_ich CUR Strings[108]
0336 #define parm_index CUR Strings[109]
0337 #define parm_insert_line CUR Strings[110]
0338 #define parm_left_cursor CUR Strings[111]
0339 #define parm_right_cursor CUR Strings[112]
0340 #define parm_rindex CUR Strings[113]
0341 #define parm_up_cursor CUR Strings[114]
0342 #define pkey_key CUR Strings[115]
0343 #define pkey_local CUR Strings[116]
0344 #define pkey_xmit CUR Strings[117]
0345 #define print_screen CUR Strings[118]
0346 #define prtr_off CUR Strings[119]
0347 #define prtr_on CUR Strings[120]
0348 #define repeat_char CUR Strings[121]
0349 #define reset_1string CUR Strings[122]
0350 #define reset_2string CUR Strings[123]
0351 #define reset_3string CUR Strings[124]
0352 #define reset_file CUR Strings[125]
0353 #define restore_cursor CUR Strings[126]
0354 #define row_address CUR Strings[127]
0355 #define save_cursor CUR Strings[128]
0356 #define scroll_forward CUR Strings[129]
0357 #define scroll_reverse CUR Strings[130]
0358 #define set_attributes CUR Strings[131]
0359 #define set_tab CUR Strings[132]
0360 #define set_window CUR Strings[133]
0361 #define tab CUR Strings[134]
0362 #define to_status_line CUR Strings[135]
0363 #define underline_char CUR Strings[136]
0364 #define up_half_line CUR Strings[137]
0365 #define init_prog CUR Strings[138]
0366 #define key_a1 CUR Strings[139]
0367 #define key_a3 CUR Strings[140]
0368 #define key_b2 CUR Strings[141]
0369 #define key_c1 CUR Strings[142]
0370 #define key_c3 CUR Strings[143]
0371 #define prtr_non CUR Strings[144]
0372 #define char_padding CUR Strings[145]
0373 #define acs_chars CUR Strings[146]
0374 #define plab_norm CUR Strings[147]
0375 #define key_btab CUR Strings[148]
0376 #define enter_xon_mode CUR Strings[149]
0377 #define exit_xon_mode CUR Strings[150]
0378 #define enter_am_mode CUR Strings[151]
0379 #define exit_am_mode CUR Strings[152]
0380 #define xon_character CUR Strings[153]
0381 #define xoff_character CUR Strings[154]
0382 #define ena_acs CUR Strings[155]
0383 #define label_on CUR Strings[156]
0384 #define label_off CUR Strings[157]
0385 #define key_beg CUR Strings[158]
0386 #define key_cancel CUR Strings[159]
0387 #define key_close CUR Strings[160]
0388 #define key_command CUR Strings[161]
0389 #define key_copy CUR Strings[162]
0390 #define key_create CUR Strings[163]
0391 #define key_end CUR Strings[164]
0392 #define key_enter CUR Strings[165]
0393 #define key_exit CUR Strings[166]
0394 #define key_find CUR Strings[167]
0395 #define key_help CUR Strings[168]
0396 #define key_mark CUR Strings[169]
0397 #define key_message CUR Strings[170]
0398 #define key_move CUR Strings[171]
0399 #define key_next CUR Strings[172]
0400 #define key_open CUR Strings[173]
0401 #define key_options CUR Strings[174]
0402 #define key_previous CUR Strings[175]
0403 #define key_print CUR Strings[176]
0404 #define key_redo CUR Strings[177]
0405 #define key_reference CUR Strings[178]
0406 #define key_refresh CUR Strings[179]
0407 #define key_replace CUR Strings[180]
0408 #define key_restart CUR Strings[181]
0409 #define key_resume CUR Strings[182]
0410 #define key_save CUR Strings[183]
0411 #define key_suspend CUR Strings[184]
0412 #define key_undo CUR Strings[185]
0413 #define key_sbeg CUR Strings[186]
0414 #define key_scancel CUR Strings[187]
0415 #define key_scommand CUR Strings[188]
0416 #define key_scopy CUR Strings[189]
0417 #define key_screate CUR Strings[190]
0418 #define key_sdc CUR Strings[191]
0419 #define key_sdl CUR Strings[192]
0420 #define key_select CUR Strings[193]
0421 #define key_send CUR Strings[194]
0422 #define key_seol CUR Strings[195]
0423 #define key_sexit CUR Strings[196]
0424 #define key_sfind CUR Strings[197]
0425 #define key_shelp CUR Strings[198]
0426 #define key_shome CUR Strings[199]
0427 #define key_sic CUR Strings[200]
0428 #define key_sleft CUR Strings[201]
0429 #define key_smessage CUR Strings[202]
0430 #define key_smove CUR Strings[203]
0431 #define key_snext CUR Strings[204]
0432 #define key_soptions CUR Strings[205]
0433 #define key_sprevious CUR Strings[206]
0434 #define key_sprint CUR Strings[207]
0435 #define key_sredo CUR Strings[208]
0436 #define key_sreplace CUR Strings[209]
0437 #define key_sright CUR Strings[210]
0438 #define key_srsume CUR Strings[211]
0439 #define key_ssave CUR Strings[212]
0440 #define key_ssuspend CUR Strings[213]
0441 #define key_sundo CUR Strings[214]
0442 #define req_for_input CUR Strings[215]
0443 #define key_f11 CUR Strings[216]
0444 #define key_f12 CUR Strings[217]
0445 #define key_f13 CUR Strings[218]
0446 #define key_f14 CUR Strings[219]
0447 #define key_f15 CUR Strings[220]
0448 #define key_f16 CUR Strings[221]
0449 #define key_f17 CUR Strings[222]
0450 #define key_f18 CUR Strings[223]
0451 #define key_f19 CUR Strings[224]
0452 #define key_f20 CUR Strings[225]
0453 #define key_f21 CUR Strings[226]
0454 #define key_f22 CUR Strings[227]
0455 #define key_f23 CUR Strings[228]
0456 #define key_f24 CUR Strings[229]
0457 #define key_f25 CUR Strings[230]
0458 #define key_f26 CUR Strings[231]
0459 #define key_f27 CUR Strings[232]
0460 #define key_f28 CUR Strings[233]
0461 #define key_f29 CUR Strings[234]
0462 #define key_f30 CUR Strings[235]
0463 #define key_f31 CUR Strings[236]
0464 #define key_f32 CUR Strings[237]
0465 #define key_f33 CUR Strings[238]
0466 #define key_f34 CUR Strings[239]
0467 #define key_f35 CUR Strings[240]
0468 #define key_f36 CUR Strings[241]
0469 #define key_f37 CUR Strings[242]
0470 #define key_f38 CUR Strings[243]
0471 #define key_f39 CUR Strings[244]
0472 #define key_f40 CUR Strings[245]
0473 #define key_f41 CUR Strings[246]
0474 #define key_f42 CUR Strings[247]
0475 #define key_f43 CUR Strings[248]
0476 #define key_f44 CUR Strings[249]
0477 #define key_f45 CUR Strings[250]
0478 #define key_f46 CUR Strings[251]
0479 #define key_f47 CUR Strings[252]
0480 #define key_f48 CUR Strings[253]
0481 #define key_f49 CUR Strings[254]
0482 #define key_f50 CUR Strings[255]
0483 #define key_f51 CUR Strings[256]
0484 #define key_f52 CUR Strings[257]
0485 #define key_f53 CUR Strings[258]
0486 #define key_f54 CUR Strings[259]
0487 #define key_f55 CUR Strings[260]
0488 #define key_f56 CUR Strings[261]
0489 #define key_f57 CUR Strings[262]
0490 #define key_f58 CUR Strings[263]
0491 #define key_f59 CUR Strings[264]
0492 #define key_f60 CUR Strings[265]
0493 #define key_f61 CUR Strings[266]
0494 #define key_f62 CUR Strings[267]
0495 #define key_f63 CUR Strings[268]
0496 #define clr_bol CUR Strings[269]
0497 #define clear_margins CUR Strings[270]
0498 #define set_left_margin CUR Strings[271]
0499 #define set_right_margin CUR Strings[272]
0500 #define label_format CUR Strings[273]
0501 #define set_clock CUR Strings[274]
0502 #define display_clock CUR Strings[275]
0503 #define remove_clock CUR Strings[276]
0504 #define create_window CUR Strings[277]
0505 #define goto_window CUR Strings[278]
0506 #define hangup CUR Strings[279]
0507 #define dial_phone CUR Strings[280]
0508 #define quick_dial CUR Strings[281]
0509 #define tone CUR Strings[282]
0510 #define pulse CUR Strings[283]
0511 #define flash_hook CUR Strings[284]
0512 #define fixed_pause CUR Strings[285]
0513 #define wait_tone CUR Strings[286]
0514 #define user0 CUR Strings[287]
0515 #define user1 CUR Strings[288]
0516 #define user2 CUR Strings[289]
0517 #define user3 CUR Strings[290]
0518 #define user4 CUR Strings[291]
0519 #define user5 CUR Strings[292]
0520 #define user6 CUR Strings[293]
0521 #define user7 CUR Strings[294]
0522 #define user8 CUR Strings[295]
0523 #define user9 CUR Strings[296]
0524 #define orig_pair CUR Strings[297]
0525 #define orig_colors CUR Strings[298]
0526 #define initialize_color CUR Strings[299]
0527 #define initialize_pair CUR Strings[300]
0528 #define set_color_pair CUR Strings[301]
0529 #define set_foreground CUR Strings[302]
0530 #define set_background CUR Strings[303]
0531 #define change_char_pitch CUR Strings[304]
0532 #define change_line_pitch CUR Strings[305]
0533 #define change_res_horz CUR Strings[306]
0534 #define change_res_vert CUR Strings[307]
0535 #define define_char CUR Strings[308]
0536 #define enter_doublewide_mode CUR Strings[309]
0537 #define enter_draft_quality CUR Strings[310]
0538 #define enter_italics_mode CUR Strings[311]
0539 #define enter_leftward_mode CUR Strings[312]
0540 #define enter_micro_mode CUR Strings[313]
0541 #define enter_near_letter_quality CUR Strings[314]
0542 #define enter_normal_quality CUR Strings[315]
0543 #define enter_shadow_mode CUR Strings[316]
0544 #define enter_subscript_mode CUR Strings[317]
0545 #define enter_superscript_mode CUR Strings[318]
0546 #define enter_upward_mode CUR Strings[319]
0547 #define exit_doublewide_mode CUR Strings[320]
0548 #define exit_italics_mode CUR Strings[321]
0549 #define exit_leftward_mode CUR Strings[322]
0550 #define exit_micro_mode CUR Strings[323]
0551 #define exit_shadow_mode CUR Strings[324]
0552 #define exit_subscript_mode CUR Strings[325]
0553 #define exit_superscript_mode CUR Strings[326]
0554 #define exit_upward_mode CUR Strings[327]
0555 #define micro_column_address CUR Strings[328]
0556 #define micro_down CUR Strings[329]
0557 #define micro_left CUR Strings[330]
0558 #define micro_right CUR Strings[331]
0559 #define micro_row_address CUR Strings[332]
0560 #define micro_up CUR Strings[333]
0561 #define order_of_pins CUR Strings[334]
0562 #define parm_down_micro CUR Strings[335]
0563 #define parm_left_micro CUR Strings[336]
0564 #define parm_right_micro CUR Strings[337]
0565 #define parm_up_micro CUR Strings[338]
0566 #define select_char_set CUR Strings[339]
0567 #define set_bottom_margin CUR Strings[340]
0568 #define set_bottom_margin_parm CUR Strings[341]
0569 #define set_left_margin_parm CUR Strings[342]
0570 #define set_right_margin_parm CUR Strings[343]
0571 #define set_top_margin CUR Strings[344]
0572 #define set_top_margin_parm CUR Strings[345]
0573 #define start_bit_image CUR Strings[346]
0574 #define start_char_set_def CUR Strings[347]
0575 #define stop_bit_image CUR Strings[348]
0576 #define stop_char_set_def CUR Strings[349]
0577 #define subscript_characters CUR Strings[350]
0578 #define superscript_characters CUR Strings[351]
0579 #define these_cause_cr CUR Strings[352]
0580 #define zero_motion CUR Strings[353]
0581 #define char_set_names CUR Strings[354]
0582 #define key_mouse CUR Strings[355]
0583 #define mouse_info CUR Strings[356]
0584 #define req_mouse_pos CUR Strings[357]
0585 #define get_mouse CUR Strings[358]
0586 #define set_a_foreground CUR Strings[359]
0587 #define set_a_background CUR Strings[360]
0588 #define pkey_plab CUR Strings[361]
0589 #define device_type CUR Strings[362]
0590 #define code_set_init CUR Strings[363]
0591 #define set0_des_seq CUR Strings[364]
0592 #define set1_des_seq CUR Strings[365]
0593 #define set2_des_seq CUR Strings[366]
0594 #define set3_des_seq CUR Strings[367]
0595 #define set_lr_margin CUR Strings[368]
0596 #define set_tb_margin CUR Strings[369]
0597 #define bit_image_repeat CUR Strings[370]
0598 #define bit_image_newline CUR Strings[371]
0599 #define bit_image_carriage_return CUR Strings[372]
0600 #define color_names CUR Strings[373]
0601 #define define_bit_image_region CUR Strings[374]
0602 #define end_bit_image_region CUR Strings[375]
0603 #define set_color_band CUR Strings[376]
0604 #define set_page_length CUR Strings[377]
0605 #define display_pc_char CUR Strings[378]
0606 #define enter_pc_charset_mode CUR Strings[379]
0607 #define exit_pc_charset_mode CUR Strings[380]
0608 #define enter_scancode_mode CUR Strings[381]
0609 #define exit_scancode_mode CUR Strings[382]
0610 #define pc_term_options CUR Strings[383]
0611 #define scancode_escape CUR Strings[384]
0612 #define alt_scancode_esc CUR Strings[385]
0613 #define enter_horizontal_hl_mode CUR Strings[386]
0614 #define enter_left_hl_mode CUR Strings[387]
0615 #define enter_low_hl_mode CUR Strings[388]
0616 #define enter_right_hl_mode CUR Strings[389]
0617 #define enter_top_hl_mode CUR Strings[390]
0618 #define enter_vertical_hl_mode CUR Strings[391]
0619 #define set_a_attributes CUR Strings[392]
0620 #define set_pglen_inch CUR Strings[393]
0621
0622 #define BOOLWRITE 37
0623 #define NUMWRITE 33
0624 #define STRWRITE 394
0625
0626
0627 #define beehive_glitch no_esc_ctlc
0628 #define teleray_glitch dest_tabs_magic_smso
0629
0630
0631 #ifndef micro_char_size
0632 #define micro_char_size micro_col_size
0633 #endif
0634
0635 #ifdef __INTERNAL_CAPS_VISIBLE
0636 #define termcap_init2 CUR Strings[394]
0637 #define termcap_reset CUR Strings[395]
0638 #define magic_cookie_glitch_ul CUR Numbers[33]
0639 #define backspaces_with_bs CUR Booleans[37]
0640 #define crt_no_scrolling CUR Booleans[38]
0641 #define no_correctly_working_cr CUR Booleans[39]
0642 #define carriage_return_delay CUR Numbers[34]
0643 #define new_line_delay CUR Numbers[35]
0644 #define linefeed_if_not_lf CUR Strings[396]
0645 #define backspace_if_not_bs CUR Strings[397]
0646 #define gnu_has_meta_key CUR Booleans[40]
0647 #define linefeed_is_newline CUR Booleans[41]
0648 #define backspace_delay CUR Numbers[36]
0649 #define horizontal_tab_delay CUR Numbers[37]
0650 #define number_of_function_keys CUR Numbers[38]
0651 #define other_non_function_keys CUR Strings[398]
0652 #define arrow_key_map CUR Strings[399]
0653 #define has_hardware_tabs CUR Booleans[42]
0654 #define return_does_clr_eol CUR Booleans[43]
0655 #define acs_ulcorner CUR Strings[400]
0656 #define acs_llcorner CUR Strings[401]
0657 #define acs_urcorner CUR Strings[402]
0658 #define acs_lrcorner CUR Strings[403]
0659 #define acs_ltee CUR Strings[404]
0660 #define acs_rtee CUR Strings[405]
0661 #define acs_btee CUR Strings[406]
0662 #define acs_ttee CUR Strings[407]
0663 #define acs_hline CUR Strings[408]
0664 #define acs_vline CUR Strings[409]
0665 #define acs_plus CUR Strings[410]
0666 #define memory_lock CUR Strings[411]
0667 #define memory_unlock CUR Strings[412]
0668 #define box_chars_1 CUR Strings[413]
0669 #endif
0670
0671
0672
0673
0674
0675 #define BOOLCOUNT 44
0676 #define NUMCOUNT 39
0677 #define STRCOUNT 414
0678
0679
0680 #define acs_chars_index 146
0681
0682 typedef struct termtype {
0683 char *term_names;
0684 char *str_table;
0685 NCURSES_SBOOL *Booleans;
0686 short *Numbers;
0687 char **Strings;
0688
0689 #if NCURSES_XNAMES
0690 char *ext_str_table;
0691 char **ext_Names;
0692
0693 unsigned short num_Booleans;
0694 unsigned short num_Numbers;
0695 unsigned short num_Strings;
0696
0697 unsigned short ext_Booleans;
0698 unsigned short ext_Numbers;
0699 unsigned short ext_Strings;
0700 #endif
0701
0702 } TERMTYPE;
0703
0704
0705
0706
0707
0708
0709
0710
0711
0712 #ifdef NCURSES_INTERNALS
0713
0714 #undef TERMINAL
0715 #define TERMINAL struct term
0716 TERMINAL;
0717
0718 #undef TERMTYPE2
0719 #define TERMTYPE2 TERMTYPE
0720 #else
0721
0722 typedef struct term {
0723 TERMTYPE type;
0724 } TERMINAL;
0725
0726 #endif
0727
0728
0729 #if 0 && !0
0730 extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term;
0731
0732 #elif 0
0733 NCURSES_WRAPPED_VAR(TERMINAL *, cur_term);
0734 #define cur_term NCURSES_PUBLIC_VAR(cur_term())
0735 #else
0736 extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term;
0737 #endif
0738
0739
0740 #if 0 || 0
0741 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolnames);
0742 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolcodes);
0743 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, boolfnames);
0744 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, numnames);
0745 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, numcodes);
0746 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, numfnames);
0747 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strnames);
0748 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strcodes);
0749 NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, strfnames);
0750
0751 #define boolnames NCURSES_PUBLIC_VAR(boolnames())
0752 #define boolcodes NCURSES_PUBLIC_VAR(boolcodes())
0753 #define boolfnames NCURSES_PUBLIC_VAR(boolfnames())
0754 #define numnames NCURSES_PUBLIC_VAR(numnames())
0755 #define numcodes NCURSES_PUBLIC_VAR(numcodes())
0756 #define numfnames NCURSES_PUBLIC_VAR(numfnames())
0757 #define strnames NCURSES_PUBLIC_VAR(strnames())
0758 #define strcodes NCURSES_PUBLIC_VAR(strcodes())
0759 #define strfnames NCURSES_PUBLIC_VAR(strfnames())
0760
0761 #else
0762
0763 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolnames[];
0764 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
0765 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolfnames[];
0766 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numnames[];
0767 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numcodes[];
0768 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numfnames[];
0769 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strnames[];
0770 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strcodes[];
0771 extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strfnames[];
0772
0773 #endif
0774
0775
0776
0777
0778 #ifdef NCURSES_INTERNALS
0779
0780 extern NCURSES_EXPORT(int) _nc_set_tty_mode (TTY *buf);
0781 extern NCURSES_EXPORT(int) _nc_read_entry2 (const char * const, char * const, TERMTYPE2 *const);
0782 extern NCURSES_EXPORT(int) _nc_read_file_entry (const char *const, TERMTYPE2 *);
0783 extern NCURSES_EXPORT(int) _nc_read_termtype (TERMTYPE2 *, char *, int);
0784 extern NCURSES_EXPORT(char *) _nc_first_name (const char *const);
0785 extern NCURSES_EXPORT(int) _nc_name_match (const char *const, const char *const, const char *const);
0786 extern NCURSES_EXPORT(char *) _nc_tiparm(int, const char *, ...);
0787 extern NCURSES_EXPORT(const TERMTYPE *) _nc_fallback (const char *);
0788 extern NCURSES_EXPORT(int) _nc_read_entry (const char * const, char * const, TERMTYPE *const);
0789
0790 #endif
0791
0792
0793
0794
0795 extern NCURSES_EXPORT(TERMINAL *) set_curterm (TERMINAL *);
0796 extern NCURSES_EXPORT(int) del_curterm (TERMINAL *);
0797
0798
0799 extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *);
0800 extern NCURSES_EXPORT(int) setupterm (const char *,int,int *);
0801
0802
0803 #if !defined(__NCURSES_H)
0804 extern NCURSES_EXPORT(char *) tigetstr (const char *);
0805 extern NCURSES_EXPORT_VAR(char) ttytype[];
0806 extern NCURSES_EXPORT(int) putp (const char *);
0807 extern NCURSES_EXPORT(int) tigetflag (const char *);
0808 extern NCURSES_EXPORT(int) tigetnum (const char *);
0809
0810
0811 #if 1
0812 extern NCURSES_EXPORT(char *) tparm (const char *, ...);
0813 #else
0814 extern NCURSES_EXPORT(char *) tparm (const char *, long,long,long,long,long,long,long,long,long);
0815 #endif
0816
0817 extern NCURSES_EXPORT(char *) tiparm (const char *, ...);
0818 extern NCURSES_EXPORT(char *) tiparm_s (int, int, const char *, ...);
0819 extern NCURSES_EXPORT(int) tiscan_s (int *, int *, const char *);
0820
0821 #endif
0822
0823
0824 #if !defined(NCURSES_TERMCAP_H_incl)
0825 extern NCURSES_EXPORT(char *) tgetstr (const char *, char **);
0826 extern NCURSES_EXPORT(char *) tgoto (const char *, int, int);
0827 extern NCURSES_EXPORT(int) tgetent (char *, const char *);
0828 extern NCURSES_EXPORT(int) tgetflag (const char *);
0829 extern NCURSES_EXPORT(int) tgetnum (const char *);
0830 extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int));
0831 #endif
0832
0833
0834
0835
0836 #if defined(NCURSES_SP_FUNCS) && (NCURSES_SP_FUNCS != 0)
0837
0838 extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tigetstr) (SCREEN*, const char *);
0839 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(putp) (SCREEN*, const char *);
0840 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tigetflag) (SCREEN*, const char *);
0841 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tigetnum) (SCREEN*, const char *);
0842
0843
0844 #if 1
0845 extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tparm) (SCREEN*, const char *, ...);
0846 #else
0847 extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tparm) (SCREEN*, const char *, long,long,long,long,long,long,long,long,long);
0848 #endif
0849
0850
0851 extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tgetstr) (SCREEN*, const char *, char **);
0852 extern NCURSES_EXPORT(char *) NCURSES_SP_NAME(tgoto) (SCREEN*, const char *, int, int);
0853 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetent) (SCREEN*, char *, const char *);
0854 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetflag) (SCREEN*, const char *);
0855 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tgetnum) (SCREEN*, const char *);
0856 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(tputs) (SCREEN*, const char *, int, NCURSES_SP_OUTC);
0857
0858 extern NCURSES_EXPORT(TERMINAL *) NCURSES_SP_NAME(set_curterm) (SCREEN*, TERMINAL *);
0859 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(del_curterm) (SCREEN*, TERMINAL *);
0860
0861 extern NCURSES_EXPORT(int) NCURSES_SP_NAME(restartterm) (SCREEN*, NCURSES_CONST char *, int, int *);
0862 #endif
0863
0864
0865
0866
0867 extern GCC_NORETURN NCURSES_EXPORT(void) exit_terminfo(int);
0868
0869 #ifdef __cplusplus
0870 }
0871 #endif
0872
0873 #endif