bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 04/17] Refer to terminfo database directory consistently.


From: G. Branden Robinson
Subject: [PATCH 04/17] Refer to terminfo database directory consistently.
Date: Fri, 13 Oct 2023 18:39:32 -0500

...in the "FILES" section, at any rate.

1.  Favor man(7) macro `I` over font selection escape sequences.
2.  Identify it explicitly as a "directory".
3.  Drop glob syntax from it, unnecessary once identified as directory.
4.  Consistently set it as a tagged paragraph.
5.  Use default indentation amount for tagged paragraphs.
6.  Use the *roff string defined to hold the terminfo database directory
    specification.  This fact, however, reveals that it's unnecessary to
    indirect that datum through a *roff string at all.  Make it
    consistent with other ncurses page to enable a robotic update
    subsequently.

* man/infocmp.1m:
* man/infotocap.1m:
* man/ncurses.3x:
* man/term.5:
* man/term.7:
* man/terminfo.tail:
* man/tic.1m:
* man/toe.1m:
* man/tput.1:
* man/tset.1: Do it.

Also:

* man/ncurses.3x: Fix missing paragraph break.
---
 man/infocmp.1m    | 6 +++---
 man/infotocap.1m  | 2 +-
 man/ncurses.3x    | 5 +++--
 man/term.5        | 4 +++-
 man/term.7        | 4 ++--
 man/terminfo.tail | 6 +++---
 man/tic.1m        | 6 +++---
 man/toe.1m        | 2 +-
 man/tput.1        | 2 +-
 man/tset.1        | 6 ++++--
 10 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/man/infocmp.1m b/man/infocmp.1m
index 5aeab409..de972946 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -567,9 +567,9 @@ .SS Other Options
 These are extensions to the terminfo repertoire which can be loaded
 using the \fB\-x\fP option of \fB@TIC@\fP.
 .SH FILES
-.TP 20
-\*d
-Compiled terminal description database.
+.TP
+.I \*d
+compiled terminal description database
 .SH HISTORY
 Although System V Release 2 provided a terminfo library,
 it had no documented tool for decompiling the terminal descriptions.
diff --git a/man/infotocap.1m b/man/infotocap.1m
index 3e96cfb3..3398dd7d 100644
--- a/man/infotocap.1m
+++ b/man/infotocap.1m
@@ -78,7 +78,7 @@ .SH DESCRIPTION
 with this program and exits with a successful status.
 .SH FILES
 .TP
-\fI\*d\fP
+.I \*d
 compiled terminal description database
 .SH PORTABILITY
 None of X/Open Curses, Issue 7 (2009),
diff --git a/man/ncurses.3x b/man/ncurses.3x
index 170b50c8..04342e4a 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1370,8 +1370,9 @@ .SH FILES
 .TP 5
 @DATADIR@/tabset
 directory containing initialization files for the terminal capability database
-@TERMINFO@
-terminal capability database
+.TP
+.I \*d
+compiled terminal capability database
 .SH EXTENSIONS
 The \fBncurses\fP library can be compiled with an option (\fB\-DUSE_GETCAP\fP)
 that falls back to the old-style /etc/termcap file if the terminal setup code
diff --git a/man/term.5 b/man/term.5
index 007887fe..9141b922 100644
--- a/man/term.5
+++ b/man/term.5
@@ -398,7 +398,9 @@ .SH LIMITS
 The legacy format could have supported 32768-byte entries,
 but was limited a virtual memory page's 4096 bytes.
 .SH FILES
-\*d/*/* compiled terminal capability database
+.TP
+.I \*d
+compiled terminal description database
 .SH AUTHORS
 Thomas E. Dickey
 .br
diff --git a/man/term.7 b/man/term.7
index f2ffb878..03644a42 100644
--- a/man/term.7
+++ b/man/term.7
@@ -220,8 +220,8 @@ .SH PORTABILITY
 should be unique within the first 14 characters.
 .SH FILES
 .TP 5
-\*d/?/*
-compiled terminal capability database
+.I \*d
+compiled terminal description database
 .TP 5
 /etc/inittab
 tty line initialization (AT&T-like UNIXes)
diff --git a/man/terminfo.tail b/man/terminfo.tail
index 3da55107..8510e896 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -2080,9 +2080,9 @@ of incompatible string table extensions.
 \fBOSF\fP \-\-
 Supports both the SVr4 set and the AIX extensions.
 .SH FILES
-.TP 25
-\*d/?/*
-files containing terminal descriptions
+.TP
+.I \*d
+compiled terminal description database directory
 .SH AUTHORS
 Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey.
 Based on \fIpcurses\fP by Pavel Curtis.
diff --git a/man/tic.1m b/man/tic.1m
index d76cf33c..2f512f97 100644
--- a/man/tic.1m
+++ b/man/tic.1m
@@ -594,9 +594,9 @@ .SS EXTENSIONS
 System V does not compile entries to or read entries from your
 \fI$HOME/.terminfo\fP database unless TERMINFO is explicitly set to it.
 .SH FILES
-.TP 5
-\fB\*d/?/*\fP
-Compiled terminal description database.
+.TP
+.I \*d
+compiled terminal description database
 .SH AUTHOR
 Eric S. Raymond <esr@snark.thyrsus.com>
 and
diff --git a/man/toe.1m b/man/toe.1m
index 77541efe..5e3473c7 100644
--- a/man/toe.1m
+++ b/man/toe.1m
@@ -201,7 +201,7 @@ .SH EXAMPLES
 .RE
 .SH FILES
 .TP
-\fI\*d\fP
+.I \*d
 compiled terminal description database
 .SH HISTORY
 \fB\%@TOE@\fP is not provided by other implementations.
diff --git a/man/tput.1 b/man/tput.1
index 2ea0471a..16912d12 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -369,7 +369,7 @@ .SH EXAMPLES
 The list is terminated by an exclamation mark (\fB!\fP) on a line by itself.
 .SH FILES
 .TP
-\fB\*d\fP
+.I \*d
 compiled terminal description database
 .TP
 \fB@DATADIR@/tabset/*\fP
diff --git a/man/tset.1 b/man/tset.1
index 877f0a8a..85d21880 100644
--- a/man/tset.1
+++ b/man/tset.1
@@ -46,6 +46,8 @@
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 ..
+.
+.ds d @TERMINFO@
 .SH NAME
 \fB\%@TSET@\fP,
 \fB\%@RESET@\fP \-
@@ -428,8 +430,8 @@ .SH FILES
 /etc/ttys
 system port name to terminal type mapping database (BSD versions only).
 .TP
-@TERMINFO@
-terminal capability database
+.I \*d
+compiled terminal description database directory
 .SH SEE ALSO
 \fB\%csh\fP(1),
 \fB\%sh\fP(1),
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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