пакет обработки и оптимизации ЭЛТ-экрана (CRT screen handling and optimization package)
Расширения (Extensions)
The ncurses
library can be compiled with an option (-DUSE_GETCAP
)
that falls back to the old-style /etc/termcap file if the
terminal setup code cannot find a terminfo entry corresponding to
TERM
. Use of this feature is not recommended, as it essentially
includes an entire termcap compiler in the ncurses
startup code,
at significant cost in core and startup cycles.
The ncurses
library includes facilities for capturing mouse
events on certain terminals (including xterm). See the
curs_mouse
(3X) manual page for details.
The ncurses
library includes facilities for responding to window
resizing events, e.g., when running in an xterm. See the
resizeterm
(3X) and wresize
(3X) manual pages for details. In
addition, the library may be configured with a SIGWINCH
handler.
The ncurses
library extends the fixed set of function key
capabilities of terminals by allowing the application designer to
define additional key sequences at runtime. See the
define_key
(3X) key_defined
(3X), and keyok
(3X) manual pages for
details.
The ncurses
library can exploit the capabilities of terminals
which implement the ISO-6429 SGR 39 and SGR 49 controls, which
allow an application to reset the terminal to its original
foreground and background colors. From the users' perspective,
the application is able to draw colored text on a background
whose color is set independently, providing better control over
color contrasts. See the default_colors
(3X) manual page for
details.
The ncurses
library includes a function for directing application
output to a printer attached to the terminal device. See the
curs_print
(3X) manual page for details.