Query: tget
OS: minix
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TGET(1) General Commands Manual TGET(1)NAMEtget - get termcap valuesSYNOPSIStget [-flag id] [-num id] [-str id] [-goto col line] [[-echo] string]DESCRIPTIONTget 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.EXAMPLETry this: tget -str so 'Reverse Video' -str seENVIRONMENTTERM Terminal type. TERMCAP Path to the termcap database, by default /etc/termcap:/usr/etc/termcap.SEE ALSOtermcap(3).DIAGNOSTICSTget will fail immediately with a descriptive message if the termcap entry can't be found.AUTHORKees J. Bot (kjb@cs.vu.nl) TGET(1)
Related Man Pages |
---|
captoinfo(1m) - opensolaris |
tgetflag(3x) - bsd |
captoinfo(1m) - hpux |
termcap(3x) - osf1 |
captoinfo(1m) - sunos |
Similar Topics in the Unix Linux Community |
---|
for command |
bc error |
Retrieving data from 65th col (of each line) ? |
Check variable |
Source functions from variable |