*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: tget | Section: 1 | Source: MINIX | File: tget.1
TGET(1) General Commands Manual 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 ([email protected]) TGET(1)

Navigation Options