DOKK / manpages / debian 12 / ncurses-bin / infotocap.1.en
infotocap(1) General Commands Manual infotocap(1)

infotocap - convert a terminfo description into a termcap description

infotocap [-vn width] [-V] [-1] [-w width] file ...

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.

print out tracing information on standard error as the program runs.
print out the version of the program in use on standard error and exit.
-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.
change the output to width characters.

/etc/terminfo
Compiled terminal description database.

This utility is actually a link to tic, running in -C mode. You can use other tic options such as -f and -x.

None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this application.

infocmp(1), tic(1), ncurses(3NCURSES), terminfo(5)

This describes ncurses version 6.4 (patch 20221231).

Eric S. Raymond <esr@snark.thyrsus.com> and
Thomas E. Dickey <dickey@invisible-island.net>