Debian Codegraph @

upstream/debian-unstable/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.52 2025/10/04 20:10:32 tom Exp $
31 .TH infotocap 1 2025-10-04 "ncurses 6.6" "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(1),
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 /etc/terminfo
98 compiled terminal description database
99 .SH EXTENSIONS
100 This command is an
101 .I \%ncurses
102 extension.
103 .SH PORTABILITY
104 X/Open Curses Issue\ 7 (2009) does not specify this command.
105 SVr4 and NetBSD
106 .I curses
107 do not implement it.
108 .SH AUTHORS
109 Eric S. Raymond <[email protected]>
110 and
111 .br
112 Thomas E. Dickey <dickey@invisible\-island.net>
113 .SH SEE ALSO
114 \fB\%infocmp\fP(1),
115 \fB\%tic\fP(1),
116 \fB\%ncurses\fP(3NCURSES),
117 \fB\%terminfo\fP(5)