blob: 4213f69428fe8574ef9f59471d01d06c3f0243c4 [file] [log] [blame]
micky3879b9f5e72025-07-08 18:04:53 -04001<!--
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05302 ****************************************************************************
micky3879b9f5e72025-07-08 18:04:53 -04003 * Copyright 2018-2023,2024 Thomas E. Dickey *
4 * Copyright 1999-2010,2016 Free Software Foundation, Inc. *
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05305 * *
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 ****************************************************************************
micky3879b9f5e72025-07-08 18:04:53 -040030 * @Id: infotocap.1m,v 1.41 2024/03/16 15:35:01 tom Exp @
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053031-->
Steve Kondikae271bc2015-11-15 02:50:53 +010032<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053033<HTML>
34<HEAD>
Steve Kondikae271bc2015-11-15 02:50:53 +010035<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
micky3879b9f5e72025-07-08 18:04:53 -040036<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
37<TITLE>infotocap 1m 2024-03-16 ncurses 6.5 User commands</TITLE>
38<link rel="author" href="mailto:bug-ncurses@gnu.org">
39
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053040</HEAD>
41<BODY>
micky3879b9f5e72025-07-08 18:04:53 -040042<H1 class="no-header">infotocap 1m 2024-03-16 ncurses 6.5 User commands</H1>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053043<PRE>
micky3879b9f5e72025-07-08 18:04:53 -040044<STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> User commands <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053045
46
47
48
micky3879b9f5e72025-07-08 18:04:53 -040049</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> description
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053051
52
micky3879b9f5e72025-07-08 18:04:53 -040053</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
54 <STRONG>infotocap</STRONG> [<EM>tic-option</EM>] <EM>file</EM> ...
55
56 <STRONG>infotocap</STRONG> <STRONG>-V</STRONG>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053057
58
micky3879b9f5e72025-07-08 18:04:53 -040059</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
60 <STRONG>infotocap</STRONG> translates terminal descriptions. It looks in each given
61 text <EM>file</EM> for <EM>terminfo</EM> entries and, For each one found, it writes an
62 analogous <EM>termcap</EM> description to the standard output stream. <EM>terminfo</EM>
63 "<STRONG>use</STRONG>" capabilities translate to <EM>termcap</EM> <STRONG>tc</STRONG> capabilities. Because
64 <EM>termcap</EM> is a less expressive format than <EM>terminfo</EM>, some capabilities
65 cannot be translated.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053066
micky3879b9f5e72025-07-08 18:04:53 -040067 This utility is implemented as a link to <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, with the latter's <STRONG>-C</STRONG>
68 option implied. You can use other <STRONG>tic</STRONG> options such as <STRONG>-1</STRONG>, <STRONG>-f</STRONG>, <STRONG>-v</STRONG>, <STRONG>-w</STRONG>,
69 and <STRONG>-x</STRONG>. The <STRONG>-V</STRONG> option reports the version of <EM>ncurses</EM> associated with
70 this program and exits with a successful status.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053071
72
micky3879b9f5e72025-07-08 18:04:53 -040073</PRE><H2><a name="h2-FILES">FILES</a></H2><PRE>
74 <EM>/usr/share/terminfo</EM>
75 compiled terminal description database
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053076
77
micky3879b9f5e72025-07-08 18:04:53 -040078</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
79 None of X/Open Curses, Issue 7 (2009), SVr4, or NetBSD document this
80 application.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053081
82
micky3879b9f5e72025-07-08 18:04:53 -040083</PRE><H2><a name="h2-AUTHORS">AUTHORS</a></H2><PRE>
Steve Kondikae271bc2015-11-15 02:50:53 +010084 Eric S. Raymond &lt;esr@snark.thyrsus.com&gt; and
85 Thomas E. Dickey &lt;dickey@invisible-island.net&gt;
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053086
87
micky3879b9f5e72025-07-08 18:04:53 -040088</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
89 <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053090
micky3879b9f5e72025-07-08 18:04:53 -040091
92
93ncurses 6.5 2024-03-16 <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053094</PRE>
Steve Kondikae271bc2015-11-15 02:50:53 +010095<div class="nav">
96<ul>
97<li><a href="#h2-NAME">NAME</a></li>
98<li><a href="#h2-SYNOPSIS">SYNOPSIS</a></li>
99<li><a href="#h2-DESCRIPTION">DESCRIPTION</a></li>
100<li><a href="#h2-FILES">FILES</a></li>
micky3879b9f5e72025-07-08 18:04:53 -0400101<li><a href="#h2-PORTABILITY">PORTABILITY</a></li>
102<li><a href="#h2-AUTHORS">AUTHORS</a></li>
Steve Kondikae271bc2015-11-15 02:50:53 +0100103<li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
Steve Kondikae271bc2015-11-15 02:50:53 +0100104</ul>
105</div>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530106</BODY>
107</HTML>