[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 41/43] man/infocmp.1m: Revise synopsis.
From: |
G. Branden Robinson |
Subject: |
[PATCH 41/43] man/infocmp.1m: Revise synopsis. |
Date: |
Mon, 9 Sep 2024 09:19:25 -0500 |
* Use `HP` macro to achieve hanging indentation. This doesn't help with
adjustment, though. I hope one day to persuade Thomas to port in
groff's `SY` and `YS` macros, now 15 years old, and which, in groff
1.24, will also support C-style function synopses (and are a bit more
flexible even than that).
* Favor man(7) font style macros over *roff font selection escape
sequences.
* Set "subset" option argument in italics, not bold.
* Use unbreakable space between an option and its argument.
---
man/infocmp.1m | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/man/infocmp.1m b/man/infocmp.1m
index 661a0861d..115840630 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -53,7 +53,9 @@ .SH NAME
\fB@INFOCMP@\fP \-
compare or print out \fIterminfo\fP descriptions
.SH SYNOPSIS
-\fB@INFOCMP@\fP [\fB\-\
+.HP
+.B @INFOCMP@
+.RB [ \-\
1\
c\
C\
@@ -80,10 +82,23 @@ .SH SYNOPSIS
V\
W\
x\
-\fP]
- [\fB\-v\fR \fIn\fR] [\fB\-s d\fR| \fBi\fR| \fBl\fR| \fBc\fR] [\fB\-Q\fR
\fIn\fR] [\fB\-R \fBsubset\fR]
- [\fB\-w\fP\ \fIwidth\fP] [\fB\-A\fP\ \fIdirectory\fP] [\fB\-B\fP\
\fIdirectory\fP]
- [\fIterminal-type\fP ...]
+]
+.RB [ \-A\ \c
+.IR directory ]
+.RB [ \-B\ \c
+.IR directory ]
+.RB [ \-Q\ \c
+.IR encoding ]
+.RB [ \-R\ \c
+.IR subset ]
+.RB [ \-s\ \c
+.IR key ]
+.RB [ \-v\ \c
+.IR level ]
+.RB [ \-w\ \c
+.IR width ]
+.RI [ terminal-type
+\&.\|.\|.\& ]
.SH DESCRIPTION
\fB@INFOCMP@\fP can be used to compare a binary \fBterminfo\fP entry with other
terminfo entries, rewrite a \fBterminfo\fP description to take advantage of the
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 41/43] man/infocmp.1m: Revise synopsis.,
G. Branden Robinson <=