3 ****************************************************************************
4 * Copyright 2018-2019,2020 Thomas E. Dickey *
5 * Copyright 1999-2010,2016 Free Software Foundation, Inc. *
7 * Permission is hereby granted, free of charge, to any person obtaining a *
8 * copy of this software and associated documentation files (the *
9 * "Software"), to deal in the Software without restriction, including *
10 * without limitation the rights to use, copy, modify, merge, publish, *
11 * distribute, distribute with modifications, sublicense, and/or sell *
12 * copies of the Software, and to permit persons to whom the Software is *
13 * furnished to do so, subject to the following conditions: *
15 * The above copyright notice and this permission notice shall be included *
16 * in all copies or substantial portions of the Software. *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
21 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
22 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
23 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
24 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
26 * Except as contained in this notice, the name(s) of the above copyright *
27 * holders shall not be used in advertising or otherwise to promote the *
28 * sale, use or other dealings in this Software without prior written *
30 ****************************************************************************
31 * @Id: infotocap.1m,v 1.17 2020/12/19 21:49:52 tom Exp @
33 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
36 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
37 <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
38 <TITLE>@INFOTOCAP@ 1M</TITLE>
39 <link rel="author" href="mailto:bug-ncurses@gnu.org">
40 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
43 <H1 class="no-header">@INFOTOCAP@ 1M</H1>
45 <B><A HREF="infotocap.1M.html">infotocap(1M)</A></B> <B><A HREF="infotocap.1M.html">infotocap(1M)</A></B>
50 </PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
51 <B>infotocap</B> - convert a <I>terminfo</I> description into a <I>termcap</I> description
54 </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
55 <B>infotocap</B> [<B>-v</B><I>n</I> <I>width</I>] [<B>-V</B>] [<B>-1</B>] [<B>-w</B> <I>width</I>] <I>file</I> ...
58 </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
59 <B>infotocap</B> looks in each given text <I>file</I> for <B>terminfo</B> descriptions. For
60 each terminfo description found, an equivalent <B>termcap</B> description is
61 written to standard output. Terminfo <B>use</B> capabilities are translated
62 directly to termcap <B>tc</B> capabilities.
64 <B>-v</B> print out tracing information on standard error as the program
67 <B>-V</B> print out the version of the program in use on standard error and
70 <B>-1</B> cause the fields to print out one to a line. Otherwise, the
71 fields will be printed several to a line to a maximum width of 60
74 <B>-w</B> change the output to <I>width</I> characters.
77 </PRE><H2><a name="h2-FILES">FILES</a></H2><PRE>
78 /usr/share/terminfo Compiled terminal description database.
81 </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
82 This utility is actually a link to <B>tic</B>, running in <I>-C</I> mode. You can
83 use other <B>tic</B> options such as <B>-f</B> and <B>-x</B>.
86 </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
87 None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this
91 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
92 <B><A HREF="infocmp.1M.html">infocmp(1M)</A></B>, <B><A HREF="tic.1M.html">tic(1M)</A></B>, <B><A HREF="curses.3X.html">curses(3X)</A></B>, <B><A HREF="terminfo.5.html">terminfo(5)</A></B>
94 This describes <B>ncurses</B> version 6.2 (patch 20210612).
97 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
98 Eric S. Raymond <esr@snark.thyrsus.com> and
99 Thomas E. Dickey <dickey@invisible-island.net>
103 <B><A HREF="infotocap.1M.html">infotocap(1M)</A></B>
107 <li><a href="#h2-NAME">NAME</a></li>
108 <li><a href="#h2-SYNOPSIS">SYNOPSIS</a></li>
109 <li><a href="#h2-DESCRIPTION">DESCRIPTION</a></li>
110 <li><a href="#h2-FILES">FILES</a></li>
111 <li><a href="#h2-NOTES">NOTES</a></li>
112 <li><a href="#h2-PORTABILITY">PORTABILITY</a></li>
113 <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
114 <li><a href="#h2-AUTHOR">AUTHOR</a></li>