infotocap
converts terminal descriptions from terminfo format to termcap format
TLDR
Convert terminfo to termcap
$ infotocap [terminfo_file]
Convert specific entry$ infotocap -1 [term_name]
Output to file$ infotocap [input] > [output.cap]
Verbose mode$ infotocap -v [terminfo]
SYNOPSIS
infotocap [options] file...
DESCRIPTION
infotocap converts terminal descriptions from terminfo format to termcap format. It is implemented as a link to tic(1) with the -C option implied. It is the reverse of captoinfo.The tool enables compatibility with older applications requiring termcap format. Since it invokes tic internally, other tic options such as -1, -f, -v, -w, and -x can also be used.
PARAMETERS
FILE
Terminfo source file to convert.-1
One entry per line.-v
Verbose output.-V
Display version.-w N
Set output width.
CAVEATS
Some terminfo capabilities have no termcap equivalents and cannot be converted. Part of ncurses. Output may need manual adjustment for complex terminal descriptions.
HISTORY
infotocap is part of ncurses, providing conversion between terminal description formats.
