|
|
Sometime you may want to compare two terminal descriptions or quickly look at a description without going to the terminfo source directory. The infocmp(1M) command was designed to help you with both of these tasks. Compare two descriptions of the same terminal; for example,
mkdir /tmp/old /tmp/new TERMINFO=/tmp/old tic old5420.ti TERMINFO=/tmp/new tic new5420.ti infocmp -A /tmp/old -B /tmp/new -d 5420 5420compares the old and new 5420 entries.
To print out the terminfo source for the 5420, type
infocmp -I 5420