tput.1 (2010 09)
t
tput(1) tput(1)
Clear the screen, move the cursor to line 10, column 20 and turn on bold.
tput -S <<EOF
clear
cup 10 20
bold
EOF
RETURN VALUE
If capname is of type boolean, then the exit code is set to
0 for true and 1 for false.
If capname is not of type boolean and
tput fails, an error message is printed, and exit code is set to one
of the following depending on the failure:
0 The capability name is of type integer and does not exist.
2 Usage error.
3 Unknown terminal type.
4 Unknown capability name.
>4 An error occurred.
If the exit code is
0,a
− 1 is printed if a capability name of type integer is requested for a terminal that
has no entry for that capability name in the
terminfo database (such as tput -Thp70092 vt).
FILES
/usr/share/lib/terminfo/?/*
Terminfo data base
/usr/include/curses.h
Definition files
/usr/include/term.h
SEE ALSO
stty(1), untic(1M), terminfo(4).
STANDARDS CONFORMANCE
tput: SVID2, SVID3, XPG4
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010