X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fterm_variables.3x.html;h=d7bb4f04249f48816fce5761a6696c959433075a;hp=799b0a0fcb116f50b0409b1aba90642412ef27bd;hb=f344f8539c1543f8cd65a5bb142dbaf23b9421d2;hpb=6208c89f98f1cf9fe0980bd8e791846ce007a13d diff --git a/doc/html/man/term_variables.3x.html b/doc/html/man/term_variables.3x.html index 799b0a0f..d7bb4f04 100644 --- a/doc/html/man/term_variables.3x.html +++ b/doc/html/man/term_variables.3x.html @@ -1,6 +1,6 @@ @@ -105,17 +105,17 @@
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 curs_initscr(3x) - and curs_initscr(3x). + 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 parameter to set_term, for switching between screens. Alternatively, one can save the return value - from newterm or setupterm to reuse in set_term. + from newterm or setupterm(3x) to reuse in set_term.
- The tic(1m) and infocmp(1m) programs use lookup tables for + 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 applications, although the @@ -134,39 +134,40 @@
On initialization of the curses or terminfo interfaces, - setupterm copies the terminal name to the array ttytype. + setupterm(3x) copies the terminal name to the array tty- + type.
In addition to the variables, <term.h> also defines a sym- - bol for each terminfo capability long name. These are in + bol for each terminfo capability long name. These are in terms of the symbol CUR, which is defined #define CUR cur_term->type. These symbols provide a faster method of accessing termin- - fo capabilities than using tigetstr(3x), etc. + fo capabilities than using tigetstr(3x), etc.
- The low-level terminfo interface is initialized using - curs_terminfo(3x). The upper-level curses interface uses the + The low-level terminfo interface is initialized using + setupterm(3x). The upper-level curses interface uses the low-level terminfo interface, internally.
- X/Open Curses does not describe any of these except for - cur_term. (The inclusion of cur_term appears to be an + 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 comparable low-level information is omitted by X/Open). Other implementations may have comparable variables. Some - implementations provide the variables in their libraries, + 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 the definition upon the cur_term + All implementations which provide terminfo interfaces add + definitions as described in the Terminfo Names section. + Most, but not all, base the definition upon the cur_term variable.