[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 32/52] Set `TERMINAL` data type name in italics, not bold.
From: |
G. Branden Robinson |
Subject: |
[PATCH 32/52] Set `TERMINAL` data type name in italics, not bold. |
Date: |
Fri, 22 Dec 2023 17:06:59 -0600 |
...and protect it from hyphenation (perhaps unnecessarily).
* man/curs_color.3x:
* man/curs_initscr.3x:
* man/curs_terminfo.3x:
* man/terminfo.tail: Do it.
---
man/curs_color.3x | 2 +-
man/curs_initscr.3x | 10 +++++-----
man/curs_terminfo.3x | 8 ++++----
man/terminfo.tail | 2 +-
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/man/curs_color.3x b/man/curs_color.3x
index 7f30c2707..cce8547ba 100644
--- a/man/curs_color.3x
+++ b/man/curs_color.3x
@@ -530,7 +530,7 @@ .SH HISTORY
SVr4 made internal changes,
e.g., moving the storage for the color state
from \fBSP\fP (the \fISCREEN\fP structure)
-to \fB\%cur_term\fP (the \fB\%TERMINAL\fP structure),
+to \fB\%cur_term\fP (the \fI\%TERMINAL\fP structure),
but provided the same set of library functions.
.PP
SVr4 curses limits the number of color pairs to 64,
diff --git a/man/curs_initscr.3x b/man/curs_initscr.3x
index c530bd9fc..8a9b23891 100644
--- a/man/curs_initscr.3x
+++ b/man/curs_initscr.3x
@@ -104,8 +104,8 @@ .SS newterm
If the \fItype\fP parameter is \fBNULL\fP, \fB$TERM\fP will be used.
.PP
The file descriptor of the output stream is passed to \fBsetupterm\fP(3X),
-which returns a pointer to a \fBTERMINAL\fP structure.
-\fBnewterm\fP's return value holds a pointer to the \fBTERMINAL\fP structure.
+which returns a pointer to a \fI\%TERMINAL\fP structure.
+\fBnewterm\fP's return value holds a pointer to the \fI\%TERMINAL\fP structure.
.SS endwin
The program must also call
\fBendwin\fP for each terminal being used before exiting from \fBcurses\fP.
@@ -218,7 +218,7 @@ .SS Differences
.SS "High-level versus Low-level"
Different implementations may disagree regarding the level of some functions.
For example, \fISCREEN\fP (returned by \fBnewterm\fP) and
-\fBTERMINAL\fP (returned by \fBsetupterm\fP(3X)) hold file descriptors for
+\fI\%TERMINAL\fP (returned by \fBsetupterm\fP(3X)) hold file descriptors for
the output stream.
If an application switches screens using \fBset_term\fR,
or switches terminals using \fBset_curterm\fP(3X),
@@ -227,11 +227,11 @@ .SS "High-level versus Low-level"
.PP
For example
.bP
-NetBSD's \fBbaudrate\fP(3X) function uses the descriptor in \fBTERMINAL\fP.
+NetBSD's \fBbaudrate\fP(3X) function uses the descriptor in \fI\%TERMINAL\fP.
\fI\%ncurses\fP and SVr4 use the descriptor in \fISCREEN\fP.
.bP
NetBSD and \fI\%ncurses\fP use the descriptor
-in \fBTERMINAL\fP
+in \fI\%TERMINAL\fP
for terminal I/O modes,
e.g.,
\fBdef_shell_mode\fP(3X),
diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index 4fd72b1ec..5c3d82d92 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -244,7 +244,7 @@ .SS Initialization
.\" ***************************************************************************
.SS "The Terminal State"
The \fBsetupterm\fP routine stores its information about the terminal
-in a \fBTERMINAL\fP structure pointed to by the global variable \fBcur_term\fP.
+in a \fI\%TERMINAL\fP structure pointed to by the global variable
\fBcur_term\fP.
If it detects an error,
or decides that the terminal is unsuitable (hardcopy or generic),
it discards this information,
@@ -464,7 +464,7 @@ .SS "Releasing Memory"
to improve performance,
\fI\%ncurses\fP 6.3 caches the result of analyzing terminfo
strings for their parameter types.
-That is stored as a binary tree referenced from the \fBTERMINAL\fP structure.
+That is stored as a binary tree referenced from the \fI\%TERMINAL\fP structure.
.PP
The higher-level \fBinitscr\fP and \fBnewterm\fP functions use \fBsetupterm\fP.
Normally they do not free this memory, but it is possible to do that using
@@ -722,7 +722,7 @@ .SH HISTORY
.TE
.PP
Early terminfo programs obtained capability values from the
-\fBTERMINAL\fP structure initialized by \fBsetupterm\fP.
+\fI\%TERMINAL\fP structure initialized by \fBsetupterm\fP.
.PP
SVr3 extended terminfo by adding functions to retrieve capability values
(like the termcap interface),
@@ -766,7 +766,7 @@ .SH HISTORY
descriptions, e.g., \fBset_curterm\fP.
Some of that was incremental improvements to the SVr2 library:
.bP
-The \fBTERMINAL\fP type definition was introduced in SVr3.01,
+The \fI\%TERMINAL\fP type definition was introduced in SVr3.01,
for the \fBterm\fP structure provided in SVr2.
.bP
The various global variables such as \fBboolnames\fP were mentioned
diff --git a/man/terminfo.tail b/man/terminfo.tail
index eba40996a..f435866bc 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -523,7 +523,7 @@ will give unpredictable results, because dynamic variables
are
an uninitialized local array on the stack in the \fBtparm\fP function.
.bP
SVr3.2 curses supported \fIstatic\fP variables.
-Those are an array in the \fBTERMINAL\fP
+Those are an array in the \fI\%TERMINAL\fP
structure (declared in \fBterm.h\fP),
and are zeroed automatically when the \fBsetupterm\fP function
allocates the data.
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 32/52] Set `TERMINAL` data type name in italics, not bold.,
G. Branden Robinson <=