bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 02/23] man/*.3x: Set "PCCurses" and "PDCurses" in italics.


From: G. Branden Robinson
Subject: [PATCH 02/23] man/*.3x: Set "PCCurses" and "PDCurses" in italics.
Date: Thu, 26 Dec 2024 21:33:40 -0600

...not roman.

* Also protect them from hyphenation.
* Also migrate some straggling nearby cases of "curses" and "xcurses" in
  italics.
* Denote "NetBSD curses" as such, not more briefly as simply "NetBSD".
  Their curses implementation could theoretically be ported elsewhere.
* Migrate nearly font selection escape sequences to man(7) font macros.
* Migrate from passive to active voice in resizeterm(3x) and tighten
  wording.
---
 man/curs_color.3x    |  7 +++++--
 man/curs_get_wstr.3x |  8 ++++++--
 man/curs_getstr.3x   |  2 +-
 man/curs_initscr.3x  |  3 ++-
 man/curs_slk.3x      |  3 ++-
 man/curs_trace.3x    |  6 ++++--
 man/curs_util.3x     |  8 ++++++--
 man/panel.3x         | 11 ++++++++---
 man/resizeterm.3x    |  9 +++++++--
 9 files changed, 41 insertions(+), 16 deletions(-)

diff --git a/man/curs_color.3x b/man/curs_color.3x
index bf33f6f4a..14396072c 100644
--- a/man/curs_color.3x
+++ b/man/curs_color.3x
@@ -551,9 +551,12 @@ .SH HISTORY
 .PP
 Other implementations of curses had different limits:
 .bP
-PCCurses (1987-1990) provided for only eight (8) colors.
+.I \%PCCurses
+(1987-1990) provided for only eight (8) colors.
 .bP
-PDCurses (1992-present) inherited the 8-color limitation from PCCurses,
+.I \%PDCurses
+(1992-present) inherited the 8-color limitation from
+.IR \%PCCurses ,
 but changed this to 256 in version 2.5 (2001),
 along with changing \fB\%chtype\fP from 16-bits to 32-bits.
 .bP
diff --git a/man/curs_get_wstr.3x b/man/curs_get_wstr.3x
index 3893bb95f..9395e36d3 100644
--- a/man/curs_get_wstr.3x
+++ b/man/curs_get_wstr.3x
@@ -214,8 +214,12 @@ .SH PORTABILITY
 For analogy with \fBwgetnstr\fP,
 \fI\%ncurses\fP 6.2 uses a limit (based on \fBLINE_MAX\fP).
 .bP
-Some other implementations (such as Solaris xcurses) do the same,
-while others (PDCurses) do not allow this.
+Some other implementations (such as Solaris
+.IR xcurses )
+do the same,
+while others
+.RI \%( PDCurses )
+do not allow this.
 .bP
 NetBSD 7 curses imitates \fI\%ncurses\fP 6.1 in this regard,
 treating a \fB\-1\fP as an indefinite number of characters.
diff --git a/man/curs_getstr.3x b/man/curs_getstr.3x
index 8ad2471f6..6e426d766 100644
--- a/man/curs_getstr.3x
+++ b/man/curs_getstr.3x
@@ -304,7 +304,7 @@ .SH PORTABILITY
 .bP
 .I \%ncurses
 6.1 and
-.I PDCurses
+.I \%PDCurses
 do not count the null character toward the limit,
 while Solaris and NetBSD
 .I curses
diff --git a/man/curs_initscr.3x b/man/curs_initscr.3x
index 6ac1f2e96..13fe7fb06 100644
--- a/man/curs_initscr.3x
+++ b/man/curs_initscr.3x
@@ -363,7 +363,8 @@ .SS Differences
 called.
 .bP
 NetBSD copied this feature of \fI\%ncurses\fP in 2001.
-PDCurses follows the SVr4 model,
+.I \%PDCurses
+follows the SVr4 model,
 deleting only the standard \fI\%WINDOW\fP structures.
 .SS "High-level versus Low-level"
 Different implementations may disagree regarding the level of some functions.
diff --git a/man/curs_slk.3x b/man/curs_slk.3x
index e141d7b68..c7136b36d 100644
--- a/man/curs_slk.3x
+++ b/man/curs_slk.3x
@@ -343,7 +343,8 @@ .SH PORTABILITY
 .bP
 The format codes \fB2\fP and \fB3\fP for \fB\%slk_init\fP
 were added by \fI\%ncurses\fP in 1996.
-PDCurses 2.4 added this feature in 2001.
+.I \%PDCurses
+2.4 added this feature in 2001.
 .PP
 The function \fB\%slk_attr\fP was added by \fI\%ncurses\fP in 1996.
 .PP
diff --git a/man/curs_trace.3x b/man/curs_trace.3x
index ddae79112..84a66fe54 100644
--- a/man/curs_trace.3x
+++ b/man/curs_trace.3x
@@ -264,13 +264,15 @@ .SH PORTABILITY
 .IP
 The SVr4 tracing feature is undocumented.
 .bP
-PDCurses provides \fBtraceon\fP and \fBtraceoff\fP,
+.I \%PDCurses
+provides \fBtraceon\fP and \fBtraceoff\fP,
 which (like SVr4) are always available,
 and enable tracing
 to the \*(``trace\*('' file
 only when a debug-library is built.
 .IP
-PDCurses has a short description of these functions,
+.I \%PDCurses
+has a short description of these functions,
 with a note that they are not present in X/Open Curses,
 \fI\%ncurses\fP or NetBSD.
 It does not mention SVr4,
diff --git a/man/curs_util.3x b/man/curs_util.3x
index 8894f23ad..cc9933c45 100644
--- a/man/curs_util.3x
+++ b/man/curs_util.3x
@@ -386,8 +386,12 @@ .SS "putwin/getwin file-format"
 .bP
 Most implementations simply dump the binary \fI\%WINDOW\fP structure
 to the file.
-These include SVr4 curses,
-NetBSD and PDCurses,
+These include SVr4
+.IR curses ,
+NetBSD
+.IR curses ,
+and
+.I \%PDCurses,
 as well as older \fI\%ncurses\fP versions.
 This implementation
 (as well as the X/Open variant of Solaris curses,
diff --git a/man/panel.3x b/man/panel.3x
index 41aca0076..38bf5f346 100644
--- a/man/panel.3x
+++ b/man/panel.3x
@@ -263,9 +263,14 @@ .SH HISTORY
 such as Solaris,
 provide this library.
 .bP
-\fI\%ncurses\fP (since version 0.6 in 1993)
-and \fIPDCurses\fP (since version 2.2 in 1995)
-provide a panel library whose common ancestor
+.I \%ncurses
+(since version 0.6 in 1993)
+and
+.I \%PDCurses
+(since version 2.2 in 1995)
+provide a
+.I panel
+library whose common ancestor
 is a public domain implementation by Warren Tucker
 published in \fIu386mon\fP 2.20 (1990).
 .IP
diff --git a/man/resizeterm.3x b/man/resizeterm.3x
index 5e23d9fb3..073556c33 100644
--- a/man/resizeterm.3x
+++ b/man/resizeterm.3x
@@ -170,8 +170,13 @@ .SH PORTABILITY
 .PP
 Doing that clears the screen and is visually distracting.
 .PP
-This extension of \fI\%ncurses\fP was introduced in mid-1995.
-It was adopted in NetBSD \fIcurses\fP (2001) and PDCurses (2003).
+.I \%ncurses
+introduced this extension in mid-1995.
+NetBSD
+.I curses
+adopted it in 2001 and
+.I \%PDCurses
+in 2003.
 .SH AUTHORS
 Thomas Dickey (from an equivalent function written in 1988 for BSD 
\fIcurses\fP)
 .SH SEE ALSO
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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