captoinfo - Converts a termcap description into a terminfo description.
captoinfo [-v ...] [-V] [-1] [-w options] file...
-1 Prints a field per line. Otherwise, multiple fields are printed on a
line up to a maximum width of 60 characters.
-v Outputs tracing information to standard error during program execution.
Specifying more than one -v option causes more detailed information to
-V Outputs to standard error, the version of the executing program.
-w Outputs information according to the specified width (in characters).
The captoinfo command searches the specified file for termcap descriptions.
For each description found, an equivalent terminfo description is written
to standard output (along with any comments found). A description 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.
Compiled terminal description database.