]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/dft_fgbg.3x
ncurses 5.0
[ncurses.git] / man / dft_fgbg.3x
index 92196b759ef1a158a3f0e69ffe9234a08682dd20..2461256857b818ed270e39961e743b2c09d68a8b 100644 (file)
@@ -1,33 +1,43 @@
-.\"*****************************************************************************
-.\" Copyright 1997 by Thomas E. Dickey <dickey@clark.net>                      *
-.\" All Rights Reserved.                                                       *
-.\"                                                                            *
-.\" Permission to use, copy, modify, and distribute this software and its      *
-.\" documentation for any purpose and without fee is hereby granted, provided  *
-.\" that the above copyright notice appear in all copies and that both that    *
-.\" copyright notice and this permission notice appear in supporting           *
-.\" documentation, and that the name of the above listed copyright holder(s)   *
-.\" not be used in advertising or publicity pertaining to distribution of the  *
-.\" software without specific, written prior permission. THE ABOVE LISTED      *
-.\" COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,  *
-.\" INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO     *
-.\" EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY         *
-.\" SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER       *
-.\" RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF       *
-.\" CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN        *
-.\" CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.                   *
-.\"*****************************************************************************
-.\" $Id: dft_fgbg.3x,v 1.1 1997/01/19 02:51:30 tom Exp $
+.\"***************************************************************************
+.\" Copyright (c) 1998 Free Software Foundation, Inc.                        *
+.\"                                                                          *
+.\" Permission is hereby granted, free of charge, to any person obtaining a  *
+.\" copy of this software and associated documentation files (the            *
+.\" "Software"), to deal in the Software without restriction, including      *
+.\" without limitation the rights to use, copy, modify, merge, publish,      *
+.\" distribute, distribute with modifications, sublicense, and/or sell       *
+.\" copies of the Software, and to permit persons to whom the Software is    *
+.\" furnished to do so, subject to the following conditions:                 *
+.\"                                                                          *
+.\" The above copyright notice and this permission notice shall be included  *
+.\" in all copies or substantial portions of the Software.                   *
+.\"                                                                          *
+.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
+.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
+.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
+.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
+.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
+.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
+.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
+.\"                                                                          *
+.\" Except as contained in this notice, the name(s) of the above copyright   *
+.\" holders shall not be used in advertising or otherwise to promote the     *
+.\" sale, use or other dealings in this Software without prior written       *
+.\" authorization.                                                           *
+.\"***************************************************************************
+.\"
+.\" Author: Thomas E. Dickey <dickey@clark.net> 1997
+.\"
+.\" $Id: dft_fgbg.3x,v 1.6 1998/03/14 23:43:15 tom Exp $
 .TH use_default_colors 3X ""
 .TH use_default_colors 3X ""
-.
 .SH NAME
 .SH NAME
-\fBuse_default_colors\fP \- use terminal's default colors
-.
+\fBdft_fgbg\fR \- use terminal's default colors
+..
 .SH SYNOPSIS
 \fB#include <curses.h>\fP
 
 \fBint use_default_colors(void);\fP
 .SH SYNOPSIS
 \fB#include <curses.h>\fP
 
 \fBint use_default_colors(void);\fP
-.
+..
 .SH DESCRIPTION
 This is an extension to the curses library.
 It is used with terminals that support ISO 6429 color, or equivalent.
 .SH DESCRIPTION
 This is an extension to the curses library.
 It is used with terminals that support ISO 6429 color, or equivalent.
@@ -41,28 +51,28 @@ 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.
 are not adversely impacted by this type of terminal design.
 However, there are applications that are designed to work with
 the default background.
-.
+..
 .SH RETURN VALUE
 The function returns the integer \fBERR\fP upon failure and \fBOK\fP on success.
 It will fail if either the terminal does not support
 the \fIorig_pair\fP or \fIorig_colors\fP capability.
 If the \fIinitialize_pair\fP capability is found, this causes an
 error as well.
 .SH RETURN VALUE
 The function returns the integer \fBERR\fP upon failure and \fBOK\fP on success.
 It will fail if either the terminal does not support
 the \fIorig_pair\fP or \fIorig_colors\fP capability.
 If the \fIinitialize_pair\fP capability is found, this causes an
 error as well.
-.
+..
 .SH NOTES
 .SH NOTES
-Associated with this extension, the \fBinit_pair\fP(3x) function accepts
+Associated with this extension, the \fBinit_pair\fR(3X) function accepts
 negative arguments to specify default foreground or background
 colors.
 negative arguments to specify default foreground or background
 colors.
-.
+..
 .SH 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 conditioned using NCURSES_VERSION.
 .SH 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 conditioned using NCURSES_VERSION.
-.
+..
 .SH SEE ALSO
 .SH SEE ALSO
-\fBcurs_color\fP(3x),
+\fBcurs_color\fR(3X),
 \fBded\fP(1).
 \fBded\fP(1).
-.
+..
 .SH AUTHOR
 Thomas Dickey (from an analysis of the requirements for color xterm
 for XFree86 3.1.2C, February 1996).
 .SH AUTHOR
 Thomas Dickey (from an analysis of the requirements for color xterm
 for XFree86 3.1.2C, February 1996).