Query: curses_default_colors
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURSES_DEFAULT_COLORS(3) BSD Library Functions Manual CURSES_DEFAULT_COLORS(3)NAMEcurses_default_colors, assume_default_colors, use_default_colors -- curses default colors setting routinesLIBRARYCurses Library (libcurses, -lcurses)SYNOPSIS#include <curses.h> int assume_default_colors(short fore, short back); int use_default_colors();DESCRIPTIONThese functions tell the curses library to set the default colors or to use the terminal's default colors instead of using the default colors for curses applications (which are white foreground on black background). The function assume_default_colors(fore, back) sets the default colors to foreground color fore and background color back. If a value of -1 is used for a color, then the terminal default color is used for that color. The function use_default_colors() sets both the foreground and background colors to the terminal default colors. This is equivalent to assume_default_colors(-1, -1).RETURN VALUESThese functions return OK on success and ERR on failure.SEE ALSOcurses_color(3)STANDARDSThese functions are based on ncurses extensions to the curses standards.HISTORYThese functions first appeared in NetBSD 2.0.BSDOctober 13, 2002 BSD
Related Man Pages |
---|
use_default_colors(3x) - redhat |
can_change_color(3) - netbsd |
curses_default_colors(3) - netbsd |
init_color(3) - netbsd |
init_pair(3) - netbsd |
Similar Topics in the Unix Linux Community |
---|
Xterm with Pine |
Reverse Display |
set background/foreground color in .profile |
xemacs colors for C files |
Terminal colors |