[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 39/45] man/curs_getch.3x: Fix style and markup nits.
From: |
G. Branden Robinson |
Subject: |
[PATCH 39/45] man/curs_getch.3x: Fix style and markup nits. |
Date: |
Sat, 25 May 2024 12:45:07 -0500 |
* Protect "ascii" (in man page cross reference) from hyphenation.
* Align language in "PORTABILITY" section with curs_inopts.3x.
* Relocate non-man-page cross references in "SEE ALSO" section to its
start rather than the end.
* 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_getch.3x | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)
diff --git a/man/curs_getch.3x b/man/curs_getch.3x
index 30cf67f75..632fa2d0f 100644
--- a/man/curs_getch.3x
+++ b/man/curs_getch.3x
@@ -161,7 +161,7 @@ .SS "Keypad Mode"
.IR curses ","
key strokes not from the alphabetic section of the keyboard
(those corresponding to the ECMA-6 character set\(emsee
-\fIascii\fP(7)\(emoptionally modified by either the control or shift
+\fI\%ascii\fP(7)\(emoptionally modified by either the control or shift
keys)
are treated as
.I function
@@ -597,7 +597,8 @@ .SH EXTENSIONS
see
\fB\%curs_variables\fP(3X).
.PP
-\fB\%has_key\fP was designed for
+.B \%has_key
+was designed for
.IR \%ncurses ","
and is not found in SVr4
.IR curses ","
@@ -613,14 +614,9 @@ .SH PORTABILITY
.B \%NCURSES_VERSION
preprocessor macro.
.PP
+Except as noted in section \*(``EXTENSIONS\*('' above,
X/Open Curses,
-Issue 4 describes
-\fB\%getch\fP,
-\fB\%wgetch\fP,
-\fB\%mvgetch\fP,
-\fB\%mvwgetch\fP,
-and
-\fB\%ungetch\fP.
+Issue 4 describes these functions.
It specifies no error conditions for them.
.PP
.B \%wgetch
@@ -682,6 +678,14 @@ .SH PORTABILITY
had added them along with
.BR \%KEY_MOUSE "."
.SH SEE ALSO
+ECMA-6 \*(``7-bit coded Character Set\*(''
+\%<https://\*:ecma\-international\*:.org/\
+\*:publications\-and\-standards/\*:standards/\*:ecma\-6/>
+.PP
+ECMA-48 \*(``Control Functions for Coded Character Sets\*(''
+\%<https://\*:ecma\-international\*:.org/\
+\*:publications\-and\-standards/\*:standards/\*:ecma\-48/>
+.PP
\fB\%curs_get_wch\fP(3X) describes comparable functions of the
.I \%ncurses
library in its wide-character configuration
@@ -697,11 +701,3 @@ .SH SEE ALSO
\fB\%curs_variables\fP(3X),
\fB\%resizeterm\fP(3X),
\fB\%ascii\fP(7)
-.PP
-ECMA-6 \*(``7-bit coded Character Set\*(''
-\%<https://\*:ecma\-international\*:.org/\
-\*:publications\-and\-standards/\*:standards/\*:ecma\-6/>
-.PP
-ECMA-48 \*(``Control Functions for Coded Character Sets\*(''
-\%<https://\*:ecma\-international\*:.org/\
-\*:publications\-and\-standards/\*:standards/\*:ecma\-48/>
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 39/45] man/curs_getch.3x: Fix style and markup nits.,
G. Branden Robinson <=