Output the contents of a terminfo capability file (UNIX)
infocmp [-1CILQ] [-w width] [terminal_name]
- -1
-  ("one") Force the output to contain one entry per 
     line. Without this option, output will be printed to a maximum width 
     of 60 characters, each line containing as many entries as can fit 
     on that line.
- -C
-  Generate output in termcap format.
- -I
-  Generate output in terminfo format. This option is the default.
- -L
-  Use the long C variable names listed in /usr/include/term.h
- -Q
-  Use the names that map onto the QNX console capabilities.
- -w width
-  Force the output to the specified number of columns. As many entries as
     will fit on each line will be output.
- terminal_name
-  The name of a terminal capability file to display. If the
     TERMINFO environment variable is not set, the
     file will be read from the /usr/lib/terminfo
     directory in a subdirectory named by the first letter of the terminal
     name. For example, the VT100 terminfo file is stored
     in: /usr/lib/terminfo/v/vt100. If set, the
     TERMINFO environment variable will define a directory
     where the compiled description file is read from. If a 
     terminal_name is not specified, the terminal named
     in the TERM environment variable will be used.
The infocmp utility is used to output the contents of 
a previously compiled terminfo capability file in a number 
of formats. The default format is suitable for editing and recompilation 
with the tic utility. The output is
sorted such that the Boolean capabilities are output first, followed by
the integer capabilities and then the string fields. The infocmp 
utility, executed without any options, will produce the terminfo 
description of the currently defined terminal in a form suitable for 
editing and recompilation with the tic utility.
If no options are specified and zero or one terminal name is specified, 
the -I option is assumed.
tic,
terminfo technical note (available on QUICS)
John Strang, Linda Mui, & Tim O'Reilly, termcap
& terminfo, O'Reilly and Associates, 1988.