blob: d9b44f0e25b94b3c56e4d4b140f28b101d780e0c [file] [log] [blame]
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05301'\" t
2.\"***************************************************************************
Steve Kondikae271bc2015-11-15 02:50:53 +01003.\" Copyright (c) 1999-2006,2010 Free Software Foundation, Inc. *
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05304.\" *
5.\" Permission is hereby granted, free of charge, to any person obtaining a *
6.\" copy of this software and associated documentation files (the *
7.\" "Software"), to deal in the Software without restriction, including *
8.\" without limitation the rights to use, copy, modify, merge, publish, *
9.\" distribute, distribute with modifications, sublicense, and/or sell *
10.\" copies of the Software, and to permit persons to whom the Software is *
11.\" furnished to do so, subject to the following conditions: *
12.\" *
13.\" The above copyright notice and this permission notice shall be included *
14.\" in all copies or substantial portions of the Software. *
15.\" *
16.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
23.\" *
24.\" Except as contained in this notice, the name(s) of the above copyright *
25.\" holders shall not be used in advertising or otherwise to promote the *
26.\" sale, use or other dealings in this Software without prior written *
27.\" authorization. *
28.\"***************************************************************************
29.\"
Steve Kondikae271bc2015-11-15 02:50:53 +010030.\" $Id: infotocap.1m,v 1.11 2010/12/04 18:38:55 tom Exp $
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053031.TH @INFOTOCAP@ 1M ""
32.ds n 5
33.ds d @TERMINFO@
34.SH NAME
Steve Kondikae271bc2015-11-15 02:50:53 +010035\fB@INFOTOCAP@\fR \- convert a \fIterminfo\fR description into a \fItermcap\fR description
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053036.SH SYNOPSIS
Steve Kondikae271bc2015-11-15 02:50:53 +010037\fB@INFOTOCAP@\fR [\fB\-v\fR\fIn\fR \fIwidth\fR] [\fB\-V\fR] [\fB\-1\fR] [\fB\-w\fR \fIwidth\fR] \fIfile\fR . . .
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053038.SH DESCRIPTION
Steve Kondikae271bc2015-11-15 02:50:53 +010039\fB@INFOTOCAP@\fR looks in each given text
40\fIfile\fR for \fBterminfo\fR descriptions.
41For each terminfo description found,
42an equivalent \fBtermcap\fR description is written to standard output.
43Terminfo \fBuse\fR capabilities are translated directly to termcap
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053044\fBtc\fR capabilities.
45.TP 5
Steve Kondikae271bc2015-11-15 02:50:53 +010046\fB\-v\fR
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053047print out tracing information on standard error as the program runs.
48.TP 5
Steve Kondikae271bc2015-11-15 02:50:53 +010049\fB\-V\fR
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053050print out the version of the program in use on standard error and exit.
51.TP 5
Steve Kondikae271bc2015-11-15 02:50:53 +010052\fB\-1\fR
53cause the fields to print out one to a line.
54Otherwise, the fields
55will be printed several to a line to a maximum width of 60 characters.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053056.TP 5
Steve Kondikae271bc2015-11-15 02:50:53 +010057\fB\-w\fR
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053058change the output to \fIwidth\fR characters.
59.SH FILES
60.TP 20
61\*d
62Compiled terminal description database.
63.SH NOTES
Steve Kondikae271bc2015-11-15 02:50:53 +010064This utility is actually a link to \fI@TIC@\fR, running in \fI\-C\fR mode.
65You can use other \fI@TIC@\fR options such as \fB\-f\fR and \fB\-x\fR.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053066.SH SEE ALSO
67\fBcurses\fR(3X),
68\fB@TIC@\fR(1M),
69\fB@INFOCMP@\fR(1M),
70\fBterminfo\fR(\*n)
71.PP
72This describes \fBncurses\fR
73version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).
Steve Kondikae271bc2015-11-15 02:50:53 +010074.SH AUTHOR
75Eric S. Raymond <esr@snark.thyrsus.com>
76and
77.br
78Thomas E. Dickey <dickey@invisible-island.net>