Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
| INFOCMP(1) | General Commands Manual | INFOCMP(1) |
NAME
infocmp — compare
or print compiled terminfo descriptions
SYNOPSIS
infocmp |
[-1acnqux] [-A
database] [-B
database] [-w
cols] [term ...] |
DESCRIPTION
The infocmp reconstructs the first
available terminfo(5)
definition found for term and prints the result in a
terminfo(5) format.
Capability types are grouped together and new types start new lines, first
flags, then numbers, then strings. Capabilities are sorted by their name. If
a second term is given then the capabilities are
compared against each other.
The following options are available:
-1- Print one capability per line.
-Adatabase- Use this database to load the first terminal definition.
-Bdatabase- Use this database to load subsequent terminal definitions.
-a- Include commented out capabilities. This only works if the database was
compiled with the
-aflag passed to tic(1). This also sets the-xflag asinfocmpretains commented out capabilities as non standard. -c- Print capabilities common to each definition.
-n- Print capabilities that do not exist in either definition.
-q- Make the comparison listing shorter by omitting subheadings and using -
for absent capabilities, @ for canceled capabilities rather than
NULL. -u- Build a new terminal description for the first terminal description, using
subsequent terminal descriptions. This also sets the
-aflag. -wcols- Limit the width to cols.
-x- Include non-standard capabilities. More
-xonly handles non-standard capabilities. This only works if the database was compiled with the-xflag passed to tic(1).
ENVIRONMENT
EXIT STATUS
The infocmp utility exits 0 on
success, and >0 if an error occurs.
SEE ALSO
STANDARDS
The infocmp utility outputs information
that conforms to the X/Open Curses Issue 4,
Version 2 (“XCURSES4.2”) standard.
AUTHORS
Roy Marples <roy@NetBSD.org>
| February 5, 2010 | Sortix 1.1.0-dev |