curses.5 (2010 09)

c
curses(5) curses(5)
(CURSES)
WA_VERTICAL Vertical highlight
These attribute flags shall be distinct.
The following symbolic constants are used to manipulate attribute bits in objects of type
chtype:
A_ALTCHARSET Alternate character set
A_BLINK Blinking
A_BOLD Extra bright or bold
A_DIM Half bright
A_INVIS Invisible
A_PROTECT Protected
A_REVERSE Reverse video
A_STANDOUT Best highlighting mode of the terminal
A_UNDERLINE Underlining
These attribute flags need not be distinct except when _XOPEN_CURSES is defined and the application
sets _XOPEN_SOURCE_EXTENDED to 1.
The following symbolic constants can be used as bit-masks to extract the components of a
chtype:
A_ATTRIBUTES Bit-mask to extract attributes
A_CHARTEXT Bit-mask to extract a character
A_COLOR Bit-mask to extract colour-pair information
The following symbolic constants can be used as bit-masks to extract the components of a
chtype:
A_ATTRIBUTES Bit-mask to extract attributes
A_CHARTEXT Bit-mask to extract a character
A_COLOR Bit-mask to extract colour-pair information
Line-Drawing Constants
The
<curses.h> header defines the symbolic constants shown in the leftmost two columns of the fol-
lowing table for use in drawing lines. The symbolic constants that begin with ACS_ are char
constants.
The symbolic constants that begin with WACS_ are
cchar_t constants for use with the wide-character
interfaces that take a pointer to a cchar_t.
In the POSIX locale, the characters shown in the POSIX Locale Default column are used when the termi-
nal database does not specify a value using the
acsc capability as described in Line Graphics in ter-
minfo(4).
POSIX Locale
char Constant cchar_t Constant Default Glyph Description
ACS_ULCORNER WACS_ULCORNER + upper left-hand corner
ACS_LLCORNER WACS_LLCORNER + lower left-hand corner
ACS_URCORNER WACS_URCORNER + upper right-hand corner
ACS_LRCORNER WACS_LRCORNER + lower right-hand corner
ACS_RTEE WACS_RTEE + right tee
ACS_LTEE WACS_LTEE + left tee
ACS_BTEE WACS_BTEE + bottom tee
ACS_TTEE WACS_TTEE + top tee
ACS_HLINE WACS_HLINE - horizontal line
ACS_VLINE WACS_VLINE | vertical line
ACS_PLUS WACS_PLUS + plus
ACS_S1 WACS_S1 - scan line 1
ACS_S9 WACS_S9 _ scan line 9
ACS_DIAMOND WACS_DIAMOND + diamond
ACS_CKBOARD WACS_CKBOARD : checker board (stipple)
ACS_DEGREE WACS_DEGREE degree symbol
ACS_PLMINUS WACS_PLMINUS # plus/minus
ACS_BULLET WACS_BULLET o bullet
ACS_LARROW WACS_LARROW < arrow pointing left
ACS_RARROW WACS_RARROW > arrow pointing right
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010