2 .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH CAPTOINFO 1M "May 18, 1993"
9 captoinfo \- convert a termcap description into a terminfo description
13 \fBcaptoinfo\fR [\fB-1\fR] [\fB-v\fR]... [\fB-V\fR] [\fB-w\fR \fIwidth\fR] \fIfilename\fR...
19 \fBcaptoinfo\fR looks in \fIfilename\fR for \fBtermcap\fR descriptions. For
20 each one found, an equivalent \fBterminfo\fR description is written to
21 standard output, along with any comments found. A description which is
22 expressed as relative to another description (as specified in the \fBtermcap\fR
23 \fBtc = field\fR) is reduced to the minimum superset before being displayed.
26 If no \fIfilename\fR is given, then the environment variable
27 \fB\fR\fBTERM\fR\fBCAP \fR is used for the filename or entry. If
28 \fB\fR\fBTERM\fR\fBCAP \fR is a full pathname to a file, only the terminal
29 whose name is specified in the environment variable \fBTERM\fR is extracted
30 from that file. If the environment variable \fB\fR\fBTERM\fR\fBCAP \fR is not
31 set, then the file \fB/usr/share/lib/termcap\fR is read.
39 Display the fields one to a line. Otherwise, the fields are printed several to
40 a line, with a maximum width of 60 characters.
49 Display tracing information on the standard error as the program runs.
50 Specifying additional \fB-v\fR options displays more detailed information.
59 Display the version of the program in use on the standard error and then exit.
65 \fB\fB-w\fR\fI width\fR\fR
68 Change the output to \fIwidth\fR characters.
75 \fB\fB/usr/share/lib/terminfo/?/*\fR\fR
79 compiled terminal description database
85 \fB\fB/usr/share/lib/termcap\fR\fR
95 \fBinfocmp\fR(1M), \fBcurses\fR(3CURSES), \fBterminfo\fR(4),
100 \fBcaptoinfo\fR should be used to convert \fBtermcap\fR entries to
101 \fBterminfo\fR entries because the \fBtermcap\fR database may not be supplied