bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 042/177] man/curs_getstr.3x: Fix style nits.


From: G. Branden Robinson
Subject: [PATCH 042/177] man/curs_getstr.3x: Fix style nits.
Date: Mon, 13 Jan 2025 11:21:12 -0600

* 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.
* Set libc symbols in italics, not bold.
---
 man/curs_getstr.3x | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/man/curs_getstr.3x b/man/curs_getstr.3x
index 6edd50405..4b5f0d4c6 100644
--- a/man/curs_getstr.3x
+++ b/man/curs_getstr.3x
@@ -172,7 +172,7 @@ .SH RETURN VALUE
 these functions return
 .B \%KEY_RESIZE
 if a
-.B \%SIGWINCH
+.I \%SIGWINCH
 event interrupts the function.
 .PP
 Functions prefixed with \*(``mv\*('' first perform cursor movement and
@@ -252,7 +252,7 @@ .SH PORTABILITY
 .I curses
 describes a successful return value only as
 \*(``an integer value other than
-.BR ERR \*(''.
+.IR ERR \*(''.
 .PP
 SVr3 and early SVr4
 .I curses
@@ -281,7 +281,7 @@ .SH PORTABILITY
 being,
 in fact,
 the low-order eight bits of the key code's
-.B KEY_
+.I KEY_
 constant value.
 (The same language,
 unchanged except for styling,
@@ -377,7 +377,7 @@ .SH PORTABILITY
 Solaris
 .I xcurses
 limits the write to
-.B LINE_MAX
+.I LINE_MAX
 bytes.
 .bP
 NetBSD 7
@@ -400,17 +400,17 @@ .SH PORTABILITY
 .bP
 .I \%ncurses
 6.2 uses
-.B LINE_MAX
+.I LINE_MAX
 or a larger (system-dependent) value
 provided by \fI\%sysconf\fP(3).
 If neither
-.B LINE_MAX
+.I LINE_MAX
 nor
 .I \%sysconf
 is available,
 .I \%ncurses
 uses the POSIX minimum value for
-.B LINE_MAX
+.I LINE_MAX
 (2048). \" _POSIX2_LINE_MAX
 In either case,
 it reserves a byte for the terminating null character.
@@ -443,9 +443,9 @@ .SH PORTABILITY
 Since 1995,
 .I \%ncurses
 has provided handlers for
-.B SIGINTR
+.I SIGINTR
 and
-.B SIGQUIT
+.I SIGQUIT
 events,
 which are typically generated at the keyboard with
 .B \*^C
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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