X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fterm_variables.3x.html;h=0005184e6fc5a0b72eeb6eec7aa775422d95cf86;hp=647a0142037e765aba1ae0845ef40d8f3570c634;hb=b11cef1e315b58820ea0cde239ebf2f741ef8948;hpb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012 diff --git a/doc/html/man/term_variables.3x.html b/doc/html/man/term_variables.3x.html index 647a0142..0005184e 100644 --- a/doc/html/man/term_variables.3x.html +++ b/doc/html/man/term_variables.3x.html @@ -1,6 +1,6 @@ @@ -38,8 +38,7 @@ -

term_variables 3x

-
+

term_variables 3x

 term_variables(3x)                                   term_variables(3x)
 
@@ -59,17 +58,24 @@
        #include <term.h>
 
        chtype acs_map[];
+
+       SCREEN * SP;
+
+       TERMINAL * cur_term;
+
+       char ttytype[];
+
        NCURSES_CONST char * const * boolcodes;
        NCURSES_CONST char * const * boolfnames;
        NCURSES_CONST char * const * boolnames;
-       TERMINAL * cur_term;
+
        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;
-       char ttytype[];
 
 
 
@@ -118,25 +124,38 @@ The tic(1m) and infocmp(1m) 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, though the - hash-tables are not available. + 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: boolfnames numfnames strfnames + The long terminfo capability names use a "l" (ell) in + their names: boolfnames, numfnames, and strfnames. - These are the short names for terminfo capabilities: bool- - names, numnames, and strnames. + These are the short names for terminfo capabilities: bool- + names, numnames, and strnames. - These are the corresponding names used for termcap de- - scriptions: boolcodes, numcodes, and strcodes. + These are the corresponding names used for termcap de- + scriptions: boolcodes, numcodes, and strcodes.

Terminal Type

-       On initialization of the curses  or  terminfo  interfaces,
+       On  initialization  of  the curses or terminfo interfaces,
        setupterm copies the terminal name to the array ttytype.
 
 
+
+

Terminfo Names

+       In addition to the variables, <term.h> also defines a sym-
+       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.
+
+
 

NOTES

        The  low-level  terminfo  interface  is  initialized using
@@ -155,6 +174,11 @@
        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
+       variable.
+
 
 

SEE ALSO

@@ -175,6 +199,7 @@
 
  • Current Terminal Data
  • Terminfo Names
  • Terminal Type
  • +
  • Terminfo Names
  • NOTES