X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fdefault_colors.3x.html;h=446d4286474b94d04d132085d897bd2189c0855c;hb=2a32bee362db64f5a06b2124976b928ac3faa578;hp=4c9e8013fd47636daa6d08df39031091a7c78512;hpb=f70db18a0c3c6a828d8a5999be37239f01c9d98a;p=ncurses.git diff --git a/doc/html/man/default_colors.3x.html b/doc/html/man/default_colors.3x.html index 4c9e8013..446d4286 100644 --- a/doc/html/man/default_colors.3x.html +++ b/doc/html/man/default_colors.3x.html @@ -1,7 +1,6 @@ - +
+ +- default_colors(3x) default_colors(3x) --
+
use_default_colors, assume_default_colors - use terminal's default colors --
+
#include <curses.h> int use_default_colors(void); int assume_default_colors(int fg, int bg); --
+
The use_default_colors() and assume_default_colors() func- tions are extensions to the curses library. They are used with terminals that support ISO 6429 color, or equivalent. @@ -110,17 +107,15 @@ black background for color pair 0. --
+
These functions return the integer ERR upon failure and OK on success. They will fail if either the terminal does not support the orig_pair or orig_colors capability. If - the initialize_pair capability is found, this causes an - error as well. + the initialize_pair capability is not found, this causes + an error as well. --
+
Associated with this extension, the init_pair function accepts negative arguments to specify default foreground or background colors. @@ -149,21 +144,18 @@ setting specific values. --
+
These routines are specific to ncurses. They were not supported on Version 7, BSD or System V implementations. It is recommended that any code depending on them be con- ditioned using NCURSES_VERSION. --
- curs_color(3x), ded(1). +
+ curs_color(3x), ded(1). --
+
Thomas Dickey (from an analysis of the requirements for color xterm for XFree86 3.1.2C, February 1996). @@ -171,10 +163,17 @@ default_colors(3x)-