numfnames(3ncurses)


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/TAILQ_INSERT_TAIL.3.html
TAILQ_ENTRY(3) implementations of lists, tail queues, and ci
These macros define and operate on three types of data structures: lists, tail queues, and circular queues. All three structures support the following functiona

manpages/getbegy.3ncurses.html
getbegy(3ncurses) - get curses cursor and window coordinates
The getbegy and getbegx functions return the same data as getbegyx. The getcury and getcurx functions return the same data as getyx. The getmaxy and getmaxx fun

manpages/iso_8859_7.7.html
iso_8859_7(7) - ISO 8859-7 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-7 encodes the characters used in modern

manpages/exp2.3.html
exp2(3) - base-2 exponential function - Linux manual page...
The exp2() function returns the value of 2 raised to the power of x. RETURN VALUE On success, these functions return the base-2 exponential value of x. For vari

manpages/test.1.html
test(1) - check file types and compare values (Man Page)....
test.1 - Exit with the status determined by EXPRESSION. --help display this help and exit --version output version information and exit An omitted EXPRESSION de

manpages/XIUngrabEnter.3.html
XIUngrabEnter(3) - grab/ungrab enter or focus in events.....
XIGrabEnter and XIGrabFocusIn establish a passive grab. The modifier device for a enter grab is the paired master device if deviceid specifies a master pointer.

manpages/iso_8859-16.7.html
iso_8859-16(7) - ISO 8859-16 character set encoded in octal,
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-16, the Latin Alphabet No. 10 is used t

manpages/addnstr.3ncurses.html
addnstr(3ncurses) - add a string of characters to a curses w
addnstr.3ncurses - These functions write the (null-terminated) character string str on the given window. It is similar to calling waddch once for each character

manpages/register_app_config_handler.3.html
register_app_config_handler(3) - netsnmp_config_api function
The functions are a fairly extensible system of parsing various configuration files at the run time of an application. The configuration file flow is broken int

manpages/ciptool.1.html
ciptool(1) - Bluetooth Common ISDN Access Profile (CIP).....
ciptool is used to set up, maintain, and inspect the CIP configuration of the Bluetooth subsystem in the Linux kernel. OPTIONS -h Gives a list of possible comma

manpages/alloc_hugepages.2.html
alloc_hugepages(2) - allocate or free huge pages (Man Page)
The system calls alloc_hugepages() and free_hugepages() were introduced in Linux 2.5.36 and removed again in 2.5.54. They existed only on i386 and ia64 (when bu

manpages/XwcTextPerCharExtents.3.html
XwcTextPerCharExtents(3) - obtain per-character information
The XmbTextPerCharExtents, XwcTextPerCharExtents and Xutf8TextPerCharExtents functions return the text dimensions of each character of the specified text, using





We can't live, work or learn in freedom unless the software we use is free.