| Click this button to go to the index for this section. |
captoinfo(1)
NAME
captoinfo - Converts a termcap description into a terminfo description.SYNOPSIS
captoinfo [-v...] [-V] [-1] [-w options] file ...FLAGS
-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 flag causes more detailed information to be printed. -V Outputs to standard error, the version of the executing program. -w Outputs information according to the specified width (in characters).DESCRIPTION
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.FILES
/usr/share/lib/terminfo/?/* Compiled terminal description database.RELATED INFORMATION
Commands: infocmp(1) Functions: curses(3) Files: terminfo(4)