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