tget man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

TGET(1)								       TGET(1)

NAME
       tget - get termcap values

SYNOPSIS
       tget [-flag id] [-num id] [-str id] [-goto col line] [[-echo] string]

DESCRIPTION
       Tget  allows  shell scripts access to the termcap(3) functions.	Flags,
       numbers and strings can be queried from the termcap database under  the
       entry denoted by the environment variable $TERM.

OPTIONS
       -flag id
	      Set  the	exit  status to zero if the flag id is set.  All other
	      options except -echo set the exit status to id  being  available
	      or not.  The last option sets the final exit code.

       -num id
	      Print the value of the numeric variable id.

       -str id
	      Print the value of the string variable id.

       -goto col line
	      Generates instructions to go to the given column and line if the
	      cm capability exists.

       -echo string
	      Prints string.  Any other argument that does not	start  with  a
	      dash is also printed.

EXAMPLE
       Try this: tget -str so 'Reverse Video' -str se

ENVIRONMENT
       TERM	      Terminal type.

       TERMCAP	      Path  to	the  termcap  database,	 by default /etc/term‐
		      cap:/usr/etc/termcap.

SEE ALSO
       termcap(3).

DIAGNOSTICS
       Tget will fail immediately with a descriptive message  if  the  termcap
       entry can't be found.

AUTHOR
       Kees J. Bot (kjb@cs.vu.nl)

								       TGET(1)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net