tput

Section: Misc. Reference Manual Pages (1local)
Updated: UR EE GRADUATE VLSI LAB
Index Return to Main Contents
 

NAME

tput - Change terminal display characteristics.  

SYNOPSIS

tput option [ x y ]  

DESCRIPTION

tput sends a sequence of characters corresponding to the operation specified in option. It is intended to emulate the system V utility tput.

Option is a two letter capability as specified in termcap(5). x and y are integer values for cursor movement. Typical options are given below.  

REQUESTS


Option Explanation
bl Beep the terminal
cl Clear screen
mb Blink line
md Highlight line
me Restore normal mode
mr Reverse video line
se End Standout mode
so Begin Standout mode
ue End underlining mode
us Start underlining mode

A typical cursor addressing option would be set scroll region (if supported):

tput cs 5 3

would set the scrolling between lines 3 and 5.  

FILES

/etc/termcap  

SEE ALSO

termcap(3X), termcap(5)  

DIAGNOSTICS

Returns 0 if it worked; else returns 1.  

BUGS

The onus of handling unavailable options is on the user.  

AUTHOR

Badri Lokanathan


 

Index

NAME
SYNOPSIS
DESCRIPTION
REQUESTS
FILES
SEE ALSO
DIAGNOSTICS
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 06:22:02 GMT, December 12, 2024