[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/34] man/terminfo.head: Reorganize for consistency.
|
From: |
G. Branden Robinson |
|
Subject: |
[PATCH 04/34] man/terminfo.head: Reorganize for consistency. |
|
Date: |
Fri, 6 Oct 2023 00:13:08 -0500 |
...with other ncurses man pages.
1. Define string for monospaced font name.
2. Define strings to obtain typographer's quotes and certain ASCII
characters.
3. Define page-local macros.
4. Define `n` and `d` strings for file formats' manual section number
for file formats and parameterized terminfo database location,
respectively.
Also use empty requests for visual separation in source, easing
maintainers' comprehension.
---
man/terminfo.head | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/man/terminfo.head b/man/terminfo.head
index a34a651f..78e18c5c 100644
--- a/man/terminfo.head
+++ b/man/terminfo.head
@@ -29,8 +29,12 @@
.\"
.\" $Id: terminfo.head,v 1.51 2023/09/17 08:29:38 tom Exp $
.TH terminfo 5 2023-09-17 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "File
formats"
-.ds n 5
-.ds d @TERMINFO@
+.ie n .ds CW R
+.el \{
+.ie \n(.g .ds CW CR
+.el .ds CW CW
+.\}
+.
.ie \n(.g .ds `` \(lq
.el .ds `` ``
.ie \n(.g .ds '' \(rq
@@ -39,15 +43,14 @@
.el .ds ^ ^
.ie \n(.g .ds ~ \(ti
.el .ds ~ ~
-.ie n .ds CW R
-.el \{
-.ie \n(.g .ds CW CR
-.el .ds CW CW
-.\}
+.
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
..
+.
+.ds n 5
+.ds d @TERMINFO@
.SH NAME
\fB\%terminfo\fP \-
terminal capability database
--
2.30.2
signature.asc
Description: PGP signature
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 04/34] man/terminfo.head: Reorganize for consistency.,
G. Branden Robinson <=