macOS / binaries /

infocmp

/usr/bin/infocmp
Compare or print out terminfo descriptions

infocmp can be used to compare a binary terminfo entry with other terminfo entries, rewrite a terminfo description to take advantage of the use= terminfo field, or print out a terminfo description from the binary file (term) in a variety of formats.

source: man