bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 27/42] man/captoinfo.1m: Fix style nits.


From: G. Branden Robinson
Subject: [PATCH 27/42] man/captoinfo.1m: Fix style nits.
Date: Sat, 16 Dec 2023 11:46:26 -0600

* Specify explicit hyphenation points for "terminfo"; groff's
  hyphenation patterns (which are based on TeX's) hyphenate "termcap" as
  "term-cap", which is fine, but "terminfo" as "ter-minfo" (like
  "ter-mite", I reckon; recall my recent comment on English morphology).
* Center the tables.  They get progressively narrower and worse looking
  if aligned left.
* Tighten description of SVr4's `-v` option.
---
 man/captoinfo.1m | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/man/captoinfo.1m b/man/captoinfo.1m
index 23a1f1258..6c0f572ff 100644
--- a/man/captoinfo.1m
+++ b/man/captoinfo.1m
@@ -47,7 +47,8 @@
 .ds d /etc/termcap
 .SH NAME
 \fB\%@CAPTOINFO@\fP \-
-convert a \fItermcap\fR description into a \fIterminfo\fR description
+convert a \fItermcap\fP description into a \fI\%term\%info\fP
+description
 .SH SYNOPSIS
 .B @CAPTOINFO@
 .RI [ tic-option ]
@@ -59,9 +60,9 @@ .SH DESCRIPTION
 \fB\%@CAPTOINFO@\fP translates terminal descriptions.
 It looks in each given text \fIfile\fP for \fI\%termcap\fP entries and,
 for each one found,
-writes an equivalent \fI\%terminfo\fP description to the standard output
-stream.
-\fI\%termcap\fP \fBtc\fP capabilities translate to \fI\%terminfo\fP
+writes an equivalent \fI\%\%term\%info\fP description to the standard
+output stream.
+\fI\%termcap\fP \fBtc\fP capabilities translate to \fI\%\%term\%info\fP
 \*(``\fBuse\fP\*('' capabilities.
 .PP
 If no \fIfile\fPs are specified,
@@ -89,12 +90,13 @@ .SS "Translations from nonstandard capabilities"
 \fB\%@CAPTOINFO@\fP translates some obsolete,
 nonstandard capabilities into standard
 (SVr4/XSI Curses)
-\fI\%terminfo\fP capabilities.
+\fI\%\%term\%info\fP capabilities.
 It issues a diagnostic to the standard error stream for each,
 inviting the user to check that it has not mistakenly translated an
 unknown or mistyped capability name.
 .PP
 .TS
+center;
 Cb S
 Cb Cb Cb Cb
 Cb Cb C  Lb.
@@ -137,6 +139,7 @@ .SS "Translations from nonstandard capabilities"
 as follows.
 .PP
 .TS
+center;
 cb cb
 cb l .
 \f(BItermcap\fP Name   Graphic
@@ -176,12 +179,13 @@ .SS "Translations from nonstandard capabilities"
 and discards \fBGG\fP and double-line capabilities with a warning
 diagnostic.
 .PP
-IBM's AIX has a \fI\%terminfo\fP facility descended from SVr1
-\fI\%terminfo\fP,
+IBM's AIX has a \fI\%\%term\%info\fP facility descended from SVr1
+\fI\%\%term\%info\fP,
 but which is incompatible with the SVr4 format.
 \fB\%@CAPTOINFO@\fP translates the following AIX extensions.
 .PP
 .TS
+center;
 cb cb
 l  l .
 IBM    XSI
@@ -198,8 +202,8 @@ .SS "Translations from nonstandard capabilities"
 this program translates the AIX \fBbox1\fP capability to an \fBacsc\fP
 string.
 .PP
-The HP-UX \fI\%terminfo\fP library supports two nonstandard
-\fI\%terminfo\fP capabilities,
+The HP-UX \fI\%\%term\%info\fP library supports two nonstandard
+\fI\%\%term\%info\fP capabilities,
 \fBmeml\fP (memory lock) and \fBmemu\fP (memory unlock).
 \fB\%@CAPTOINFO@\fP discards these with a warning message.
 .SH FILES
@@ -217,11 +221,10 @@ .SH PORTABILITY
 .B \-v
 option does not accept a trace level argument
 .I n;
-instead
-you repeat
+repeat
 .B \-v
 .I n
-times.
+times instead.
 .PP
 NetBSD does not provide this application.
 .SH AUTHORS
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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