bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 055/177] man/curs_ins{,_w}str.3x: Fix style and markup nits.


From: G. Branden Robinson
Subject: [PATCH 055/177] man/curs_ins{,_w}str.3x: Fix style and markup nits.
Date: Mon, 13 Jan 2025 11:23:18 -0600

Style:
* Set macro names and other C symbols in italics, not bold, when
  referring to them generically in the "PORTABILITY", as opposed to the
  ncurses topic/implementation.

Markup:
* Stop quoting trailing punctuation arguments in `RI` macro calls (the
  same would go for `RB` if it occurred here); Thomas Dickey's
  style-checking script seems to be concerned more with `BR` and `IR`
  calls.
* Do quote them in `IR` macro calls.
---
 man/curs_ins_wstr.3x | 5 +++--
 man/curs_insstr.3x   | 7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/man/curs_ins_wstr.3x b/man/curs_ins_wstr.3x
index b4a44564a..e6f0f14f8 100644
--- a/man/curs_ins_wstr.3x
+++ b/man/curs_ins_wstr.3x
@@ -89,7 +89,7 @@ .SH DESCRIPTION
 .IR wstr "."
 The cursor position does not change
 (after moving to
-.RI ( y ","
+.RI ( y ,
 .IR x "),"
 if specified).
 .B \%wins_nwstr
@@ -155,7 +155,8 @@ .SH PORTABILITY
 This is probably an error,
 .\" ...copied from SVID 4, which made the same error; see p. 513.
 because it is inconsistent with other functions
-such as \fB\%waddwstr\fP(3X),
+such as
+.IR \%waddwstr ","
 and differs from the SVr4
 .I curses
 and Solaris
diff --git a/man/curs_insstr.3x b/man/curs_insstr.3x
index 02991ea9c..35da14041 100644
--- a/man/curs_insstr.3x
+++ b/man/curs_insstr.3x
@@ -89,7 +89,7 @@ .SH DESCRIPTION
 .IR str "."
 The cursor position does not change
 (after moving to
-.RI ( y ","
+.RI ( y ,
 .IR x "),"
 if specified).
 .B \%insnstr
@@ -145,7 +145,7 @@ .SH PORTABILITY
 Issue\ 4 distinguished
 .I \%insnstr
 and
-.B \%winsnstr
+.I \%winsnstr
 from the other functions documented above
 by stating they \*(``do not perform wrapping\*(''.
 This was probably an error,
@@ -161,7 +161,8 @@ .SH PORTABILITY
 This is probably an error,
 .\" ...copied from SVID 4, which made the same error; see p. 510.
 because it is inconsistent with other functions
-such as \fB\%waddstr\fP(3X),
+such as
+.IR \%waddstr ","
 and differs from the SVr4
 .I curses
 and Solaris
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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