3 ****************************************************************************
4 * Copyright (c) 1999-2010,2016 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.12 2016/10/15 17:26:09 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>
49 </PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
50 <STRONG>infotocap</STRONG> - convert a <EM>terminfo</EM> description into a <EM>termcap</EM>
54 </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
55 <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> . . .
58 </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
59 <STRONG>infotocap</STRONG> looks in each given text <EM>file</EM> for <STRONG>terminfo</STRONG>
60 descriptions. For each terminfo description found, an
61 equivalent <STRONG>termcap</STRONG> description is written to standard out-
62 put. Terminfo <STRONG>use</STRONG> capabilities are translated directly to
63 termcap <STRONG>tc</STRONG> capabilities.
65 <STRONG>-v</STRONG> print out tracing information on standard error as
68 <STRONG>-V</STRONG> print out the version of the program in use on stan-
71 <STRONG>-1</STRONG> cause the fields to print out one to a line. Other-
72 wise, the fields will be printed several to a line to
73 a maximum width of 60 characters.
75 <STRONG>-w</STRONG> change the output to <EM>width</EM> characters.
78 </PRE><H2><a name="h2-FILES">FILES</a></H2><PRE>
79 /usr/share/terminfo Compiled terminal description data-
83 </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
84 This utility is actually a link to <STRONG>tic</STRONG>, running in <EM>-C</EM>
85 mode. You can use other <STRONG>tic</STRONG> options such as <STRONG>-f</STRONG> and <STRONG>-x</STRONG>.
88 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
89 <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>
91 This describes <STRONG>ncurses</STRONG> version 6.0 (patch 20161203).
94 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
95 Eric S. Raymond <esr@snark.thyrsus.com> and
96 Thomas E. Dickey <dickey@invisible-island.net>
100 <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>
104 <li><a href="#h2-NAME">NAME</a></li>
105 <li><a href="#h2-SYNOPSIS">SYNOPSIS</a></li>
106 <li><a href="#h2-DESCRIPTION">DESCRIPTION</a></li>
107 <li><a href="#h2-FILES">FILES</a></li>
108 <li><a href="#h2-NOTES">NOTES</a></li>
109 <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
110 <li><a href="#h2-AUTHOR">AUTHOR</a></li>