bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 020/177] man/curs_add{,w}str.3x: Protect function names from hyph


From: G. Branden Robinson
Subject: [PATCH 020/177] man/curs_add{,w}str.3x: Protect function names from hyphenation.
Date: Mon, 13 Jan 2025 11:17:06 -0600

Also fix a straggling use of font selection escape sequence.
---
 man/curs_addstr.3x  | 11 ++++++-----
 man/curs_addwstr.3x |  9 ++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/man/curs_addstr.3x b/man/curs_addstr.3x
index 506ae7618..f01e4596b 100644
--- a/man/curs_addstr.3x
+++ b/man/curs_addstr.3x
@@ -70,7 +70,7 @@ .SH SYNOPSIS
       int \fIn\fP);
 .fi
 .SH DESCRIPTION
-.B waddstr
+.B \%waddstr
 writes the characters of the (null-terminated) string
 .I str
 to the window
@@ -79,7 +79,7 @@ .SH DESCRIPTION
 .I char
 in
 .IR str .
-.B waddnstr
+.B \%waddnstr
 is similar,
 but writes at most
 .I n
@@ -87,8 +87,7 @@ .SH DESCRIPTION
 If
 .I n
 is \-1,
-.B
-.B waddnstr
+.B \%waddnstr
 writes the entire string.
 \fB\%ncurses\fP(3X) describes the variants of these functions.
 .SH RETURN VALUE
@@ -122,7 +121,9 @@ .SH RETURN VALUE
 .IR x )
 is outside the window boundaries.
 .SH NOTES
-All of these functions except \fBwaddnstr\fP may be macros.
+All of these functions except
+.B \%waddnstr
+may be implemented as macros.
 .SH PORTABILITY
 X/Open Curses Issue\ 4 describes these functions.
 It specifies no error conditions for them.
diff --git a/man/curs_addwstr.3x b/man/curs_addwstr.3x
index 5e440e6ca..bede5acc2 100644
--- a/man/curs_addwstr.3x
+++ b/man/curs_addwstr.3x
@@ -71,7 +71,7 @@ .SH SYNOPSIS
       const wchar_t * \fIwstr\fP, int \fIn\fP);
 .fi
 .SH DESCRIPTION
-.B waddwstr
+.B \%waddwstr
 writes the characters of the (wide-null-terminated) wide-character
 string
 .I wstr
@@ -90,7 +90,7 @@ .SH DESCRIPTION
 processes spacing and non-spacing characters in
 .I wstr
 one at a time.
-.B waddnwstr
+.B \%waddnwstr
 is similar,
 but writes at most
 .I n
@@ -98,8 +98,7 @@ .SH DESCRIPTION
 If
 .I n
 is \-1,
-.B
-.B waddnwstr
+.B \%waddnwstr
 writes the entire wide string.
 \fB\%ncurses\fP(3X) describes the variants of these functions.
 .SH RETURN VALUE
@@ -134,7 +133,7 @@ .SH RETURN VALUE
 is outside the window boundaries.
 .SH NOTES
 All of these functions except
-.B waddnwstr
+.B \%waddnwstr
 may be implemented as macros.
 .SH PORTABILITY
 X/Open Curses Issue\ 4 describes these functions.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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