Debian Codegraph @

upstream/debian-trixie/man1/infotocap.1

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.48 2025/01/19 00:51:10 tom Exp $
31 .TH infotocap 1 2025-01-18 "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 \fB\%infotocap\fP translates terminal descriptions.
55 It looks in each given text \fIfile\fP for \fI\%terminfo\fP entries and,
56 for each one found,
57 it writes an analogous \fI\%termcap\fP description to the standard
58 output stream.
59 \fI\%terminfo\fP \*(``\fBuse\fP\*('' capabilities translate to
60 \fI\%termcap\fP \fBtc\fP capabilities.
61 Because \fI\%termcap\fP is a less expressive format than
62 \fI\%terminfo\fP,
63 some capabilities cannot be translated.
64 .PP
65 This utility is implemented as a link to \fB\%tic\fP(1),
66 with the latter's
67 .B \-C
68 option implied.
69 You can use other \fB\%tic\fP options such as
70 .BR \-1 ,
71 .BR \-f ,
72 .BR \-v ,
73 .BR \-w ,
74 and
75 .BR \-x .
76 The \fB\-V\fP option reports the version of \fI\%ncurses\fP associated
77 with this program and exits with a successful status.
78 .SH FILES
79 .TP
80 .I /etc/terminfo
81 compiled terminal description database
82 .SH PORTABILITY
83 None of X/Open Curses Issue\ 7 (2009),
84 SVr4,
85 or NetBSD document this application.
86 .SH AUTHORS
87 Eric S. Raymond <[email protected]>
88 and
89 .br
90 Thomas E. Dickey <dickey@invisible\-island.net>
91 .SH SEE ALSO
92 \fB\%infocmp\fP(1),
93 \fB\%tic\fP(1),
94 \fB\%ncurses\fP(3NCURSES),
95 \fB\%terminfo\fP(5)