[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/19] man/infocmp.1m: Revise "EXTENSIONS" and "PORTABILITY" sect
From: |
G. Branden Robinson |
Subject: |
[PATCH 17/19] man/infocmp.1m: Revise "EXTENSIONS" and "PORTABILITY" sections. |
Date: |
Sat, 21 Sep 2024 11:47:41 -0500 |
Content:
* Relocate material about SVr4 infocmp behavior from "EXTENSIONS" to
"PORTABILITY".
* Discuss BSD curses in the past tense. It has been discontinued for 30
years.
Style:
* Sort option names in English lexicographic order.
$ echo $(printf "%s\n" 0 1 A B C a b c | LC_COLLATE=en_US sort)
0 1 a A b B c C
* Set multi-word (partial) shell command literal in quotation marks for
clarity when font styling is lost.
* Use SVr4 abbreviation freely as prepared for in man/ncurses.3x.
* Set "infocmp" in italics, not roman.
* Protect "infocmp" from hyphenation.
* Recast.
Markup:
* 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).
* Quote punctuation-only second arguments to `BR` and `IR` macros, to
avoid false positives reported by one of Thomas Dickey's
style-checking scripts, per his communication.
---
man/infocmp.1m | 81 ++++++++++++++++++++++++++++++--------------------
1 file changed, 49 insertions(+), 32 deletions(-)
diff --git a/man/infocmp.1m b/man/infocmp.1m
index 4c0d3d436..515423053 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -603,41 +603,58 @@ .SH FILES
compiled terminal description database
.SH EXTENSIONS
The
-\fB\-0\fP,
-\fB\-1\fP,
-\fB\-E\fP,
-\fB\-F\fP,
-\fB\-G\fP,
-\fB\-Q\fP,
-\fB\-R\fP,
-\fB\-T\fP,
-\fB\-V\fP,
-\fB\-a\fP,
-\fB\-e\fP,
-\fB\-f\fP,
-\fB\-g\fP,
-\fB\-i\fP,
-\fB\-l\fP,
-\fB\-p\fP,
-\fB\-q\fP and
-\fB\-t\fP
-options are not supported in SVr4 curses.
+.BR \-0 ","
+.BR \-1 ","
+.BR \-a ","
+.BR \-e ","
+.BR \-E ","
+.BR \-f ","
+.BR \-F ","
+.BR \-g ","
+.BR \-G ","
+.BR \-i ","
+.BR \-l ","
+.BR \-p ","
+.BR \-q ","
+.BR \-Q ","
+.BR \-R ","
+.BR \-t ","
+.BR \-T ","
+and
+.B \-V
+options are
+.I \%ncurses
+extensions.
+.SH PORTABILITY
+X/Open Curses, Issue 7 (2009) specifies
+.IR \%infocmp "."
+It does not mention options for producing descriptions in
+.I \%term\%cap
+format.
.PP
SVr4
-infocmp does not distinguish between absent and canceled capabilities.
-Also, it shows missing integer capabilities as \fB\-1\fP
-(the internal value used to represent missing integers).
-This implementation shows those as \*(``NULL\*('',
-for consistency with missing strings.
+.I \%infocmp
+does not distinguish between absent and canceled capabilities.
+It furthermore reports missing integer capabilities as
+.B \-1
+(its internal representation).
+.I \%ncurses
+shows these as \*(``NULL\*(''
+for consistency with missing string capabilities.
.PP
-The \fB\-r\fP option's notion of \*(``termcap\*('' capabilities
-is System V Release 4's.
-Actual BSD curses versions will have a more restricted set.
-To see only the
-4.4BSD set, use \fB\-r\fP \fB\-RBSD\fP.
-.SH PORTABILITY
-X/Open Curses, Issue 7 (2009) provides a description of \fBinfocmp\fP.
-It does not mention the options used for converting to termcap format.
+The
+.B \-r
+option
+of
+.I \%ncurses
+.I \%infocmp
+uses SVr4's notion of of \*(``termcap\*('' capabilities.
+BSD
+.I curses
+had a more restricted set.
+To see only those present in 4.4BSD,
+use
+.RB \*(`` "\-r \-RBSD" \*(''.
.SH HISTORY
Although System V Release 2 provided a terminfo library,
it had no documented tool for decompiling the terminal descriptions.
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 17/19] man/infocmp.1m: Revise "EXTENSIONS" and "PORTABILITY" sections.,
G. Branden Robinson <=