.TH captoinfo "" "" Command
.PC "Convert termcap data to terminfo form"
\fBcaptoinfo [\fIfilename\^\fB]\fR
.PP
The command
.B captoinfo
converts a file of terminal information that is in the \fBtermcap\fR format
into \fBterminfo\fR source format.
.PP
.B captoinfo
reads
.IR filename ;
if no file is named on the command line, it reads the standard input.
It writes its product to the standard output.
.PP
The input to
.B captoinfo
must be in correct \fBtermcap\fR format.
.B captoinfo
complains about all constructs that it cannot interpret.
.SH "See Also"
.Xr commands, commands
.Xr termcap, termcap
.Xr terminfo, terminfo
.Xr tic tic
.SH Notes
.II "Viduya, Robert"
The original code for
.B captoinfo
was written by Robert Viduya of the Georgia Institute of Technology,
and was adapted for \*(CO by Mark Williams Company.
