bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 52/52] man/tput.1: Revise description of "longname" operand.


From: G. Branden Robinson
Subject: [PATCH 52/52] man/tput.1: Revise description of "longname" operand.
Date: Fri, 22 Dec 2023 17:11:45 -0600

Disclose that no trailing newline is written.  Protect (parameterized)
name of "tput" command from automatic hyphenation.  Update markup.
---
 man/tput.1 | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/man/tput.1 b/man/tput.1
index d0e8d19c1..6b4c8f815 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -248,13 +248,18 @@ .SS Commands
 .IP
 Otherwise, \fBreset\fP acts identically to \fBinit\fP.
 .TP
-\fBlongname\fP
-If the terminal database is present and an entry for the
-user's terminal exists (see \fB\-T\fItype\fR above), then the long name
-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
-\fI\%term\%info\fP database [see \fBterm\fP(5)].
+.B longname
+If the terminal database is present and an entry for the user's terminal
+exists
+(see
+.B \-T
+.I type
+above),
+\fB\%@TPUT@\fP reports the terminal's description
+(or \*(``long name\*('')
+to the standard output,
+without a trailing newline.
+See \fBterm\fP(5).
 .SS Aliases
 \fB@TPUT@\fP handles the \fBclear\fP, \fBinit\fP and \fBreset\fP
 commands specially:
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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