X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fterm_variables.3x.html;h=8db839940a523ae20d9c96f5fddc23a744547c6e;hp=414ff165b3755fbe7a89e00108de2c0cf7e417ce;hb=HEAD;hpb=ed646e3f683083e787c6ba773364401dc9fa9d40 diff --git a/doc/html/man/term_variables.3x.html b/doc/html/man/term_variables.3x.html index 414ff165..99b6786b 100644 --- a/doc/html/man/term_variables.3x.html +++ b/doc/html/man/term_variables.3x.html @@ -1,6 +1,7 @@ -
- --term_variables(3x) term_variables(3x) +term_variables(3x) Library calls term_variables(3x)
- SP, acs_map, boolcodes, boolfnames, boolnames, cur_term, numcodes, - numfnames, numnames, strcodes, strfnames, strnames, ttytype - curses - terminfo global variables + SP, acs_map, boolcodes, boolfnames, boolnames, cur_term, numcodes, + numfnames, numnames, strcodes, strfnames, strnames, ttytype - terminfo + global variables
@@ -63,17 +64,17 @@ char ttytype[]; - NCURSES_CONST char * const * boolcodes; - NCURSES_CONST char * const * boolfnames; - NCURSES_CONST char * const * boolnames; + NCURSES_CONST char * const boolcodes[]; + NCURSES_CONST char * const boolfnames[]; + NCURSES_CONST char * const boolnames[]; - NCURSES_CONST char * const * numcodes; - NCURSES_CONST char * const * numfnames; - NCURSES_CONST char * const * numnames; + NCURSES_CONST char * const numcodes[]; + NCURSES_CONST char * const numfnames[]; + NCURSES_CONST char * const numnames[]; - NCURSES_CONST char * const * strcodes; - NCURSES_CONST char * const * strfnames; - NCURSES_CONST char * const * strnames; + NCURSES_CONST char * const strcodes[]; + NCURSES_CONST char * const strfnames[]; + NCURSES_CONST char * const strnames[];
@@ -82,9 +83,9 @@ curs_terminfo(3x) manual page. Depending on the configuration, these may be actual variables, or - macros (see curs_threads(3x)) which provide read-only access to curs- - es's state. In either case, applications should treat them as read-on- - ly to avoid confusing the library. + macros (see curs_threads(3x)) which provide read-only access to + curses's state. In either case, applications should treat them as + read-only to avoid confusing the library.
@@ -96,54 +97,54 @@ Application developers need only know that it is used for the "ACS_" constants in <curses.h>. - The comparable data for the wide-character library is a private vari- - able. + The comparable data for the wide-character library is a private + variable.
- After initializing the curses or terminfo interfaces, the cur_term con- - tains data describing the current terminal. This variable is also set - as a side-effect of set_term(3x) and delscreen(3x). + After initializing the curses or terminfo interfaces, the cur_term + contains data describing the current terminal. This variable is also + set as a side-effect of set_term(3x) and delscreen(3x). - It is possible to save a value of cur_term for subsequent use as a pa- - rameter to set_term, for switching between screens. Alternatively, one - can save the return value from newterm or setupterm(3x) to reuse in + It is possible to save a value of cur_term for subsequent use as a + parameter to set_term, for switching between screens. Alternatively, + one can save the return value from newterm or setupterm(3x) to reuse in set_term. -
+
The tic(1) and infocmp(1) programs use lookup tables for the long and short names of terminfo capabilities, as well as the corresponding - names for termcap capabilities. These are available to other applica- - tions, although the hash-tables used by the terminfo and termcap func- - tions are not available. + names for termcap capabilities. These are available to other + applications, although the hash-tables used by the terminfo and termcap + functions are not available. - The long terminfo capability names use a "l" (ell) in their names: + The long terminfo capability names use a "f" (eff) in their names: boolfnames, numfnames, and strfnames. - These are the short names for terminfo capabilities: boolnames, num- - names, and strnames. + These are the short names for terminfo capabilities: boolnames, + numnames, and strnames. - These are the corresponding names used for termcap descriptions: bool- - codes, numcodes, and strcodes. + These are the corresponding names used for termcap descriptions: + boolcodes, numcodes, and strcodes.
A terminal description begins with one or more terminal names separated by "|" (vertical bars). On initialization of the curses or terminfo - interfaces, setupterm(3x) copies the terminal names to the array tty- - type. + interfaces, setupterm(3x) copies the terminal names to the array + ttytype. -
+
In addition to the variables, <term.h> also defines a symbol for each terminfo capability long name. These are in terms of the symbol CUR, which is defined #define CUR ((TERMTYPE *)(cur_term))-> - These symbols provide a faster method of accessing terminfo capabili- - ties than using tigetstr(3x), etc. + These symbols provide a faster method of accessing terminfo + capabilities than using tigetstr(3x), etc. The actual definition of CUR depends upon the implementation, but each terminfo library provides these long names defined to point into the @@ -158,12 +159,12 @@
X/Open Curses does not describe any of these except for cur_term. (The - inclusion of cur_term appears to be an oversight, since other compara- - ble low-level information is omitted by X/Open). + inclusion of cur_term appears to be an oversight, since other + comparable low-level information is omitted by X/Open). - Other implementations may have comparable variables. Some implementa- - tions provide the variables in their libraries, but omit them from the - header files. + Other implementations may have comparable variables. Some + implementations provide the variables in their libraries, but omit them + from the header files. All implementations which provide terminfo interfaces add definitions as described in the Terminfo Names section. Most, but not all, base @@ -171,11 +172,11 @@
- curses(3x), curs_terminfo(3x), curs_threads(3x), terminfo(5). + curses(3x), curs_terminfo(3x), curs_threads(3x), terminfo(5) - term_variables(3x) +ncurses 6.5 2024-03-16 term_variables(3x)