Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> |
| 2 | <!-- |
| 3 | * t |
| 4 | **************************************************************************** |
| 5 | * Copyright (c) 1999-2004,2006 Free Software Foundation, Inc. * |
| 6 | * * |
| 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: * |
| 14 | * * |
| 15 | * The above copyright notice and this permission notice shall be included * |
| 16 | * in all copies or substantial portions of the Software. * |
| 17 | * * |
| 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. * |
| 25 | * * |
| 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 * |
| 29 | * authorization. * |
| 30 | **************************************************************************** |
| 31 | * @Id: infotocap.1m,v 1.8 2006/12/24 20:13:56 tom Exp @ |
| 32 | --> |
| 33 | <HTML> |
| 34 | <HEAD> |
| 35 | <TITLE>infotocap 1m</TITLE> |
| 36 | <link rev=made href="mailto:bug-ncurses@gnu.org"> |
| 37 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 38 | </HEAD> |
| 39 | <BODY> |
| 40 | <H1>infotocap 1m</H1> |
| 41 | <HR> |
| 42 | <PRE> |
| 43 | <!-- Manpage converted by man2html 3.0.1 --> |
| 44 | <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | </PRE> |
| 50 | <H2>NAME</H2><PRE> |
| 51 | <STRONG>infotocap</STRONG> - convert a <EM>terminfo</EM> description into a <EM>termcap</EM> |
| 52 | description |
| 53 | |
| 54 | |
| 55 | </PRE> |
| 56 | <H2>SYNOPSIS</H2><PRE> |
| 57 | <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 | |
| 59 | |
| 60 | </PRE> |
| 61 | <H2>DESCRIPTION</H2><PRE> |
| 62 | <STRONG>infotocap</STRONG> looks in <EM>file</EM> for <STRONG>terminfo</STRONG> descriptions. For |
| 63 | each one found, an equivalent <STRONG>termcap</STRONG> description is writ- |
| 64 | ten to standard output. Terminfo <STRONG>use</STRONG> capabilities are |
| 65 | translated directly to termcap <STRONG>tc</STRONG> capabilities. |
| 66 | |
| 67 | <STRONG>-v</STRONG> print out tracing information on standard error as |
| 68 | the program runs. |
| 69 | |
| 70 | <STRONG>-V</STRONG> print out the version of the program in use on stan- |
| 71 | dard error and exit. |
| 72 | |
| 73 | <STRONG>-1</STRONG> cause the fields to print out one to a line. Other- |
| 74 | wise, the fields will be printed several to a line to |
| 75 | a maximum width of 60 characters. |
| 76 | |
| 77 | <STRONG>-w</STRONG> change the output to <EM>width</EM> characters. |
| 78 | |
| 79 | |
| 80 | </PRE> |
| 81 | <H2>FILES</H2><PRE> |
| 82 | /usr/share/terminfo Compiled terminal description |
| 83 | database. |
| 84 | |
| 85 | |
| 86 | </PRE> |
| 87 | <H2>NOTES</H2><PRE> |
| 88 | This utility is actually a link to <EM>tic</EM>, running in <EM>-C</EM> |
| 89 | mode. You can use other <EM>tic</EM> options such as <STRONG>-f</STRONG> and <STRONG>-x</STRONG>. |
| 90 | |
| 91 | |
| 92 | </PRE> |
| 93 | <H2>SEE ALSO</H2><PRE> |
| 94 | <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> |
| 95 | |
| 96 | This describes <STRONG>ncurses</STRONG> version 5.6 (patch 20081011). |
| 97 | |
| 98 | |
| 99 | |
| 100 | <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG> |
| 101 | </PRE> |
| 102 | <HR> |
| 103 | <ADDRESS> |
| 104 | Man(1) output converted with |
| 105 | <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a> |
| 106 | </ADDRESS> |
| 107 | </BODY> |
| 108 | </HTML> |