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's the reverse of captoinfo.
The tool enables compatibility with older applications requiring termcap. Some capabilities may not translate directly.
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 features lack termcap equivalents. Part of ncurses. Output may need manual adjustment.
HISTORY
infotocap is part of ncurses, providing conversion between terminal description formats.
