https://invisible-island.net/ncurses/man/
infotocap(1m) User commands infotocap(1m)
infotocap - convert a terminfo description into a termcap description
infotocap [tic-option] file ... infotocap -V
infotocap translates terminal descriptions. It looks in each given text file for terminfo entries and, for each one found, it writes an analogous termcap description to the standard output stream. terminfo "use" capabilities translate to termcap tc capabilities. Because termcap is a less expressive format than terminfo, some capabilities cannot be translated. This utility is implemented as a link to tic(1m), with the latter's -C option implied. You can use other tic options such as -1, -f, -v, -w, and -x. The -V option reports the version of ncurses associated with this program and exits with a successful status.
/usr/share/terminfo compiled terminal description database
None of X/Open Curses, Issue 7 (2009), SVr4, or NetBSD document this application.
Eric S. Raymond <esr@snark.thyrsus.com> and Thomas E. Dickey <dickey@invisible-island.net>
infocmp(1m), tic(1m), curses(3x), terminfo(5) ncurses 6.5 2024-07-27 infotocap(1m)