bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 61/61] Deparameterize man section 5 in man pages.


From: G. Branden Robinson
Subject: [PATCH 61/61] Deparameterize man section 5 in man pages.
Date: Fri, 24 Nov 2023 12:12:23 -0600

Nothing ever seems to modify this, but ncurses man page generation is
complex.  Since indirecting this manual section through a *roff register
doesn't seem to accomplishing anything, embed it literally.

If this datum still needs to be parameterized, I foresee two approaches.

1.  Migrate the ncurses man page to m4 or similar, like groff's
    groff_man(7) and groff_man_style(7) (two documents generated from
    the same source), and generate their final texts with Make.
2.  Rewrite the pages at install time with sed, as is currently done for
    several other data, like the page suffix and program names like
    "@TSET@" and "@CLEAR@".

Also, term(5) and user_caps(5) were handled inconsistently, and had no
rewrite rules in man/man_db.renames.in.

* man/captoinfo.1m:
* man/clear.1:
* man/curs_color.3x:
* man/curs_termcap.3x:
* man/curs_terminfo.3x:
* man/curs_variables.3x:
* man/infocmp.1m:
* man/infotocap.1m:
* man/ncurses.3x:
* man/tabs.1:
* man/term.5:
* man/term.7:
* man/term_variables.3x:
* man/terminfo.head:
* man/tic.1m:
* man/toe.1m:
* man/tput.1:
* man/tset.1: Drop definitions and interpolations of `n` string.

* man/man_db.renames.in: Drop "terminfo(\*n)" rewrite rule.
---
 man/captoinfo.1m      |  3 +--
 man/clear.1           |  3 +--
 man/curs_color.3x     |  5 ++---
 man/curs_termcap.3x   |  3 +--
 man/curs_terminfo.3x  |  9 ++++-----
 man/curs_variables.3x |  3 +--
 man/infocmp.1m        | 11 +++++------
 man/infotocap.1m      |  3 +--
 man/man_db.renames.in |  1 -
 man/ncurses.3x        |  5 ++---
 man/tabs.1            |  3 +--
 man/term.5            |  5 ++---
 man/term.7            |  9 ++++-----
 man/term_variables.3x |  3 +--
 man/terminfo.head     |  1 -
 man/terminfo.tail     |  4 ++--
 man/tic.1m            | 21 ++++++++++-----------
 man/toe.1m            |  3 +--
 man/tput.1            | 13 ++++++-------
 man/tset.1            |  3 +--
 20 files changed, 46 insertions(+), 65 deletions(-)

diff --git a/man/captoinfo.1m b/man/captoinfo.1m
index f36b2cd7..7b84b9d9 100644
--- a/man/captoinfo.1m
+++ b/man/captoinfo.1m
@@ -44,7 +44,6 @@
 .el   .ds '  '
 .\}
 .
-.ds n 5
 .ds d /etc/termcap
 .SH NAME
 \fB\%@CAPTOINFO@\fP \-
@@ -229,4 +228,4 @@ .SH SEE ALSO
 \fB\%@INFOCMP@\fP(1M),
 \fB\%@TIC@\fP(1M),
 \fB\%curses\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/clear.1 b/man/clear.1
index 24921c95..06060f0a 100644
--- a/man/clear.1
+++ b/man/clear.1
@@ -48,7 +48,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .SH NAME
 \fB\%@CLEAR@\fP \-
 clear the terminal screen
@@ -184,4 +183,4 @@ .SH HISTORY
 .SH SEE ALSO
 \fB\%@TPUT@\fP(1),
 \fB\%xterm\fP(1),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/curs_color.3x b/man/curs_color.3x
index 564daf31..372f96a5 100644
--- a/man/curs_color.3x
+++ b/man/curs_color.3x
@@ -45,7 +45,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .SH NAME
 \fB\%start_color\fP,
 \fB\%has_colors\fP,
@@ -232,7 +231,7 @@ .SS start_color
 Values outside these limits are not legal, and may result in a runtime error:
 .bP
 \fBCOLORS\fP corresponds to the terminal database's \fB\%max_colors\fP 
capability,
-(see \fB\%terminfo\fP(\*n)).
+(see \fB\%terminfo\fP(5)).
 .bP
 color values are expected to be in the range \fB0\fP to \fB\%COLORS\-1\fP,
 inclusive (including \fB0\fP and \fB\%COLORS\-1\fP).
@@ -242,7 +241,7 @@ .SS start_color
 .bP
 \fB\%COLOR_PAIRS\fP corresponds to
 the terminal database's \fB\%max_pairs\fP capability,
-(see \fB\%terminfo\fP(\*n)).
+(see \fB\%terminfo\fP(5)).
 .bP
 legal color pair values are in the range \fB1\fP to \fB\%COLOR_PAIRS\-1\fP,
 inclusive.
diff --git a/man/curs_termcap.3x b/man/curs_termcap.3x
index 0c0a1683..23380add 100644
--- a/man/curs_termcap.3x
+++ b/man/curs_termcap.3x
@@ -45,7 +45,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .SH NAME
 \fB\%PC\fP,
 \fB\%UP\fP,
@@ -390,6 +389,6 @@ .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%putc\fP(3),
 \fB\%term_variables\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
 .PP
 https://invisible\-island.net/ncurses/tctest.html
diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index 5dd89972..00a04ada 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -46,7 +46,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .SH NAME
 \fB\%del_curterm\fP,
 \fB\%mvcur\fP,
@@ -133,7 +132,7 @@ .SS Initialization
 The high-level curses functions \fBinitscr\fP and
 \fBnewterm\fP call \fBsetupterm\fP to initialize the
 low-level set of terminal-dependent variables
-[listed in \fBterminfo\fP(\*n)].
+[listed in \fBterminfo\fP(5)].
 .PP
 Applications can use the
 terminal capabilities either directly (via header definitions),
@@ -393,7 +392,7 @@ .SS Terminal Capability Functions
 the value of the capability corresponding to the \fBterminfo\fP
 \fIcapname\fP passed to them, such as \fBxenl\fP.
 The \fIcapname\fP for each capability is given in the table column entitled
-\fIcapname\fP code in the capabilities section of \fBterminfo\fP(\*n).
+\fIcapname\fP code in the capabilities section of \fBterminfo\fP(5).
 .PP
 These routines return special values to denote errors.
 .PP
@@ -458,7 +457,7 @@ .SS Releasing Memory
 the \*(``static\*('' terminfo variables [a-z].
 Before ncurses 6.3, those were shared by all screens.
 With ncurses 6.3, those are allocated per screen.
-See \fBterminfo\fP(\*n) for details.
+See \fBterminfo\fP(5) for details.
 .bP
 to improve performance, ncurses 6.3 caches the result of analyzing terminfo
 strings for their parameter types.
@@ -784,4 +783,4 @@ .SH SEE ALSO
 \fB\%curs_variables\fP(3X),
 \fB\%putc\fP(3),
 \fB\%term_variables\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/curs_variables.3x b/man/curs_variables.3x
index f7568610..3891c6c2 100644
--- a/man/curs_variables.3x
+++ b/man/curs_variables.3x
@@ -48,7 +48,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .SH NAME
 \fI\%bool\fP,
 \fI\%chtype\fP,
@@ -297,7 +296,7 @@ .SH SEE ALSO
 \fB\%curs_terminfo\fP(3X),
 \fB\%curs_threads\fP(3X),
 \fB\%term_variables\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
 .PP
 [UAX #29] \*(``Unicode Standard Annex #29: Unicode Text
 Segmentation\*('';
diff --git a/man/infocmp.1m b/man/infocmp.1m
index 576fc5c2..be8240c2 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -46,7 +46,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB@INFOCMP@\fP \-
@@ -276,7 +275,7 @@ .SS Changing Databases [\-A \fIdirectory\fR] [\-B 
\fIdirectory\fR]
 You can use the \fBTERMINFO\fP and \fBTERMINFO_DIRS\fP environment variables
 to override the compiled-in default list of places to search.
 See \fBcurses\fP(3X), as well as
-the \fIFetching Compiled Descriptions\fP section in \fBterminfo\fR(\*n).
+the \fIFetching Compiled Descriptions\fP section in \fBterminfo\fR(5).
 .PP
 You can also use the options \fB\-A\fP
 and \fB\-B\fP to override the list of places to search
@@ -486,7 +485,7 @@ .SS Other Options
 .bP
 Available terminfo
 subsets are \*(``SVr1\*('', \*(``Ultrix\*('', \*(``HP\*('', and \*(``AIX\*('';
-see \fBterminfo\fP(\*n) for details.
+see \fBterminfo\fP(5) for details.
 .bP
 You can also choose the subset \*(``BSD\*('' which selects only capabilities
 with termcap equivalents recognized by 4.4BSD.
@@ -569,7 +568,7 @@ .SS Other Options
 changes the output to \fIwidth\fP characters.
 .TP
 \fB\-x\fP
-print information for user-defined capabilities (see \fBuser_caps(\*n)\fP.
+print information for user-defined capabilities (see \fBuser_caps(5)\fP.
 These are extensions to the terminfo repertoire which can be loaded
 using the \fB\-x\fP option of \fB@TIC@\fP.
 .SH FILES
@@ -651,7 +650,7 @@ .SH SEE ALSO
 \fB\%@TIC@\fP(1M),
 \fB\%@TOE@\fP(1M),
 \fB\%curses\fP(3X),
-\fB\%terminfo\fP(\*n),
-\fB\%user_caps\fP(\*n)
+\fB\%terminfo\fP(5),
+\fB\%user_caps\fP(5)
 .PP
 https://invisible\-island.net/ncurses/tctest.html
diff --git a/man/infotocap.1m b/man/infotocap.1m
index ca9e2a12..605100fb 100644
--- a/man/infotocap.1m
+++ b/man/infotocap.1m
@@ -40,7 +40,6 @@
 .el   .ds '' ""
 .\}
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@INFOTOCAP@\fP \-
@@ -96,4 +95,4 @@ .SH SEE ALSO
 \fB\%@INFOCMP@\fP(1M),
 \fB\%@TIC@\fP(1M),
 \fB\%curses\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/man_db.renames.in b/man/man_db.renames.in
index 1d12a80e..7f0a3da0 100644
--- a/man/man_db.renames.in
+++ b/man/man_db.renames.in
@@ -163,7 +163,6 @@ term.5                              term.5
 term.7                         term.7
 term_variables.3x              terminfo_variables.3ncurses
 terminfo.5                     terminfo.5
-terminfo.\\\*n                 terminfo.5
 tic.1m                         tic.1
 toe.1m                         toe.1
 tput.1                         tput.1
diff --git a/man/ncurses.3x b/man/ncurses.3x
index 123858e0..b09017ae 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -45,7 +45,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%ncurses\fP \-
@@ -158,7 +157,7 @@ .SS Initialization
 This can be done by executing the \fB@TPUT@ init\fP command
 after the shell environment variable \fBTERM\fP has been exported.
 (The BSD-style \fB\%@TSET@\fP(1) utility also performs this function.)
-See subsection \*(``Tabs and Initialization\*('' of \fBterminfo\fP(\*n).
+See subsection \*(``Tabs and Initialization\*('' of \fBterminfo\fP(5).
 .SS Datatypes
 The \fBncurses\fP library permits manipulation of data structures,
 called \fIwindows\fP, which can be thought of as two-dimensional
@@ -1598,7 +1597,7 @@ .SH AUTHORS
 Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey.
 Based on \fIpcurses\fP by Pavel Curtis.
 .SH SEE ALSO
-\fB\%terminfo\fP(\*n) and related pages whose names begin
+\fB\%terminfo\fP(5) and related pages whose names begin
 \*(``curs_\*('' for detailed routine descriptions.
 .br
 \fB\%curs_variables\fP(3X)
diff --git a/man/tabs.1 b/man/tabs.1
index 9e95cbbb..cd8acb3d 100644
--- a/man/tabs.1
+++ b/man/tabs.1
@@ -45,7 +45,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .SH NAME
 \fB\%@TABS@\fP \-
 set terminal tab stops
@@ -295,4 +294,4 @@ .SH SEE ALSO
 \fB\%@INFOCMP@\fP(1M),
 \fB\%@TSET@\fP(1),
 \fB\%curses\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/term.5 b/man/term.5
index 7c7c6ddf..0ea8ef1c 100644
--- a/man/term.5
+++ b/man/term.5
@@ -55,7 +55,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 term \-
@@ -313,7 +312,7 @@ .SS Binary format
 diverged from System V terminfo after SVr1, and have added extension
 capabilities to the string table that (in the binary format) collide with
 System V and XSI Curses extensions.
-See \fBterminfo\fP(\*n) for detailed
+See \fBterminfo\fP(5) for detailed
 discussion of terminfo source compatibility issues.
 .PP
 This implementation is by default compatible with the binary
@@ -422,4 +421,4 @@ .SH AUTHORS
 .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_terminfo\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/term.7 b/man/term.7
index f99ff83e..7c860c9b 100644
--- a/man/term.7
+++ b/man/term.7
@@ -40,7 +40,6 @@
 .el   .ds '' ""
 .\}
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 term \-
@@ -99,9 +98,9 @@ .SH DESCRIPTION
 name of its capability file the subdirectory of \*d named for its first
 letter).
 This command dumps a capability file in the text format described by
-\fBterminfo\fP(\*n).
+\fBterminfo\fP(5).
 .PP
-The first line of a \fBterminfo\fP(\*n) description gives the names by which
+The first line of a \fBterminfo\fP(5) description gives the names by which
 terminfo knows a terminal,
 separated by \*(``|\*('' (pipe-bar) characters with the last
 name field terminated by a comma.
@@ -230,5 +229,5 @@ .SH FILES
 tty line initialization (BSD-like Unices)
 .SH SEE ALSO
 \fB\%curses\fP(3X),
-\fB\%term\fP(\*n),
-\fB\%terminfo\fP(\*n)
+\fB\%term\fP(5),
+\fB\%terminfo\fP(5)
diff --git a/man/term_variables.3x b/man/term_variables.3x
index 30c8e2cb..76273218 100644
--- a/man/term_variables.3x
+++ b/man/term_variables.3x
@@ -40,7 +40,6 @@
 .el   .ds '' ""
 .\}
 .
-.ds n 5
 .SH NAME
 \fB\%SP\fP,
 \fB\%acs_map\fP,
@@ -179,4 +178,4 @@ .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_terminfo\fP(3X),
 \fB\%curs_threads\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/terminfo.head b/man/terminfo.head
index 61dda696..e155dbc5 100644
--- a/man/terminfo.head
+++ b/man/terminfo.head
@@ -51,7 +51,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%terminfo\fP \-
diff --git a/man/terminfo.tail b/man/terminfo.tail
index 7008ea2b..41252fbb 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -247,7 +247,7 @@ in the example above.
 Terminal descriptions in \fBncurses\fP are stored in terminal databases.
 These databases, which are found by their pathname,
 may be configured either as directory trees or hashed databases
-(see \fBterm\fR(\*n)),
+(see \fBterm\fR(5)),
 .PP
 The library uses a compiled-in list of pathnames,
 which can be overridden by environment variables.
@@ -2107,5 +2107,5 @@ Based on \fIpcurses\fP by Pavel Curtis.
 \fB\%curs_variables\fP(3X),
 \fB\%printf\fP(3),
 \fB\%term_variables\fP(3X),
-\fB\%term\fP(\*n),
+\fB\%term\fP(5),
 \fB\%user_caps\fP(5)
diff --git a/man/tic.1m b/man/tic.1m
index ce1b4de1..79703a23 100644
--- a/man/tic.1m
+++ b/man/tic.1m
@@ -45,7 +45,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@TIC@\fP \-
@@ -89,7 +88,7 @@ .SH DESCRIPTION
 The compiled format is necessary for use with
 the library routines in \fBncurses\fP(3X).
 .PP
-As described in \fBterm\fP(\*n), the database may be either a directory
+As described in \fBterm\fP(5), the database may be either a directory
 tree (one file per terminal entry) or a hashed database (one record per entry).
 The \fB@TIC@\fP command writes only one type of entry,
 depending on how it was built:
@@ -138,7 +137,7 @@ .SH DESCRIPTION
 .bP
 the system terminfo database (\fI\*d\fP).
 .PP
-The \fIFetching Compiled Descriptions\fP section in the \fBterminfo\fR(\*n)
+The \fIFetching Compiled Descriptions\fP section in the \fBterminfo\fR(5)
 manual goes into further detail.
 .SS ALIASES
 This is the same program as @INFOTOCAP@ and @CAPTOINFO@;
@@ -302,7 +301,7 @@ .SH OPTIONS
 \*(``AIX\*(''
 .RE
 .IP
-See \fBterminfo\fP(\*n) for details.
+See \fBterminfo\fP(5) for details.
 .TP
 \fB\-r\fP
 Force entry resolution (so there are no remaining tc capabilities) even
@@ -395,7 +394,7 @@ .SH OPTIONS
 If it is omitted, it defaults to 60.
 .TP
 \fB\-x\fP
-Treat unknown capabilities as user-defined (see \fBuser_caps(\*n)\fP).
+Treat unknown capabilities as user-defined (see \fBuser_caps(5)\fP).
 That is, if you supply a capability name which \fB@TIC@\fP does not recognize,
 it will infer its type (boolean, number or string) from the syntax and
 make an extended table entry for that.
@@ -405,7 +404,7 @@ .SS PARAMETERS
 .TP
 \fIfile\fP
 contains one or more \fBterminfo\fP terminal descriptions in source
-format [see \fBterminfo\fP(\*n)].
+format [see \fBterminfo\fP(5)].
 Each description in the file
 describes the capabilities of a particular terminal.
 .IP
@@ -413,7 +412,7 @@ .SS PARAMETERS
 The \fIfile\fP parameter may also be the path of a character-device.
 .SS PROCESSING
 All but one of the capabilities recognized by \fB@TIC@\fP are documented
-in \fBterminfo\fP(\*n).
+in \fBterminfo\fP(5).
 The exception is the \fBuse\fP capability.
 .PP
 When a \fBuse\fP=\fIentry\fP\-\fIname\fP field is discovered in a
@@ -454,7 +453,7 @@ .SH EXTENSIONS
 compile termcap sources.
 In fact, entries in terminfo and termcap syntax can
 be mixed in a single source file.
-See \fBterminfo\fP(\*n) for the list of
+See \fBterminfo\fP(5) for the list of
 termcap names taken to be equivalent to terminfo names.
 .PP
 The SVr4 manual pages are not clear on the resolution rules for \fBuse\fP
@@ -608,6 +607,6 @@ .SH SEE ALSO
 \fB\%@INFOTOCAP@\fP(1M),
 \fB\%@TOE@\fP(1M),
 \fB\%curses\fP(3X),
-\fB\%term\fP(\*n),
-\fB\%terminfo\fP(\*n),
-\fB\%user_caps\fP(\*n)
+\fB\%term\fP(5),
+\fB\%terminfo\fP(5),
+\fB\%user_caps\fP(5)
diff --git a/man/toe.1m b/man/toe.1m
index 3936b3bb..176b8d52 100644
--- a/man/toe.1m
+++ b/man/toe.1m
@@ -50,7 +50,6 @@
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 ..
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@TOE@\fP \-
@@ -227,4 +226,4 @@ .SH SEE ALSO
 \fB\%@INFOTOCAP@\fP(1M),
 \fB\%@TIC@\fP(1M),
 \fB\%curses\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/tput.1 b/man/tput.1
index 9e95343b..bab6f485 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -45,7 +45,6 @@
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 ..
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@TPUT@\fP,
@@ -93,7 +92,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(\*n).
+and the \fIcapname\fP associated with each, see \fBterminfo\fP(5).
 .SS Options
 .TP
 \fB\-S\fP
@@ -128,7 +127,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(\*n) for a list).
+(see \fBterminfo\fP(5) for a list).
 Although \fBinit\fP and \fBreset\fP resemble capability names,
 \fB@TPUT@\fP uses several capabilities to perform these special functions.
 .TP
@@ -192,7 +191,7 @@ .SS Commands
 .TP
 (4)
 if present, the terminal's initialization strings will be
-output as detailed in the \fBterminfo\fP(\*n) section on
+output as detailed in the \fBterminfo\fP(5) section on
 .IR "Tabs and Initialization" ,
 .TP
 (5)
@@ -237,7 +236,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(\*n)].
+\fBterminfo\fP database [see \fBterm\fP(5)].
 .SS Aliases
 \fB@TPUT@\fP handles the \fBclear\fP, \fBinit\fP and \fBreset\fP
 commands specially:
@@ -349,7 +348,7 @@ .SH DIAGNOSTICS
 =
 \fB0\fP        T{
 (\fIcapname\fP is a numeric variable that is not specified in the
-\fBterminfo\fP(\*n) database for this terminal type, e.g.
+\fBterminfo\fP(5) 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.
@@ -614,4 +613,4 @@ .SH SEE ALSO
 \fB\%@TABS@\fP(1),
 \fB\%@TSET@\fP(1),
 \fB\%curs_termcap\fP(3X),
-\fB\%terminfo\fP(\*n)
+\fB\%terminfo\fP(5)
diff --git a/man/tset.1 b/man/tset.1
index 1bade563..056a214e 100644
--- a/man/tset.1
+++ b/man/tset.1
@@ -47,7 +47,6 @@
 .el    .IP \(bu 2
 ..
 .
-.ds n 5
 .ds d @TERMINFO@
 .SH NAME
 \fB\%@TSET@\fP,
@@ -449,6 +448,6 @@ .SH SEE ALSO
 \fB\%stty\fP(1),
 \fB\%curs_terminfo\fP(3X),
 \fB\%tty\fP(4),
-\fB\%terminfo\fP(\*n),
+\fB\%terminfo\fP(5),
 \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]