icon Top 9 categories map      RocketAware > man pages >

use_default_colors(3)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD Others






use_default_colors(3)                       use_default_colors(3)


NAME
       dft_fgbg - use terminal's default colors



SYNOPSIS
       #include <curses.h>

       int use_default_colors(void);

DESCRIPTION
       This  is  an  extension to the curses library.  It is used
       with terminals that support ISO 6429 color, or equivalent.
       These terminals allow the application to reset color to an
       unspecified default value (e.g., with SGR 39 or  SGR  49).
       Because  they  are  designed to support this, their design
       usually includes features to change the default foreground
       or background colors so that they do not match the assump-
       tion in XSI curses of white on black.

       Applications that paint  a  colored  background  over  the
       whole  screen  are  not adversely impacted by this type of
       terminal design.  However, there are applications that are
       designed to work with the default background.

RETURN VALUE
       The  function  returns the integer ERR upon failure and OK
       on success.  It 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.

NOTES
       Associated  with this extension, the init_pair(3) function
       accepts negative arguments to specify  default  foreground
       or background colors.

PORTABILITY
       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.

SEE ALSO
       curs_color(3), ded(1).

AUTHOR
       Thomas Dickey (from an analysis of  the  requirements  for
       color xterm for XFree86 3.1.2C, February 1996).










                                                                1



Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]


[Overview Topics]

Up to: Curses - Curses (Library for text display interfaces)


RocketLink!--> Man page versions: OpenBSD FreeBSD Others






Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > use_default_colors.3/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments