1<!-- 2 **************************************************************************** 3 * Copyright 2018-2023,2024 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.41 2024/03/16 15:35:01 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 2024-03-16 ncurses 6.5 User commands</TITLE> 38<link rel="author" href="mailto:bug-ncurses@gnu.org"> 39 40</HEAD> 41<BODY> 42<H1 class="no-header">infotocap 1m 2024-03-16 ncurses 6.5 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 48 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> description 51 52 53</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> 57 58 59</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. 66 67 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. 71 72 73</PRE><H2><a name="h2-FILES">FILES</a></H2><PRE> 74 <EM>/usr/share/terminfo</EM> 75 compiled terminal description database 76 77 78</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. 81 82 83</PRE><H2><a name="h2-AUTHORS">AUTHORS</a></H2><PRE> 84 Eric S. Raymond <esr@snark.thyrsus.com> and 85 Thomas E. Dickey <dickey@invisible-island.net> 86 87 88</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> 90 91 92 93ncurses 6.5 2024-03-16 <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-PORTABILITY">PORTABILITY</a></li> 102<li><a href="#h2-AUTHORS">AUTHORS</a></li> 103<li><a href="#h2-SEE-ALSO">SEE ALSO</a></li> 104</ul> 105</div> 106</BODY> 107</HTML> 108