bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 02/23] man/*: Fix markup error.


From: G. Branden Robinson
Subject: [PATCH 02/23] man/*: Fix markup error.
Date: Sat, 22 Jun 2024 12:47:23 -0500

Use of `\%` as a hyphenation suppressor _must_ come at the beginning of
a word.
---
 man/curs_getstr.3x    | 2 +-
 man/curs_slk.3x       | 4 ++--
 man/curs_termcap.3x   | 2 +-
 man/curs_util.3x      | 4 ++--
 man/curs_variables.3x | 2 +-
 man/terminfo.tail     | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/man/curs_getstr.3x b/man/curs_getstr.3x
index eec58a542..2fcb2cb76 100644
--- a/man/curs_getstr.3x
+++ b/man/curs_getstr.3x
@@ -284,7 +284,7 @@ .SH PORTABILITY
 where other implementations allow one to enter those characters in the buffer.
 .bP
 Starting in 2021
-(\fI\%ncurses\fP 6.3),
+\%(\fIncurses\fP 6.3),
 \fBgetnstr\fP sets \fBraw\fP,
 rather than \fBnoraw\fP and \fBcbreak\fP for better compatibility with
 SVr4-curses, e.g., allowing one to enter a \fB^C\fP into the buffer.
diff --git a/man/curs_slk.3x b/man/curs_slk.3x
index 1866064a6..a56bce73e 100644
--- a/man/curs_slk.3x
+++ b/man/curs_slk.3x
@@ -135,9 +135,9 @@ .SS Initialization
 \fBLINES\fP and the vertical size of \fB\%stdscr\fP are further reduced.
 .SS Labels
 Populate the labels with normal strings
-(\fB\%slk_set\fP)
+\%(\fBslk_set\fP)
 or wide-character strings
-(\fB\%slk_wset\fP).
+\%(\fBslk_wset\fP).
 Each function takes three parameters.
 .TP 8 \" "labnum" + 2n
 .I labnum
diff --git a/man/curs_termcap.3x b/man/curs_termcap.3x
index 6bd2a66a0..fc890a2a6 100644
--- a/man/curs_termcap.3x
+++ b/man/curs_termcap.3x
@@ -275,7 +275,7 @@ .SH "RETURN VALUE"
 Error conditions include:
 .bP
 uninitialized state
-(\fB\%tgetent\fP was not called successfully),
+\%(\fBtgetent\fP was not called successfully),
 .bP
 .I cap
 being a null pointer,
diff --git a/man/curs_util.3x b/man/curs_util.3x
index 4b6450ee9..a20eb1105 100644
--- a/man/curs_util.3x
+++ b/man/curs_util.3x
@@ -264,8 +264,8 @@ .SS "putwin, getwin"
 .bP
 the data written is a copy of the \fI\%WINDOW\fP structure,
 and its associated character cells.
-The format differs between the wide-character (\fI\%ncursesw\fP) and
-non-wide (\fI\%ncurses\fP) libraries.
+The format differs between the wide-character \%(\fIncursesw\fP) and
+non-wide \%(\fIncurses\fP) libraries.
 You can transfer data between the two,
 however.
 .bP
diff --git a/man/curs_variables.3x b/man/curs_variables.3x
index 467b69444..2622ab420 100644
--- a/man/curs_variables.3x
+++ b/man/curs_variables.3x
@@ -285,7 +285,7 @@ .SH PORTABILITY
 \fI\%ncurses\fP uses the value of \fB\%TABSIZE\fP only to update the
 virtual screen.
 It uses the terminal description's \*(``\fBit\fP\*(''
-(\fB\%init_tabs\fP) capability for computing hardware tabs
+\%(\fBinit_tabs\fP) capability for computing hardware tabs
 (that is,
 tab stops on the physical screen).
 .bP
diff --git a/man/terminfo.tail b/man/terminfo.tail
index 74a274152..c551cf423 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -2076,7 +2076,7 @@ Solaris,
 and \fI\%ncurses\fP support all SVr4 capabilities.
 .bP
 IRIX supports the SVr4 set and adds one undocumented extended string
-capability (\fB\%set_pglen\fP).
+capability \%(\fBset_pglen\fP).
 .bP
 SVr1 and Ultrix support a restricted subset of \fI\%terminfo\fP
 capabilities.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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