bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 39/43] man/curs_terminfo.3x: Fix style and markup nits.


From: G. Branden Robinson
Subject: [PATCH 39/43] man/curs_terminfo.3x: Fix style and markup nits.
Date: Mon, 9 Sep 2024 09:19:07 -0500

...in "Other Portability Issues" subsection.

Style:
* Set function names in italics, not bold, when referring to them
  generically as opposed to the ncurses topic/implementation.

Markup:
* Quote punctuation-only second arguments to `BR` and `IR` macros, to
  avoid false positives reported by one of Thomas Dickey's
  style-checking scripts, per his communication.
---
 man/curs_terminfo.3x | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index 084d2b194..faa02f9ba 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -941,15 +941,18 @@ .SS "Special \fITERM\fP treatment"
 \*(``#win32con\*('' or an abbreviation of that string.
 .SS "Other Portability Issues"
 In SVr4,
-\fB\%set_curterm\fP returns an
-.IR int ,
+.I \%set_curterm
+returns an
+.IR int ","
 .B OK
 or
-.BR ERR .
+.BR ERR "."
 We have chosen to implement the X/Open Curses semantics.
 .PP
 In SVr4,
-the third argument of \fB\%tputs\fP has the type
+the third argument of
+.I \%tputs
+has the type
 .RB \*(`` "int (*putc)(char)" \*(''.
 .PP
 At least one implementation of X/Open Curses (Solaris) returns a value
@@ -957,7 +960,8 @@ .SS "Other Portability Issues"
 .B OK
 or
 .B ERR
-from \fB\%tputs\fP.
+from
+.IR \%tputs "."
 It instead returns the length of the string,
 and does no error checking.
 .\" ********************************************************************
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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