[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 067/177] man/tput.1: Fix style nit.
From: |
G. Branden Robinson |
Subject: |
[PATCH 067/177] man/tput.1: Fix style nit. |
Date: |
Mon, 13 Jan 2025 11:25:27 -0600 |
Set command names in italics, not bold, when referring to them
generically (as in the "PORTABILITY" and "HISTORY" sections), as opposed
to the ncurses topic/implementation.
---
man/tput.1 | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/man/tput.1 b/man/tput.1
index b096f838d..067b72f6a 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -494,12 +494,12 @@ .SH PORTABILITY
output.
.IP
System\ V
-.BR tput 's
+.IR tput 's
.B init
and
.B \%reset
operands use logic from 4.1cBSD
-.BR tset ,
+.IR tset ,
manipulating terminal modes.
It checks the same file descriptors
(and
@@ -522,7 +522,7 @@ .SH PORTABILITY
using functions shared with
.B \%@TSET@
(and ultimately based on 4.4BSD
-.BR tset ).
+.IR tset ).
If it is not able to open a terminal
(for instance,
when run by \fIcron\fP(1)),
@@ -530,7 +530,7 @@ .SH PORTABILITY
exits with an error status.
.bP
System\ V
-.B tput
+.I tput
assumes that the type of a
.I cap-code
operand is numeric if all the characters of its value are decimal
@@ -564,7 +564,7 @@ .SH PORTABILITY
.I \%ncurses
to port NetBSD's
.IR termcap -based
-.B tput
+.I tput
to
.IR \%term\%info ,
and modified it to interpret multiple
@@ -683,7 +683,7 @@ .SH PORTABILITY
do not correspond to terminal capabilities.
.bP
The
-.B tput
+.I tput
on SVr4-based systems such as Solaris,
IRIX64,
and HP-UX,
@@ -697,11 +697,11 @@ .SH PORTABILITY
codes rather than
.I \%term\%info
capability codes in their respective
-.B tput
+.I tput
commands.
Since 2010,
NetBSD's
-.B tput
+.I tput
uses
.I \%term\%info
codes.
@@ -737,19 +737,19 @@ .SH PORTABILITY
.bP
That is,
there are two standards for
-.BR tput :
+.IR tput :
POSIX (a subset) and X/Open Curses (the full implementation).
POSIX documents a subset to avoid the complication of including
X/Open Curses and the terminal capability database.
.bP
While it is certainly possible to write a
-.B tput
+.I tput
program without using
.IR curses ,
no system with a
.I curses
implementation provides a
-.B tput
+.I tput
utility that does not also support standard
.IR cap-codes .
.PP
@@ -790,7 +790,7 @@ .SH PORTABILITY
nor X/Open Curses.
.SH HISTORY
Bill Joy wrote a
-.B tput
+.I tput
command during development of 4BSD in October 1980.
This initial version only cleared the screen,
and did not ship with official distributions.
@@ -800,15 +800,15 @@ .SH HISTORY
.\" See Spinellis's "unix-history-repo" on GitHub.
.PP
System\ V developed a different
-.B tput
+.I tput
command.
.bP
SVr2 (1984) provided a rudimentary
-.B tput
+.I tput
that checked the parameter against each
predefined capability and returned the corresponding value.
This version of
-.B tput
+.I tput
did not use \fB\%tparm\fP(3X) for parameterized capabilities.
.bP
SVr3 (1987) replaced that
@@ -824,7 +824,7 @@ .SH HISTORY
incorporated the
.B \%reset
feature of BSD
-.B tset
+.I tset
written by Eric Allman.
.bP
SVr4 (1989) added color initialization by using the
@@ -838,11 +838,11 @@ .SH HISTORY
logic.
.PP
Keith Bostic refactored BSD
-.B tput
+.I tput
for shipment in 4.3BSD-Tahoe (1988),
then replaced it the next year with a new implementation based on
System\ V
-.BR tput .
+.IR tput .
Bostic's version similarly accepted some parameters named for
.I \%term\%info
(pseudo-)capabilities:
@@ -860,18 +860,18 @@ .SH HISTORY
codes for other capabilities.
Also,
Bostic's BSD
-.B tput
+.I tput
did not modify the terminal modes as the earlier BSD
-.B tset
+.I tset
had done.
.PP
At the same time,
Bostic added a shell script named \*(``clear\*('' that used
-.B tput
+.I tput
to clear the screen.
Both of these appeared in 4.4BSD,
becoming the \*(``modern\*('' BSD implementation of
-.BR tput .
+.IR tput .
.PP
The origin of
.I \%ncurses
@@ -886,7 +886,7 @@ .SH HISTORY
Ridge's program made more sophisticated use of the terminal capabilities
than the BSD program.
Eric Raymond used that
-.B tput
+.I tput
program
(and other parts of
.IR \%mytinfo )
@@ -927,7 +927,7 @@ .SH HISTORY
.BR \%@TPUT@ "."
.PP
The
-.B \%reset
+.I \%reset
program is traditionally an alias for
.B \%@TSET@
due to its ability
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 067/177] man/tput.1: Fix style nit.,
G. Branden Robinson <=