DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
terminfo programming

Comparing or printing terminfo descriptions

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 5420
compares the old and new 5420 entries.

To print out the terminfo source for the 5420, type

   infocmp -I 5420

Next topic: Converting a termcap description to a terminfo description
Previous topic: 5. Test the description

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004