| 1 |
<!-- |
| 2 |
**************************************************************************** |
| 3 |
* Copyright 2018-2024,2025 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 |
* @Id: infotocap.1m,v 1.52 2025/10/04 20:10:32 tom Exp @ |
| 31 |
--> |
| 32 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 33 |
<HTML> |
| 34 |
<HEAD> |
| 35 |
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> |
| 36 |
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> |
| 37 |
<TITLE>infotocap 1m 2025-10-04 ncurses 6.6 User commands</TITLE> |
| 38 |
<link rel="author" href="mailto:[email protected]"> |
| 39 |
|
| 40 |
</HEAD> |
| 41 |
<BODY> |
| 42 |
<H1 class="no-header">infotocap 1m 2025-10-04 ncurses 6.6 User commands</H1> |
| 43 |
<PRE> |
| 44 |
<STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> User commands <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> |
| 45 |
|
| 46 |
|
| 47 |
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE> |
| 48 |
<STRONG>infotocap</STRONG> - convert a <EM>terminfo</EM> description into a <EM>termcap</EM> description |
| 49 |
|
| 50 |
|
| 51 |
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE> |
| 52 |
<STRONG>infotocap</STRONG> [<EM>tic-option</EM>] <EM>file</EM> ... |
| 53 |
|
| 54 |
<STRONG>infotocap</STRONG> <STRONG>-V</STRONG> |
| 55 |
|
| 56 |
|
| 57 |
</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE> |
| 58 |
<STRONG>infotocap</STRONG> translates terminal descriptions. It looks in each given |
| 59 |
text <EM>file</EM> for <EM>terminfo</EM> entries and, for each one found, writes an |
| 60 |
analogous <EM>termcap</EM> description to the standard output stream. <EM>terminfo</EM> |
| 61 |
"<STRONG>use</STRONG>" capabilities translate to <EM>termcap</EM> <STRONG>tc</STRONG> capabilities. Because |
| 62 |
<EM>termcap</EM> is a less expressive format than <EM>terminfo</EM>, some capabilities |
| 63 |
cannot be translated. |
| 64 |
|
| 65 |
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> |
| 66 |
option implied. You can use other <STRONG>tic</STRONG> options such as <STRONG>-1</STRONG>, <STRONG>-f</STRONG>, <STRONG>-v</STRONG>, <STRONG>-w</STRONG>, |
| 67 |
and <STRONG>-x</STRONG>. The <STRONG>-V</STRONG> option reports the version of <EM>ncurses</EM> associated with |
| 68 |
this program and exits with a successful status. |
| 69 |
|
| 70 |
|
| 71 |
</PRE><H2><a name="h2-FILES">FILES</a></H2><PRE> |
| 72 |
<EM>/usr/share/terminfo</EM> |
| 73 |
compiled terminal description database |
| 74 |
|
| 75 |
|
| 76 |
</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> |
| 77 |
This command is an <EM>ncurses</EM> extension. |
| 78 |
|
| 79 |
|
| 80 |
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE> |
| 81 |
X/Open Curses Issue 7 (2009) does not specify this command. SVr4 and |
| 82 |
NetBSD <EM>curses</EM> do not implement it. |
| 83 |
|
| 84 |
|
| 85 |
</PRE><H2><a name="h2-AUTHORS">AUTHORS</a></H2><PRE> |
| 86 |
Eric S. Raymond <[email protected]> and |
| 87 |
Thomas E. Dickey <[email protected]> |
| 88 |
|
| 89 |
|
| 90 |
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> |
| 91 |
<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> |
| 92 |
|
| 93 |
ncurses 6.6 2025-10-04 <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> |
| 94 |
</PRE> |
| 95 |
<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> |
| 101 |
<li><a href="#h2-EXTENSIONS">EXTENSIONS</a></li> |
| 102 |
<li><a href="#h2-PORTABILITY">PORTABILITY</a></li> |
| 103 |
<li><a href="#h2-AUTHORS">AUTHORS</a></li> |
| 104 |
<li><a href="#h2-SEE-ALSO">SEE ALSO</a></li> |
| 105 |
</ul> |
| 106 |
</div> |
| 107 |
</BODY> |
| 108 |
</HTML> |