ODOC: tput

Friday, December 09, 2005

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 smso -- Starts highlighting

$ tput civis -- Make the Cursor invisible

$ tput cnorm -- Show Cursor

$ 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 bold; echo -- Just to test.
Read : man tput

Tech Tags:

comments links to this post Listen to this article Listen to this article

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

Previous Posts


referer referrer referers referrers http_referer

  • Subscribe to Free Software Blog
  • Google
Reader
  • Subscribe in Yahoo
  • Subscribe
in Bloglines
  • Link to Podcast

(RSS feed) for this blog
    Computers Blog Top Sites
  • Computers Blogs by Indian Bloggers
  • BLogstreet Profile

Sponsors