captoinfo(1M) captoinfo(1M)
NAME
captoinfo - convert a termcap description into a terminfo description
SYNOPSIS
captoinfo [-v ...] [-V] [-1] [-w width] file ...
DESCRIPTION
captoinfo looks in file for termcap descriptions. For each one found,
an equivalent terminfo description is written to standard output,
together with any comments found. A description which is expressed as
relative to another description (as specified in the termcap tc =
field) will be reduced to the minimum superset before being output.
If no file is given, the environment variable TERMCAP is used for the
filename or entry. If TERMCAP is a full pathname to a file, only the
terminal whose name is specified in the environment variable TERM is
extracted from that file. If the environment variable TERMCAP is not
set, then the /usr/share/lib/termcap file is read.
OPTIONS
-v Prints tracing information to standard error as the program runs.
More detailed information is printed if additional -v options are
specified.
-V Prints the version of the program in use to standard error and
exits.
-1 Forces the fields to print one to a line. Otherwise, several
fields are printed to a line to a maximum width of 60 characters.
-w Changes the output to width characters.
NOTES
captoinfo should be used to convert termcap entries to terminfo
entries since the termcap database may not be supplied in future
releases.
FILES
/usr/share/lib/terminfo/?/*
Compiled terminal description database
SEE ALSO
infocmp(1M), curses(3X), terminfo(4).
Page 1 Reliant UNIX 5.44 Printed 11/98