bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/9] Set {n,}curses in italics, not bold.


From: G. Branden Robinson
Subject: [PATCH 4/9] Set {n,}curses in italics, not bold.
Date: Fri, 22 Sep 2023 12:58:42 -0500

* man/curs_color.3x:
* man/curs_getyx.3x:
* man/new_pair.3x: Do it.
---
 man/curs_color.3x | 22 +++++++++++-----------
 man/curs_getyx.3x |  4 ++--
 man/new_pair.3x   |  8 ++++----
 3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/man/curs_color.3x b/man/curs_color.3x
index 509ebc25..b36658a5 100644
--- a/man/curs_color.3x
+++ b/man/curs_color.3x
@@ -83,7 +83,7 @@ .SH SYNOPSIS
 .fi
 .SH DESCRIPTION
 .SS Overview
-\fBcurses\fP supports color attributes on terminals with that capability.
+\fIcurses\fP supports color attributes on terminals with that capability.
 To use these routines \fB\%start_color\fP must be called, usually right after
 \fB\%initscr\fP.
 Colors are always used in pairs (referred to as color-pairs).
@@ -105,7 +105,7 @@ .SS Overview
 The routine \fB\%pair_content\fP allows a programmer to find
 out how a given color-pair is currently defined.
 .SS Color Rendering
-The \fBcurses\fP library combines these inputs to produce the
+The \fIcurses\fP library combines these inputs to produce the
 actual foreground and background colors shown on the screen:
 .bP
 per-character video attributes (e.g., via \fB\%waddch\fP),
@@ -122,36 +122,36 @@ .SS Color Rendering
 The background character is a special case: it includes a character value,
 just as if it were passed to \fB\%waddch\fP.
 .PP
-The \fBcurses\fP library does the actual work of combining these color
+The \fIcurses\fP library does the actual work of combining these color
 pairs in an internal function called from \fB\%waddch\fP:
 .bP
 If the parameter passed to \fB\%waddch\fP is \fIblank\fP,
 and it uses the special color pair 0,
 .RS
 .bP
-\fBcurses\fP next checks the window attribute.
+\fIcurses\fP next checks the window attribute.
 .bP
 If the window attribute does not use color pair 0,
-\fBcurses\fP uses the color pair from the window attribute.
+\fIcurses\fP uses the color pair from the window attribute.
 .bP
-Otherwise, \fBcurses\fP uses the background character.
+Otherwise, \fIcurses\fP uses the background character.
 .RE
 .bP
 If the parameter passed to \fB\%waddch\fP is \fInot blank\fP,
 or it does not use the special color pair 0,
-\fBcurses\fP prefers the color pair from the parameter,
+\fIcurses\fP prefers the color pair from the parameter,
 if it is nonzero.
 Otherwise, it tries the window attribute next, and finally the
 background character.
 .PP
-Some \fBcurses\fP functions such as \fB\%wprintw\fP call \fB\%waddch\fP.
+Some \fIcurses\fP functions such as \fB\%wprintw\fP call \fB\%waddch\fP.
 Those do not combine its parameter with a color pair.
 Consequently those calls use only the window attribute or
 the background character.
 .SH CONSTANTS
 In \fB\%<curses.h>\fP the following macros are defined.
 These are the standard colors (ISO-6429).
-\fBcurses\fP also assumes that \fB\%COLOR_BLACK\fP is the default
+\fIcurses\fP also assumes that \fB\%COLOR_BLACK\fP is the default
 background color for all terminals.
 .PP
 .nf
@@ -414,7 +414,7 @@ .SH RETURN VALUE
 returns an error if the color table cannot be allocated.
 .RE
 .SH NOTES
-In the \fBncurses\fP implementation, there is a separate color activation flag,
+In the \fIncurses\fP implementation, there is a separate color activation flag,
 color palette, color pairs table,
 and associated \fB\%COLORS\fP and \fB\%COLOR_PAIRS\fP counts
 for each screen; the \fB\%start_color\fP function only affects the current
@@ -490,7 +490,7 @@ .SH HISTORY
 by the size of the bitfield.
 .SH PORTABILITY
 .SS Extensions
-The functions marked as extensions were designed for \fBncurses\fP(3X),
+The functions marked as extensions were designed for \fIncurses\fP(3X),
 and are not found in SVr4 curses, 4.4BSD curses,
 or any other previous version of curses.
 .SS Standards
diff --git a/man/curs_getyx.3x b/man/curs_getyx.3x
index 5e07be7d..7acf9174 100644
--- a/man/curs_getyx.3x
+++ b/man/curs_getyx.3x
@@ -78,7 +78,7 @@ .SH PORTABILITY
 \fB\%getmaxy\fP,
 \fB\%getparx\fP and
 \fB\%getpary\fP
-for compatibility with older versions of curses.
+for compatibility with older versions of \fIcurses\fP.
 .PP
 Although X/Open Curses does not address this,
 many implementations provide members of the \%WINDOW structure
@@ -90,7 +90,7 @@ .SH PORTABILITY
 Besides the problem of opaque structures,
 the data stored in like-named members may not have like-values in
 different implementations.
-For example, the \%WINDOW._maxx and \%WINDOW._maxy values in ncurses
+For example, the \%WINDOW._maxx and \%WINDOW._maxy values in \fIncurses\fP
 have (at least since release 1.8.1) differed by one from some
 other implementations.
 The difference is hidden by means of the macro \fB\%getmaxyx\fP.
diff --git a/man/new_pair.3x b/man/new_pair.3x
index d9a840be..34882a6d 100644
--- a/man/new_pair.3x
+++ b/man/new_pair.3x
@@ -72,7 +72,7 @@ .SH SYNOPSIS
 \fBint free_pair(int \fIpair\fB);\fR
 .fi
 .SH DESCRIPTION
-These functions are an extension to the curses library.
+These functions are an extension to the \fIcurses\fP library.
 They permit an application to dynamically allocate a color pair using
 the foreground/background colors rather than assign a fixed color pair number,
 and return an unused pair to the pool.
@@ -86,7 +86,7 @@ .SH DESCRIPTION
 of a given character cell without rewriting it.
 That is, the foreground and background colors are applied as a pair.
 .bP
-Color pairs are the curses library's way of managing a color palette
+Color pairs are the \fIcurses\fP library's way of managing a color palette
 on a terminal.
 If the library does not keep track of the \fIcombinations\fP of
 colors which are displayed, it will be inefficient.
@@ -136,7 +136,7 @@ .SS alloc_pair
 The size of the table is determined by the terminfo \fBpairs\fP capability.
 The table is shared with \fBinit_pair\fP;
 in fact \fBalloc_pair\fP calls \fBinit_pair\fP after
-updating the ncurses library's fast index to the colors versus color pairs.
+updating the \fIncurses\fP library's fast index to the colors versus color 
pairs.
 .SS find_pair
 The \fBfind_pair\fP function accepts parameters for
 foreground and background color, and
@@ -160,7 +160,7 @@ .SH RETURN VALUE
 Likewise, \fBfree_pair\fP returns \fBOK\fP unless it encounters an
 error updating the fast index or if no such color pair is in use.
 .SH PORTABILITY
-These routines are specific to ncurses.
+These routines are specific to \fIncurses\fP.
 They were not supported on
 Version 7, BSD or System V implementations.
 It is recommended that
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]