[glug-t] One Day One GNU/Linux Command (TPUT)
- From: Bharathi Subramanian <sbharathi@xxxxxxxxxxxxx>
- To: GNU/Linux Users Group - Trichy <glug_t@xxxxxxxxxxxxx>, GNU/Linux User Group of TCE <glugot@xxxxxxxxxxxxx>, VEC-FOSS <vecfoss@xxxxxxxxxxxxxxxx>
- Date: Mon, 9 Jun 2008 11:50:19 +0530 (IST)
One Day One GNU/Linux Command
=============================
tput -- Initialize a terminal or query terminfo database
Summary:
The tput utility uses the terminfo database to make the values of
terminal dependent capabilities and information available to the
shell to initialize/reset/query the terminal.
Examples:
$ tput cols -- Print the no of cols for the current terminal.
$ tput cup 10 5 -- Move the CUrsor Position to Row 20 & Col 5.
$ tput civis -- Make the Cursor invisible
$ tput cnorm -- Show Cursor
$ tput smso -- Starts highlighting
$ tput blink -- Starts blinking the chars
$ tput bold -- Show chars in Light Bold
$ tput rev -- Show chars in REverse Video
$ tput rmso -- Normal mode (No highlight/bold/blink)
$ tput longname -- Show the long name of the current term.
$ tput reset -- Reinitialization of term with reset/init strings.
$ tput clear -- Clear the term.
$ tput bold; echo Bharathi -- Just to test.
Read: man tput
HTH :)
--
Bharathi S
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
'unsubscribe' as subject.
Website: http://glugt.linuxisle.com
Other related posts:
- » [glug-t] One Day One GNU/Linux Command (TPUT)