[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/40] man/tput.1: Relocate and promote "Options" subsection.
From: |
G. Branden Robinson |
Subject: |
[PATCH 10/40] man/tput.1: Relocate and promote "Options" subsection. |
Date: |
Fri, 12 Jan 2024 13:28:38 -0600 |
In other ncurses man pages, "OPTIONS" rates a section.
---
man/tput.1 | 64 +++++++++++++++++++++++++++---------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/man/tput.1 b/man/tput.1
index 7f2e0758f..95be57cc1 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -108,38 +108,6 @@ .SH DESCRIPTION
For a complete list of
.I cap-codes,
see \fB\%terminfo\fP(5).
-.SS Options
-.TP
-\fB\-S\fP
-allows more than one capability per invocation of \fB@TPUT@\fP.
-The capabilities must be passed to \fB@TPUT@\fP from the standard input
-instead of from the command line
-(see example).
-Only one \fIcap-code\fP is allowed per line.
-The \fB\-S\fP option changes the
-meaning of the \fB0\fP and \fB1\fP Boolean and string exit statuses
-(see section \*(``EXIT STATUS\*('' below).
-.IP
-Because some capabilities may use
-\fIstring\fP parameters rather than \fInumbers\fP,
-\fB@TPUT@\fP uses a table and the presence of parameters in its input
-to decide whether to use \fBtparm\fP(3X),
-and how to interpret the parameters.
-.TP
-\fB\-T\fItype\fR
-indicates the \fItype\fP of terminal.
-Normally this option is
-unnecessary, because the default is taken from the environment
-variable \fITERM\fP.
-If \fB\-T\fP is specified, then the shell
-variables \fILINES\fP and \fI\%COLUMNS\fP will also be ignored.
-.TP
-\fB\-V\fP
-reports the version of \fI\%ncurses\fP which was used in this program,
-and exits.
-.TP
-.B \-x
-prevents \fB\%@TPUT@\fP from attempting to clear the scrollback buffer.
.SS Commands
A few commands (\fBinit\fP, \fBreset\fP and \fBlongname\fP) are
special; they are defined by the \fB@TPUT@\fP program.
@@ -335,6 +303,38 @@ .SS "Terminal Size"
If the \fB\-T\fP option is given
@TPUT@ ignores the environment variables by calling \fBuse_tioctl(TRUE)\fP,
relying upon the operating system (or finally, the terminal database).
+.SH OPTIONS
+.TP
+\fB\-S\fP
+allows more than one capability per invocation of \fB@TPUT@\fP.
+The capabilities must be passed to \fB@TPUT@\fP from the standard input
+instead of from the command line
+(see example).
+Only one \fIcap-code\fP is allowed per line.
+The \fB\-S\fP option changes the
+meaning of the \fB0\fP and \fB1\fP Boolean and string exit statuses
+(see section \*(``EXIT STATUS\*('' below).
+.IP
+Because some capabilities may use
+\fIstring\fP parameters rather than \fInumbers\fP,
+\fB@TPUT@\fP uses a table and the presence of parameters in its input
+to decide whether to use \fBtparm\fP(3X),
+and how to interpret the parameters.
+.TP
+\fB\-T\fItype\fR
+indicates the \fItype\fP of terminal.
+Normally this option is
+unnecessary, because the default is taken from the environment
+variable \fITERM\fP.
+If \fB\-T\fP is specified, then the shell
+variables \fILINES\fP and \fI\%COLUMNS\fP will also be ignored.
+.TP
+\fB\-V\fP
+reports the version of \fI\%ncurses\fP which was used in this program,
+and exits.
+.TP
+.B \-x
+prevents \fB\%@TPUT@\fP from attempting to clear the scrollback buffer.
.SH EXIT STATUS
Normally,
one should interpret \fB\%@TPUT@\fP's exit statuses as follows.
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 10/40] man/tput.1: Relocate and promote "Options" subsection.,
G. Branden Robinson <=