xref: /freebsd/contrib/ncurses/man/infotocap.1m (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
t
***************************************************************************
Copyright 2018-2019,2020 Thomas E. Dickey *
Copyright 1999-2010,2016 Free Software Foundation, Inc. *
*
Permission is hereby granted, free of charge, to any person obtaining a *
copy of this software and associated documentation files (the *
"Software"), to deal in the Software without restriction, including *
without limitation the rights to use, copy, modify, merge, publish, *
distribute, distribute with modifications, sublicense, and/or sell *
copies of the Software, and to permit persons to whom the Software is *
furnished to do so, subject to the following conditions: *
*
The above copyright notice and this permission notice shall be included *
in all copies or substantial portions of the Software. *
*
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
*
Except as contained in this notice, the name(s) of the above copyright *
holders shall not be used in advertising or otherwise to promote the *
sale, use or other dealings in this Software without prior written *
authorization. *
***************************************************************************

$Id: infotocap.1m,v 1.17 2020/12/19 21:49:52 tom Exp $
@INFOTOCAP@ 1M ""
NAME
@INFOTOCAP@ - convert a terminfo description into a termcap description
SYNOPSIS
@INFOTOCAP@ [-vn width] [-V] [-1] [-w width] file ...
DESCRIPTION
@INFOTOCAP@ looks in each given text file for terminfo descriptions. For each terminfo description found, an equivalent termcap description is written to standard output. Terminfo use capabilities are translated directly to termcap tc capabilities.

5 -v print out tracing information on standard error as the program runs.

5 -V print out the version of the program in use on standard error and exit.

5 -1 cause the fields to print out one to a line. Otherwise, the fields will be printed several to a line to a maximum width of 60 characters.

5 -w change the output to width characters.

FILES

20 \*d Compiled terminal description database.

NOTES
This utility is actually a link to @TIC@, running in -C mode. You can use other @TIC@ options such as -f and -x.
PORTABILITY
None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this application.
SEE ALSO
@INFOCMP@(1M), @TIC@(1M), curses(3X), terminfo(\*n)

This describes ncurses version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).

AUTHOR
Eric S. Raymond <esr@snark.thyrsus.com> and

Thomas E. Dickey <dickey@invisible-island.net>