This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Output the contents of a terminfo capability file (UNIX)
infocmp [-1CILQ] [-w width] [terminal_name]
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, produces 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.
Strang, John, Linda Mui, and Tim O'Reilly. 1988. termcap & terminfo. Sebastopol, CA: O'Reilly and Associates. ISBN 0937175226.