Manual Page Result
0
Command: captoinfo | Section: 1 | Source: Digital UNIX | File: captoinfo.1.gz
captoinfo(1) General Commands Manual captoinfo(1)
NAME
captoinfo - Converts a termcap description into a terminfo description.
SYNOPSIS
captoinfo [-v...] [-V] [-1] [-w options] file ...
FLAGS
Prints a field per line. Otherwise, multiple fields are printed on a
line up to a maximum width of 60 characters. Outputs tracing informa-
tion to standard error during program execution. Specifying more than
one -v flag causes more detailed information to be printed. Outputs to
standard error, the version of the executing program. Outputs informa-
tion according to the specified width (in characters).
DESCRIPTION
The captoinfo command searches the specified file for termcap descrip-
tions. For each description found, an equivalent terminfo description
is written to standard output (along with any comments found). A de-
scription that is expressed as relative to another description (such as
termcap tc = field) is reduced to the minimum superset before being
output.
If a file is not specified, the environment variable TERMCAP is used
for the filename or entry. If TERMCAP is a full pathname to a file,
only the name of the terminal specified by the environment variable
TERM is extracted. If the environment variable TERMCAP is not set,
then the file /usr/share/lib/termcap is read.
FILES
Compiled terminal description database.
RELATED INFORMATION
Commands: infocmp(1)
Functions: curses(3)
Files: terminfo(4) delim off
captoinfo(1)