16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

tput — Change characteristics of terminals<br />

Format<br />

Description<br />

Options<br />

Localization<br />

tput [–T type] capname[parm1...parm9]<br />

tput [–T type] –S<br />

tput lets you change your terminal’s characteristics. The capname arguments<br />

indicate how you want to change the characteristics. Possible capnames are:<br />

clear Clears the screen<br />

init Initializes your terminal<br />

reset Resets your terminal<br />

tput does its work by outputting appropriate character sequences to the standard<br />

output. These character sequences are terminal-specific.<br />

Usually, tput looks for an environment variable named TERM. If TERM exists, tput<br />

uses its value as the terminal type. If it doesn’t exist, tput assumes a default<br />

terminal type.<br />

–T type<br />

Identifies the type of your terminal. This overrides the TERM environment<br />

variable.<br />

The second format of this command provides extensions for XPG/<strong>System</strong> V. This<br />

format of tput accepts an additional option, –S.<br />

–S Takes input from standard input, one capability/capname per line. A blank<br />

line terminates input.<br />

An additional capname is supported for <strong>System</strong> V:<br />

longname<br />

Returns the long descriptive name of the terminal.<br />

An extension to provide <strong>System</strong> V capabilities allows capname to be a capability<br />

from the terminfo database. If the capability requires arguments, they appear after<br />

the capname option.<br />

tput uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

Environment Variables<br />

tput uses the following environment variables:<br />

tput<br />

Chapter 2. Shell command descriptions 703

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!