подпрограммы библиотеки Curses для управления атрибутами символов и окон (curses character and window attribute control routines)
Видео атрибуты (Video attributes)
The following video attributes, defined in <curses.h>, can be
passed to the routines attron, attroff, and attrset, or OR'd with
the characters passed to addch (see curs_addch(3X)).
Name Description
─────────────────────────────────────────────────────────────────
A_NORMAL Normal display (no highlight)
A_STANDOUT Best highlighting mode of the terminal.
A_UNDERLINE Underlining
A_REVERSE Reverse video
A_BLINK Blinking
A_DIM Half bright
A_BOLD Extra bright or bold
A_PROTECT Protected mode
A_INVIS Invisible or blank mode
A_ALTCHARSET Alternate character set
A_ITALIC Italics (non-X/Open extension)
A_CHARTEXT Bit-mask to extract a character
A_COLOR Bit-mask to extract a color (legacy routines)
These video attributes are supported by attr_on and related
functions (which also support the attributes recognized by
attron, etc.):
Name Description
─────────────────────────────────────────
WA_HORIZONTAL Horizontal highlight
WA_LEFT Left highlight
WA_LOW Low highlight
WA_RIGHT Right highlight
WA_TOP Top highlight
WA_VERTICAL Vertical highlight
The return values of many of these routines are not meaningful
(they are implemented as macro-expanded assignments and simply
return their argument). The SVr4 manual page claims (falsely)
that these routines always return 1.