-
-</PRE>
-<H2>PORTABILITY</H2><PRE>
- 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-
+ The <EM>use</EM><STRONG>_</STRONG><EM>default</EM><STRONG>_</STRONG><EM>colors()</EM> function was added to support
+ <EM>ded</EM>. This is a full-screen application which uses curses
+ to manage only part of the screen. The bottom portion of
+ the screen, which is of adjustable size, is left uncolored
+ to display the results from shell commands. The top por-
+ tion of the screen colors filenames using a scheme like
+ the "color ls" programs. Attempting to manage the back-
+ ground color of the screen for this application would give
+ unsatisfactory results for a variety of reasons. This
+ extension was devised after noting that color xterm (and
+ similar programs) provides a background color which does
+ not necessarily correspond to any of the ANSI colors.
+ While a special terminfo entry could be constructed using
+ nine colors, there was no mechanism provided within curses
+ to account for the related <EM>orig</EM><STRONG>_</STRONG><EM>pair</EM> and <EM>back</EM><STRONG>_</STRONG><EM>color</EM><STRONG>_</STRONG><EM>erase</EM>
+ capabilities.
+
+ The <EM>assume</EM><STRONG>_</STRONG><EM>default</EM><STRONG>_</STRONG><EM>colors()</EM> function was added to solve a
+ different problem: support for applications which would
+ use environment variables and other configuration to
+ bypass curses' notion of the terminal's default colors,
+ setting specific values.
+
+
+</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
+ 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-