3 ****************************************************************************
4 * Copyright (c) 1999-2006,2010 Free Software Foundation, Inc. *
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: *
14 * The above copyright notice and this permission notice shall be included *
15 * in all copies or substantial portions of the Software. *
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. *
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 *
29 ****************************************************************************
30 * @Id: infotocap.1m,v 1.11 2010/12/04 18:38:55 tom Exp @
32 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
35 <meta http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
36 <meta name=
"generator" content=
"Manpage converted by man2html - see http://invisible-island.net/scripts/readme.html#others_scripts">
37 <TITLE>infotocap
1m
</TITLE>
38 <link rev=made
href=
"mailto:bug-ncurses@gnu.org">
39 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
42 <H1 class=
"no-header">infotocap
1m
</H1>
44 <STRONG><A HREF=
"infotocap.1m.html">infotocap(
1m)
</A></STRONG> <STRONG><A HREF=
"infotocap.1m.html">infotocap(
1m)
</A></STRONG>
50 <H2><a name=
"h2-NAME">NAME
</a></H2><PRE>
51 <STRONG>infotocap
</STRONG> - convert a
<EM>terminfo
</EM> description into a
<EM>termcap
</EM>
56 <H2><a name=
"h2-SYNOPSIS">SYNOPSIS
</a></H2><PRE>
57 <STRONG>infotocap
</STRONG> [
<STRONG>-v
</STRONG><EM>n
</EM> <EM>width
</EM>] [
<STRONG>-V
</STRONG>] [
<STRONG>-
1</STRONG>] [
<STRONG>-w
</STRONG> <EM>width
</EM>]
<EM>file
</EM> . . .
61 <H2><a name=
"h2-DESCRIPTION">DESCRIPTION
</a></H2><PRE>
62 <STRONG>infotocap
</STRONG> looks in each given text
<EM>file
</EM> for
<STRONG>terminfo
</STRONG>
63 descriptions. For each terminfo description found, an
64 equivalent
<STRONG>termcap
</STRONG> description is written to standard out-
65 put. Terminfo
<STRONG>use
</STRONG> capabilities are translated directly to
66 termcap
<STRONG>tc
</STRONG> capabilities.
68 <STRONG>-v
</STRONG> print out tracing information on standard error as
71 <STRONG>-V
</STRONG> print out the version of the program in use on stan-
74 <STRONG>-
1</STRONG> cause the fields to print out one to a line. Other-
75 wise, the fields will be printed several to a line to
76 a maximum width of
60 characters.
78 <STRONG>-w
</STRONG> change the output to
<EM>width
</EM> characters.
82 <H2><a name=
"h2-FILES">FILES
</a></H2><PRE>
83 /usr/share/terminfo Compiled terminal description data-
88 <H2><a name=
"h2-NOTES">NOTES
</a></H2><PRE>
89 This utility is actually a link to
<EM>tic
</EM>, running in
<EM>-C
</EM>
90 mode. You can use other
<EM>tic
</EM> options such as
<STRONG>-f
</STRONG> and
<STRONG>-x
</STRONG>.
94 <H2><a name=
"h2-SEE-ALSO">SEE ALSO
</a></H2><PRE>
95 <STRONG><A HREF=
"ncurses.3x.html">curses(
3x)
</A></STRONG>,
<STRONG><A HREF=
"tic.1m.html">tic(
1m)
</A></STRONG>,
<STRONG><A HREF=
"infocmp.1m.html">infocmp(
1m)
</A></STRONG>,
<STRONG><A HREF=
"terminfo.5.html">terminfo(
5)
</A></STRONG>
97 This describes
<STRONG>ncurses
</STRONG> version
6.0 (patch
20150808).
101 <H2><a name=
"h2-AUTHOR">AUTHOR
</a></H2><PRE>
102 Eric S. Raymond
<esr@snark.thyrsus.com
> and
103 Thomas E. Dickey
<dickey@invisible-island.net
>
107 <STRONG><A HREF=
"infotocap.1m.html">infotocap(
1m)
</A></STRONG>
111 <li><a href=
"#h2-NAME">NAME
</a></li>
112 <li><a href=
"#h2-SYNOPSIS">SYNOPSIS
</a></li>
113 <li><a href=
"#h2-DESCRIPTION">DESCRIPTION
</a></li>
114 <li><a href=
"#h2-FILES">FILES
</a></li>
115 <li><a href=
"#h2-NOTES">NOTES
</a></li>
116 <li><a href=
"#h2-SEE-ALSO">SEE ALSO
</a></li>
117 <li><a href=
"#h2-AUTHOR">AUTHOR
</a></li>