DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
terminfo programming

What is terminfo?

terminfo refers to both of the following:

Here is a simple shell script that uses the terminfo database.

   #   Clear the screen and show the 0,0 position.
   

tput clear tput cup 0 0 # or tput home echo "<- this is 0 0"

# Show line 5, column 10.

tput cup 5 10 echo "<- this is 5 10"

A shell script using terminfo routines


Next topic: Working with terminfo routines
Previous topic: Organization of this topic

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004