curses.5 (2010 09)

c
curses(5) curses(5)
(CURSES)
ACS_DARROW WACS_DARROW v arrow pointing down
ACS_UARROW WACS_UARROW ^ arrow pointing up
ACS_BOARD WACS_BOARD # board of squares
ACS_LANTERN WACS_LANTERN # lantern symbol
ACS_BLOCK WACS_BLOCK # solid square block
Colour-related Macros
The following colour-related macros are defined:
COLOR_BLACK
COLOR_BLUE
COLOR_GREEN
COLOR_CYAN
COLOR_RED
COLOR_MAGENTA
COLOR_YELLOW
COLOR_WHITE
Coordinate-related Macros
The following coordinate-related macros are defined:
void getbegyx(WINDOW *win, int y, int x);
void getmaxyx(WINDOW *win, int y, int x);
void getparyx(WINDOW *win, int y, int x);
void getyx(WINDOW *win, int y, int x);
Key Codes
The following symbolic constants representing function key values are defined:
Key Code Description
Used to indicate that a wchar_t variable contains a
key code
KEY_CODE_YES
KEY_BREAK Break key
KEY_DOWN Down arrow key
KEY_UP Up arrow key
KEY_LEFT Left arrow key
KEY_RIGHT Right arrow key
KEY_HOME Home key
KEY_BACKSPACE Backspace
KEY_F0 Function keys; space for 64 keys is reserved
KEY_F(n)For0 n 63
KEY_DL Delete line
KEY_IL Insert line
KEY_DC Delete character
KEY_IC Insert char or enter insert mode
KEY_EIC Exit insert char mode
KEY_CLEAR Clear screen
KEY_EOS Clear to end of screen
KEY_EOL Clear to end of line
KEY_SF Scroll 1 line forward
KEY_SR Scroll 1 line backward (reverse)
KEY_NPAGE Next page
KEY_PPAGE Previous page
KEY_STAB Set tab
KEY_CTAB Clear tab
KEY_CATAB Clear all tabs
KEY_ENTER Enter or send
KEY_SRESET Soft (partial) reset
KEY_RESET Reset or hard reset
KEY_PRINT Print or copy
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3