• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:exit +full:- +full:code

3 .\" Copyright 2018-2023,2024 Thomas E. Dickey                                *
4 .\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
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
78 .IR cap-code .
82 .IR cap-codes .
88 \fB\%@TPUT@\fP sets its exit status to
91 .IR cap-code ,
98 .IR cap-code 's
100 .RB ( \-1
106 .IR cap-code 's
111 the application should test \fB\%@TPUT@\fP's exit status
113 see section \*(``EXIT STATUS\*('' below.
117 .IR cap-code ,
118 a capability code from the terminal database,
127 we term them \*(``pseudo-capabilities\*(''.
129 .I cap-code
133 .I cap-code
136 .I cap-code
212 re-initializes the terminal.
276 it operates as if run with the corresponding (pseudo-)capability
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
355 exit statuses
356 (see section \*(``EXIT STATUS\*('' below).
359 \fB\%@TPUT@\fP employs a built-in table and the presence of parameters
363 .BI \-T\ type
377 .B \-V
383 .B \-x
387 .SH EXIT STATUS
389 one should interpret \fB\%@TPUT@\fP's exit statuses as follows.
396 Status Meaning When \-S Not Specified
402 4 unrecognized capability code
407 .B \-S
416 Status Meaning When \-S Specified
430 .B \-T
447 .IR cap-code \*(''
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
552 code.
555 .I cap-code
566 uses the code
571 uses the code
577 .I cap-code
588 uses the code
593 uses the 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)
631 .IR cap-code .
640 on SVr4-based systems such as Solaris,
642 and HP-UX,
645 .I cap-code
688 .I cap-code
707 .IR cap-codes .
716 It assigns exit status 4 to \*(``invalid operand\*('',
719 the source code for
724 It assigns exit status 255 to a numeric variable that is not specified
729 mistaking the \*(``\-1\*('' written to the standard output to indicate
730 an absent or cancelled numeric capability for an (unsigned) exit status.
734 HP-UX,
736 use the same exit statuses as
741 documents exit statuses that correspond to neither
750 .\" It also exited with backwards exit status (1 on success, 0 on
753 .\" See Spinellis's "unix-history-repo" on GitHub.
795 for shipment in 4.3BSD-Tahoe (1988),
801 (pseudo-)capabilities:
850 Raymond made improvements to the way command-line parameters
907 .B "@TPUT@ \-T5620 reset"
931 .B "@TPUT@ \-Tadm3a cols"
932 Report the number of columns used by an ADM-3A terminal.
941 stand-out mode for the terminal.
951 Indicate via exit status whether the terminal is a hard copy device.
972 .B "@TPUT@ \-S"
975 .B \-S
979 .RB $\ "@TPUT@ \-S <<!"
996 .RB \%\*(`` "@TPUT@ \-S" \*(''