NAME
SP, acs_map, boolcodes, boolfnames, boolnames, cur_term, numcodes, numfnames, numnames, strcodes, strfnames, strnames, ttytype - curses terminfo global variables
SYNOPSIS
#include <curses.h> #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; 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;
DESCRIPTION
This page summarizes variables provided by the curses library's low- level terminfo interface. A more complete description is given in the curs_terminfo(3X) manual page. Depending on the configuration, these may be actual variables, or macros (see threads(3NCURSES)) which provide read-only access to curses's state. In either case, applications should treat them as read-only to avoid confusing the library. Alternate Character Set Mapping After initializing the curses or terminfo interfaces, the acs_map array holds information used to translate cells with the A_ALTCHARSET video attribute into line-drawing characters. The encoding of the information in this array has changed periodically. 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 variable. Current Terminal Data 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 parameter to set_term, for switching between screens. Alternatively, one can save the return value from newterm or setupterm to reuse in set_term. Terminfo Names 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 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, and strfnames. These are the short names for terminfo capabilities: boolnames, numnames, and strnames. These are the corresponding names used for termcap descriptions: boolcodes, numcodes, and strcodes. Terminal Type 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 symbol 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 terminfo capabilities than using tigetstr(3X), etc.
NOTES
The low-level terminfo interface is initialized using setupterm(3X). The upper-level curses interface uses the low-level terminfo interface, internally.
PORTABILITY
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, 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
ncurses(3NCURSES), terminfo(3NCURSES), threads(3NCURSES), terminfo(5). terminfo_variables(3NCURSES)
More Linux Commands
manpages/ynf.3.html
ynf(3) - Bessel functions of the second kind (Man Page).....
The y0() and y1() functions return Bessel functions of x of the second kind of orders 0 and 1, respectively. The yn() function returns the Bessel function of x
manpages/gnutls_hex_decode.3.html
gnutls_hex_decode(3) - API function - Linux manual page.....
This function will decode the given encoded data, using the hex encoding used by PSK password files. Note that hex_data should be null terminated. RETURNS GNUTL
manpages/rngtest.1.html
rngtest(1) Check the randomness of data using FIPS 140-2 tes
rngtest works on blocks of 20000 bits at a time, using the FIPS 140-2 (errata of 2001-10-10) tests to verify the randomness of the block of data. It takes input
manpages/glMultiTexCoord1fARB.3gl.html
glMultiTexCoord1fARB(3gl) - set the current texture coordina
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1
manpages/sem_open.3.html
sem_open(3) - initialize and open a named semaphore.........
sem_open() creates a new POSIX semaphore or opens an existing semaphore. The semaphore is identified by name. For details of the construction of name, see sem_o
manpages/clearerr.3.html
clearerr(3) - check and reset stream status - Linux man page
The function clearerr() clears the end-of-file and error indicators for the stream pointed to by stream. The function feof() tests the end-of-file indicator for
manpages/XauLockAuth.3.html
XauLockAuth(3) - (unknown subject) - Linux manual page......
XauFileName generates the default authorization file name by first checking the XAUTHORITY environment variable if set, else it returns $HOME/.Xauthority. This
manpages/complex.7.html
complex(7) - basics of complex mathematics - Linux man page
complex.7 - Complex numbers are numbers of the form z = a+b*i, where a and b are real numbers and i = sqrt(-1), so that i*i = -1. There are other ways to repres
manpages/Tcl_FSData.3.html
Tcl_FSData(3) - procedures to interact with any filesystem
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
manpages/tcl_precision.n.html
tcl_precision(n) Variables used by Tcl _____________________
The following global variables are created and managed automatically by the Tcl library. Except where noted below, these variables should normally be treated as
manpages/glMultiTexCoord4fARB.3gl.html
glMultiTexCoord4fARB(3gl) - set the current texture coordina
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1
manpages/asn1_get_bit_der.3.html
asn1_get_bit_der(3) - API function - Linux manual page......
Extract a BIT SEQUENCE from DER data. RETURNS Return ASN1_SUCCESS on success, or an error. COPYRIGHT Copyright &copy; 2006-2013 Free Software Foundation, Inc..
