Debian Codegraph @

upstream/mageia-cauldron/man1/infotocap.1m

raw
1 .\"***************************************************************************
2 .\" Copyright 2018-2024,2025 Thomas E. Dickey *
3 .\" Copyright 1999-2010,2016 Free Software Foundation, Inc. *
4 .\" *
5 .\" Permission is hereby granted, free of charge, to any person obtaining a *
6 .\" copy of this software and associated documentation files (the *
7 .\" "Software"), to deal in the Software without restriction, including *
8 .\" without limitation the rights to use, copy, modify, merge, publish, *
9 .\" distribute, distribute with modifications, sublicense, and/or sell *
10 .\" copies of the Software, and to permit persons to whom the Software is *
11 .\" furnished to do so, subject to the following conditions: *
12 .\" *
13 .\" The above copyright notice and this permission notice shall be included *
14 .\" in all copies or substantial portions of the Software. *
15 .\" *
16 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
23 .\" *
24 .\" Except as contained in this notice, the name(s) of the above copyright *
25 .\" holders shall not be used in advertising or otherwise to promote the *
26 .\" sale, use or other dealings in this Software without prior written *
27 .\" authorization. *
28 .\"***************************************************************************
29 .\"
30 .\" $Id: infotocap.1m,v 1.50 2025/07/05 13:04:38 tom Exp $
31 .TH infotocap 1M 2025-07-05 "ncurses 6.5" "User commands"
32 .ie \n(.g \{\
33 .ds `` \(lq
34 .ds '' \(rq
35 .\}
36 .el \{\
37 .ie t .ds `` ``
38 .el .ds `` ""
39 .ie t .ds '' ''
40 .el .ds '' ""
41 .\}
42 .
43 .SH NAME
44 \fB\%infotocap\fP \-
45 convert a \fI\%terminfo\fR description into a \fI\%termcap\fR description
46 .SH SYNOPSIS
47 .B infotocap
48 .RI [ tic-option ]
49 .I file
50 \&.\|.\|.
51 .P
52 .B "infotocap \-V"
53 .SH DESCRIPTION
54 .B \%infotocap
55 translates terminal descriptions.
56 It looks in each given text
57 .I file
58 for
59 .I \%terminfo
60 entries and,
61 for each one found,
62 writes an analogous
63 .I \%termcap
64 description to the standard output stream.
65 .I \%terminfo
66 .RB \*(`` use \*(''
67 capabilities translate to
68 .I \%termcap
69 .B tc
70 capabilities.
71 Because
72 .I \%termcap
73 is a less expressive format than
74 .IR \%terminfo ,
75 some capabilities cannot be translated.
76 .PP
77 This utility is implemented as a link to \fB\%tic\fP(1M),
78 with the latter's
79 .B \-C
80 option implied.
81 You can use other
82 .B \%tic
83 options such as
84 .BR \-1 ,
85 .BR \-f ,
86 .BR \-v ,
87 .BR \-w ,
88 and
89 .BR \-x .
90 The
91 .B \-V
92 option reports the version of
93 .I \%ncurses
94 associated with this program and exits with a successful status.
95 .SH FILES
96 .TP
97 .I /usr/share/terminfo
98 compiled terminal description database
99 .SH PORTABILITY
100 None of X/Open Curses Issue\ 7 (2009),
101 SVr4,
102 or NetBSD document this application.
103 .SH AUTHORS
104 Eric S. Raymond <[email protected]>
105 and
106 .br
107 Thomas E. Dickey <dickey@invisible\-island.net>
108 .SH SEE ALSO
109 \fB\%infocmp\fP(1M),
110 \fB\%tic\fP(1M),
111 \fB\%curses\fP(3X),
112 \fB\%terminfo\fP(5)