]> ncurses.scripts.mit.edu Git - ncurses.git/blob - man/infotocap.1m
ncurses 6.4 - patch 20230917
[ncurses.git] / man / infotocap.1m
1 '\" t
2 .\"***************************************************************************
3 .\" Copyright 2018-2022,2023 Thomas E. Dickey                                *
4 .\" Copyright 1999-2010,2016 Free Software Foundation, Inc.                  *
5 .\"                                                                          *
6 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
7 .\" copy of this software and associated documentation files (the            *
8 .\" "Software"), to deal in the Software without restriction, including      *
9 .\" without limitation the rights to use, copy, modify, merge, publish,      *
10 .\" distribute, distribute with modifications, sublicense, and/or sell       *
11 .\" copies of the Software, and to permit persons to whom the Software is    *
12 .\" furnished to do so, subject to the following conditions:                 *
13 .\"                                                                          *
14 .\" The above copyright notice and this permission notice shall be included  *
15 .\" in all copies or substantial portions of the Software.                   *
16 .\"                                                                          *
17 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
18 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
20 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
21 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
22 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
23 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
24 .\"                                                                          *
25 .\" Except as contained in this notice, the name(s) of the above copyright   *
26 .\" holders shall not be used in advertising or otherwise to promote the     *
27 .\" sale, use or other dealings in this Software without prior written       *
28 .\" authorization.                                                           *
29 .\"***************************************************************************
30 .\"
31 .\" $Id: infotocap.1m,v 1.26 2023/09/16 23:38:39 tom Exp $
32 .TH @INFOTOCAP@ 1M 2023-09-16 "ncurses 6.4" "User commands"
33 .ds n 5
34 .ds d @TERMINFO@
35 .SH NAME
36 \fB\%@INFOTOCAP@\fP \-
37 convert a \fIterminfo\fR description into a \fItermcap\fR description
38 .SH SYNOPSIS
39 \fB@INFOTOCAP@\fR [\fB\-v\fIn\fR \fIwidth\fR]  [\fB\-V\fR] [\fB\-1\fR] [\fB\-w\fR \fIwidth\fR] \fIfile\fR ...
40 .SH DESCRIPTION
41 \fB@INFOTOCAP@\fP looks in each given text
42 \fIfile\fP for \fBterminfo\fP descriptions.
43 For each terminfo description found,
44 an equivalent \fBtermcap\fP description is written to standard output.
45 Terminfo \fBuse\fP capabilities are translated directly to termcap
46 \fBtc\fP capabilities.
47 .TP 5
48 \fB\-v\fP
49 print out tracing information on standard error as the program runs.
50 .TP 5
51 \fB\-V\fP
52 print out the version of the program in use on standard error and exit.
53 .TP 5
54 \fB\-1\fP
55 cause the fields to print out one to a line.
56 Otherwise, the fields
57 will be printed several to a line to a maximum width of 60 characters.
58 .TP 5
59 \fB\-w\fP
60 change the output to \fIwidth\fP characters.
61 .SH FILES
62 .TP 20
63 \*d
64 Compiled terminal description database.
65 .SH NOTES
66 This utility is actually a link to \fB@TIC@\fP, running in \fI\-C\fP mode.
67 You can use other \fB@TIC@\fP options such as \fB\-f\fP and  \fB\-x\fP.
68 .SH PORTABILITY
69 None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this application.
70 .SH SEE ALSO
71 \fB@INFOCMP@\fP(1M),
72 \fB@TIC@\fP(1M),
73 \fBcurses\fP(3X),
74 \fBterminfo\fP(\*n)
75 .PP
76 This describes \fBncurses\fP
77 version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).
78 .SH AUTHOR
79 Eric S. Raymond <esr@snark.thyrsus.com>
80 and
81 .br
82 Thomas E. Dickey <dickey@invisible-island.net>