assume_default_colors man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

CURSES_DEFAULT_COLORS(3) BSD Library Functions Manual CURSES_DEFAULT_COLORS(3)

NAME
     curses_default_colors, assume_default_colors, use_default_colors — curses
     default colors setting routines

LIBRARY
     Curses Library (libcurses, -lcurses)

SYNOPSIS
     #include <curses.h>

     int
     assume_default_colors(short fore, short back);

     int
     use_default_colors();

DESCRIPTION
     These 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 VALUES
     These functions return OK on success and ERR on failure.

SEE ALSO
     curses_color(3)

STANDARDS
     These functions are based on ncurses extensions to the curses standards.

HISTORY
     These functions first appeared in NetBSD 2.0.

BSD			       October 13, 2002				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net