COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES, TABSIZE, curscr, newscr, stdscr − curses global variables
WINDOW * curscr;
WINDOW * newscr;
WINDOW * stdscr;
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page.
Depending on the configuration, these may be actual variables, or macros (see threads(3NCURSES) and opaque(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.
After initializing curses, this variable contains the number of color pairs which the terminal can support. Usually the number of color pairs will be the product COLORS*COLORS, however this is not always true:
a few terminals use HLS colors, which do not follow this rule
terminals supporting a large number of colors are limited by the number of color pairs that can be represented in a signed short value.
After initializing curses, this variable contains the number of colors which the terminal can support.
After initializing curses, this variable contains the width of the screen, i.e., the number of columns.
This variable holds the number of milliseconds to wait after reading an escape character, to distinguish between an individual escape character entered on the keyboard from escape sequences sent by cursor- and function-keys (see curses(3X).
After initializing curses, this variable contains the height of the screen, i.e., the number of lines.
This variable holds the number of columns used by the curses library when converting a tab character to spaces as it adds the tab to a window (see curs_addch(3X).
This implementation of curses uses a special window curscr to record its updates to the terminal screen.
This implementation of curses uses a special window newscr to hold updates to the terminal screen before applying them to curscr.
Upon initializing curses, a default window called stdscr, which is the size of the terminal screen, is created. Many curses functions use this window.
The curses library is initialized using either initscr(3X), or newterm(3X).
If curses is configured to use separate curses/terminfo libraries, most of these variables reside in the curses library.
ESCDELAY and TABSIZE are extensions, not provided in most other implementations of curses.
ncurses(3NCURSES), opaque(3NCURSES), terminfo(3NCURSES), threads(3NCURSES), terminfo_variables(3NCURSES), terminfo(5).
More Linux Commands
passmass(1) - change password on multiple machines (ManPage)
Passmass changes a password on multiple machines. If you have accounts on several machines that do not share password databases, Passmass can help you keep them
XShmCreateImage(3) - X Shared Memory extension functions....
XShmQueryExtension checks to see if the shared memory extensions are available for the specified display. XShmQueryVersion returns the version numbers of the ex
XpDestroyContext(3x) - Gets the current print context-id for
XpDestroyContext closes any outstanding associations between the print context and any display connections, and then destroys the print context. All display con
mrtg-traffic-sum(1) Builds monthly traffic summary from mrtg
The mrtg-traffic-sum goes through the mrtg logs for the targets in the the config file specified and builds the traffic total for the last month in Giga Bytes.
endprotoent(3) - get protocol entry - Linux manual page.....
endprotoent.3 - The getprotoent() function reads the next entry from the protocols database (see protocols(5)) and returns a protoent structure containing the b
arm_sync_file_range(2) - sync a file segment with disk......
sync_file_range() permits fine control when synchronizing the open file referred to by the file descriptor fd with disk. offset is the starting byte of the file
Tcl_CreateAlias(3) - manage multiple Tcl interpreters, alias
These procedures are intended for access to the multiple interpreter facility from inside C programs. They enable managing multiple interpreters in a hierarchic
TYPE_NUMERIC(3form) - form system global variables (ManPage)
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for field- and character-va
getservbyport_r(3) - get service entry (reentrant) (ManPage)
The getservent_r(), getservbyname_r(), and getservbyport_r() functions are the reentrant equivalents of, respectively, getservent(3), getservbyname(3), and gets
fmt(1) - simple optimal text formatter - Linux manual page
Reformat each paragraph in the FILE(s), writing to standard output. The option -WIDTH is an abbreviated form of --width=DIGITS. Mandatory arguments to long opti
rewinddir(3) - reset directory stream - Linux manual page...
The rewinddir() function resets the position of the directory stream dirp to the beginning of the directory. RETURN VALUE The rewinddir() function returns no va
XtPeekEvent(3) - query and process events and input.........
XtNextEvent has been replaced by XtAppNextEvent. XtPeekEvent has been replaced by XtAppPeekEvent. XtPending has been replaced by XtAppPending. XtProcessEvent ha