bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 150/177] man/curs_termattrs.3x: Revise "NOTES" section.


From: G. Branden Robinson
Subject: [PATCH 150/177] man/curs_termattrs.3x: Revise "NOTES" section.
Date: Mon, 13 Jan 2025 11:40:55 -0600

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

Markup:
* Protect literals from hyphenation.
* Favor man(7) font style macros over *roff font selection escape
  sequences, except for man page cross references (because
  man/make_sed.sh recognizes only certain patterns when rewriting such
  cross references) and terms in the "NAME" section (because the
  generated edit_man.sh script expects font selection escape sequences
  when scraping terms thence to gather names for man page aliases).
---
 man/curs_termattrs.3x | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/man/curs_termattrs.3x b/man/curs_termattrs.3x
index 528b80002..c4726adaa 100644
--- a/man/curs_termattrs.3x
+++ b/man/curs_termattrs.3x
@@ -181,8 +181,12 @@ .SH PORTABILITY
 SVr4 describes a successful return value only as
 \*(``an integer value other than
 .IR ERR \*(''. \" Courier roman in source; SVID 4, vol. 3, p. 535
-Most versions of curses truncate the result returned by \fBtermname\fP to
-14 characters.
+.PP
+Most versions of
+.I curses
+truncate the string returned by
+.I \%termname
+to 14 characters.
 .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_initscr\fP(3X),
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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