bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 60/61] Consistently parameterize manual section of terminfo(5) an


From: G. Branden Robinson
Subject: [PATCH 60/61] Consistently parameterize manual section of terminfo(5) and term(5).
Date: Fri, 24 Nov 2023 12:12:12 -0600

* man/tput.1:
* man/tset.1: Do it.
---
 man/tput.1 | 13 +++++++------
 man/tset.1 |  3 ++-
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/man/tput.1 b/man/tput.1
index bab6f485..9e95343b 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -45,6 +45,7 @@
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 ..
+.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@TPUT@\fP,
@@ -92,7 +93,7 @@ .SH DESCRIPTION
 (e.g., \fB$?\fP, see \fBsh\fP(1)) to be sure it is \fB0\fP.
 (See the \fBEXIT STATUS\fP and \fBDIAGNOSTICS\fP sections.)
 For a complete list of capabilities
-and the \fIcapname\fP associated with each, see \fBterminfo\fP(5).
+and the \fIcapname\fP associated with each, see \fBterminfo\fP(\*n).
 .SS Options
 .TP
 \fB\-S\fP
@@ -127,7 +128,7 @@ .SS Commands
 A few commands (\fBinit\fP, \fBreset\fP and \fBlongname\fP) are
 special; they are defined by the \fB@TPUT@\fP program.
 The others are the names of \fIcapabilities\fP from the terminal database
-(see \fBterminfo\fP(5) for a list).
+(see \fBterminfo\fP(\*n) for a list).
 Although \fBinit\fP and \fBreset\fP resemble capability names,
 \fB@TPUT@\fP uses several capabilities to perform these special functions.
 .TP
@@ -191,7 +192,7 @@ .SS Commands
 .TP
 (4)
 if present, the terminal's initialization strings will be
-output as detailed in the \fBterminfo\fP(5) section on
+output as detailed in the \fBterminfo\fP(\*n) section on
 .IR "Tabs and Initialization" ,
 .TP
 (5)
@@ -236,7 +237,7 @@ .SS Commands
 of the terminal will be put out.
 The long name is the last
 name in the first line of the terminal's description in the
-\fBterminfo\fP database [see \fBterm\fP(5)].
+\fBterminfo\fP database [see \fBterm\fP(\*n)].
 .SS Aliases
 \fB@TPUT@\fP handles the \fBclear\fP, \fBinit\fP and \fBreset\fP
 commands specially:
@@ -348,7 +349,7 @@ .SH DIAGNOSTICS
 =
 \fB0\fP        T{
 (\fIcapname\fP is a numeric variable that is not specified in the
-\fBterminfo\fP(5) database for this terminal type, e.g.
+\fBterminfo\fP(\*n) database for this terminal type, e.g.
 \fB@TPUT@ \-T450 lines\fP and \fB@TPUT@ \-Thp2621 xmc\fP)
 T}
 \fB1\fP        no error message is printed, see the \fBEXIT STATUS\fP section.
@@ -613,4 +614,4 @@ .SH SEE ALSO
 \fB\%@TABS@\fP(1),
 \fB\%@TSET@\fP(1),
 \fB\%curs_termcap\fP(3X),
-\fB\%terminfo\fP(5)
+\fB\%terminfo\fP(\*n)
diff --git a/man/tset.1 b/man/tset.1
index 056a214e..1bade563 100644
--- a/man/tset.1
+++ b/man/tset.1
@@ -47,6 +47,7 @@
 .el    .IP \(bu 2
 ..
 .
+.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@TSET@\fP,
@@ -448,6 +449,6 @@ .SH SEE ALSO
 \fB\%stty\fP(1),
 \fB\%curs_terminfo\fP(3X),
 \fB\%tty\fP(4),
-\fB\%terminfo\fP(5),
+\fB\%terminfo\fP(\*n),
 \fB\%ttys\fP(5),
 \fB\%environ\fP(7)
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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