tput — Initialize a Terminal or Query terminfo Database

Synopsis

/usr/bin/tput [-Ttype] capname [parm...] 
/usr/bin/tput -S << 

Description

The tput command uses the terminfo database to make the values of terminal-dependent capabilities and information available to the shell (see sh(1)); to clear, initialize, or reset the terminal; or to return the long name of the requested terminal type. tput outputs a string if the capability attribute (capname ) is of type string or outputs an integer if the attribute is of type integer. If the attribute is of type boolean, tput simply sets the exit status (0 for true if the terminal has the capability, 1 for false if it does not) and produces no output. Before using a value returned on standard output, ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.