MPE/iX Shell and Utilities Reference Manual, Vol 2
tput(1) MPE/iX Shell and Utilities tput(1)
NAME
tput — change terminal characteristics
SYNOPSIS
tput [–T type] action ...
tput [–T type] –S action ...
DESCRIPTION
tput lets you change your terminal’s characteristics. The action arguments indicate how you
want to change the characteristics. Possible actions are:
clear clears the screen.
init initializes your terminal.
reset resets your terminal.
An additional action is supported for System V:
longname
returns the long descriptive name of the terminal.
An extension to provide System V capabilities allows action to be a capability from the
TERMINFO
database. If the capability requires arguments, they appear following the action.
tput does its work by outputting appropriate character sequences to the standard output.
These character sequences are terminal-specific.
Normally, tput looks for an environment variable named
TERM
.If
TERM
exists, tput uses
its value as the terminal type.If
TERM
does not exist, tput assumes a default terminal type.
Options
tput accepts the following option:
–T type
identifies the type of your terminal. This overrides the
TERM
environment variable.
The second format of this command provides extensions for XPG/System V. This format of
tput accepts an additional option, –S.
–S take input from standard input, one capability/action per line. A blank line terminates
input.
1-608 Commands and Utilities