Lines Matching +full:no +full:- +full:reset +full:- +full:on +full:- +full:init
3 .\" Copyright 2018-2023,2024 Thomas E. Dickey *
4 .\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
20 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
32 .TH @TPUT@ 1 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands"
50 \fB\%@TPUT@\fP \-
53 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP]
54 {\fIcap-code\fP [\fIparameter\fP .\|.\|.\&]} .\|.\|.
56 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] [\fB\-x\fP] \fBclear\fP
58 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] \fBinit\fP
60 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] \fB\%reset\fP
62 \fB@TPUT@\fP [\fB\-T\fP \fIterminal-type\fP] \fB\%longname\fP
64 \fB@TPUT@ \-S\fP
66 \fB@TPUT@ \-V\fP
70 library and database to make terminal-specific capabilities and
72 to initialize or reset the terminal,
78 .IR cap-code .
82 .IR cap-codes .
91 .IR cap-code ,
98 .IR cap-code 's
100 .RB ( \-1
106 .IR cap-code 's
110 Before using a value returned on the standard output,
117 .IR cap-code ,
127 we term them \*(``pseudo-capabilities\*(''.
129 .I cap-code
133 .I cap-code
136 .I cap-code
145 If no parameters are given for the capability,
148 .B init
188 Tab expansion is turned on or off per the specification in the entry,
211 .B reset
212 re-initializes the terminal.
213 A reset differs from initialization in two ways.
231 If any reset capabilities are defined for the terminal type,
235 Reset capabilities are detailed in subsection
263 .RB \%\*(`` "@TPUT@ init" \*(''
265 .RB \%\*(`` "@TPUT@ reset" \*(''
276 it operates as if run with the corresponding (pseudo-)capability
280 .B \%reset
282 .RB \%\*(`` "@TPUT@ \%reset" \*(''.
293 .B init
296 .B \%reset
301 Besides the pseudo-capabilities
308 .I cap-codes
331 .B \-T
340 .TP 9n \" "-T type" + 2n
341 .B \-S
347 .I cap-code
350 .B \-S
359 \fB\%@TPUT@\fP employs a built-in table and the presence of parameters
363 .BI \-T\ type
377 .B \-V
383 .B \-x
396 Status Meaning When \-S Not Specified
400 2 usage error or no terminal type specified
407 .B \-S
416 Status Meaning When \-S Specified
430 .B \-T
447 .IR cap-code \*(''
456 .B init
458 .B \%reset
480 (and ultimately based on 4.4BSD
490 .I cap-code
495 .I cap-code
499 .I cap-code
508 .I cap-code
511 .I cap-code
519 .IR termcap -based
524 .I cap-codes
537 .I cap-codes
555 .I cap-code
577 .I cap-code
601 .B \-S
603 and the parameter-substitution features used in the
611 4.3BSD-Reno (1990) added support for
615 NetBSD added support for the parameter-substitution features.
618 (POSIX.1-2008)
623 .B \%reset
631 .IR cap-code .
633 .RB ( init
640 on SVr4-based systems such as Solaris,
642 and HP-UX,
645 .I cap-code
688 .I cap-code
707 .IR cap-codes .
729 mistaking the \*(``\-1\*('' written to the standard output to indicate
734 HP-UX,
750 .\" It also exited with backwards exit status (1 on success, 0 on
753 .\" See Spinellis's "unix-history-repo" on GitHub.
772 .B init
774 .B \%reset
778 .B \%reset
790 .B init
795 for shipment in 4.3BSD-Tahoe (1988),
796 then replaced it the next year with a new implementation based on
801 (pseudo-)capabilities:
835 published on
850 Raymond made improvements to the way command-line parameters
875 .B \%reset
877 to reset terminal modes and special characters.
882 the \*(``reset\*('' features of the two programs are (mostly) the same.
895 .B "@TPUT@ init"
907 .B "@TPUT@ \-T5620 reset"
908 Reset an AT&T 5620 terminal,
931 .B "@TPUT@ \-Tadm3a cols"
932 Report the number of columns used by an ADM-3A terminal.
941 stand-out mode for the terminal.
963 with no parameters substituted.
972 .B "@TPUT@ \-S"
975 .B \-S
979 .RB $\ "@TPUT@ \-S <<!"
990 and turns on bold
996 .RB \%\*(`` "@TPUT@ \-S" \*(''