Annotation of src/usr.bin/tic/infotocap.1, Revision 1.6
1.6 ! nicm 1: '\" t
! 2: .\" $OpenBSD: infotocap.1,v 1.5 2010/01/12 23:22:14 nicm Exp $
1.1 millert 3: .\"***************************************************************************
1.6 ! nicm 4: .\" Copyright 2018-2021,2022 Thomas E. Dickey *
! 5: .\" Copyright 1999-2010,2016 Free Software Foundation, Inc. *
1.1 millert 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: .\"
1.6 ! nicm 32: .\" $Id: infotocap.1,v 1.5 2010/01/12 23:22:14 nicm Exp $
! 33: .TH infotocap 1 2022-02-12 "ncurses 6.4" "User commands"
1.1 millert 34: .ds n 5
1.6 ! nicm 35: .ds d /usr/share/terminfo
1.1 millert 36: .SH NAME
1.6 ! nicm 37: \fBinfotocap\fP \- convert a \fIterminfo\fP description into a \fItermcap\fP description
1.1 millert 38: .SH SYNOPSIS
1.6 ! nicm 39: \fBinfotocap\fR [\fB\-v\fIn\fR \fIwidth\fR] [\fB\-V\fR] [\fB\-1\fR] [\fB\-w\fR \fIwidth\fR] \fIfile\fR ...
1.1 millert 40: .SH DESCRIPTION
1.6 ! nicm 41: \fBinfotocap\fP looks in each given text
! 42: \fIfile\fP for \fBterminfo\fP descriptions.
! 43: For each terminfo description found,
! 44: an equivalent \fBtermcap\fP description is written to standard output.
! 45: Terminfo \fBuse\fP capabilities are translated directly to termcap
! 46: \fBtc\fP capabilities.
1.1 millert 47: .TP 5
1.6 ! nicm 48: \fB\-v\fP
1.1 millert 49: print out tracing information on standard error as the program runs.
50: .TP 5
1.6 ! nicm 51: \fB\-V\fP
1.1 millert 52: print out the version of the program in use on standard error and exit.
53: .TP 5
1.6 ! nicm 54: \fB\-1\fP
! 55: cause the fields to print out one to a line.
! 56: Otherwise, the fields
! 57: will be printed several to a line to a maximum width of 60 characters.
1.1 millert 58: .TP 5
1.6 ! nicm 59: \fB\-w\fP
! 60: change the output to \fIwidth\fP characters.
1.1 millert 61: .SH FILES
62: .TP 20
63: \*d
64: Compiled terminal description database.
65: .SH NOTES
1.6 ! nicm 66: This utility is actually a link to \fBtic\fP, running in \fI\-C\fP mode.
! 67: You can use other \fBtic\fP options such as \fB\-f\fP and \fB\-x\fP.
! 68: .SH PORTABILITY
! 69: None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this application.
1.1 millert 70: .SH SEE ALSO
1.6 ! nicm 71: \fBinfocmp\fP(1),
! 72: \fBtic\fP(1),
! 73: \fBcurses\fP(3),
! 74: \fBterminfo\fP(\*n)
1.5 nicm 75: .PP
1.6 ! nicm 76: This describes \fBncurses\fP
! 77: version 6.4 (patch 20230826).
! 78: .SH AUTHOR
! 79: Eric S. Raymond <esr@snark.thyrsus.com>
! 80: and
! 81: .br
! 82: Thomas E. Dickey <dickey@invisible-island.net>