blob: 0f0335d44603135360b59b1a050559e4f1f894c2 [file] [log] [blame]
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05301.\"***************************************************************************
micky3879b9f5e72025-07-08 18:04:53 -04002.\" Copyright 2018-2023,2024 Thomas E. Dickey *
3.\" Copyright 1999-2010,2016 Free Software Foundation, Inc. *
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05304.\" *
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.\"
micky3879b9f5e72025-07-08 18:04:53 -040030.\" $Id: infotocap.1m,v 1.41 2024/03/16 15:35:01 tom Exp $
31.TH @INFOTOCAP@ 1M 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "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.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053043.ds d @TERMINFO@
44.SH NAME
micky3879b9f5e72025-07-08 18:04:53 -040045\fB\%@INFOTOCAP@\fP \-
46convert a \fI\%terminfo\fR description into a \fI\%termcap\fR description
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053047.SH SYNOPSIS
micky3879b9f5e72025-07-08 18:04:53 -040048.B @INFOTOCAP@
49.RI [ tic-option ]
50.I file
51\&.\|.\|.
52.P
53.B "@INFOTOCAP@ \-V"
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053054.SH DESCRIPTION
micky3879b9f5e72025-07-08 18:04:53 -040055\fB\%@INFOTOCAP@\fP translates terminal descriptions.
56It looks in each given text \fIfile\fP for \fI\%terminfo\fP entries and,
57For each one found,
58it writes an analogous \fI\%termcap\fP description to the standard
59output stream.
60\fI\%terminfo\fP \*(``\fBuse\fP\*('' capabilities translate to
61\fI\%termcap\fP \fBtc\fP capabilities.
62Because \fI\%termcap\fP is a less expressive format than
63\fI\%terminfo\fP,
64some capabilities cannot be translated.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053065.PP
micky3879b9f5e72025-07-08 18:04:53 -040066This utility is implemented as a link to \fB\%@TIC@\fP(1M),
67with the latter's
68.B \-C
69option implied.
70You can use other \fB\%@TIC@\fP options such as
71.BR \-1 ,
72.BR \-f ,
73.BR \-v ,
74.BR \-w ,
75and
76.BR \-x .
77The \fB\-V\fP option reports the version of \fI\%ncurses\fP associated
78with this program and exits with a successful status.
79.SH FILES
80.TP
81.I \*d
82compiled terminal description database
83.SH PORTABILITY
84None of X/Open Curses,
85Issue 7 (2009),
86SVr4,
87or NetBSD document this application.
88.SH AUTHORS
Steve Kondikae271bc2015-11-15 02:50:53 +010089Eric S. Raymond <esr@snark.thyrsus.com>
90and
91.br
micky3879b9f5e72025-07-08 18:04:53 -040092Thomas E. Dickey <dickey@invisible\-island.net>
93.SH SEE ALSO
94\fB\%@INFOCMP@\fP(1M),
95\fB\%@TIC@\fP(1M),
96\fB\%curses\fP(3X),
97\fB\%terminfo\fP(5)