Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

infocmp(1) [netbsd man page]

INFOCMP(1)						    BSD 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. -A database Use this database to load the first terminal definition. -B database Use this database to load subsequent terminal definitions. -a Include commented out capabilities. This only works if the database was compiled with the -a flag passed to tic(1). This also sets the -x flag as infocmp retains 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 -a flag. -w cols Limit the width to cols. -x Include non-standard capabilities. More -x only handles non-standard capabilities. This only works if the database was compiled with the -x flag passed to tic(1). ENVIRONMENT
COLUMNS Override columns returned by the output terminal. -w cols supersedes this. TERM infocmp uses the contents of the TERM environment variable if no terminal name is given on the command line. EXIT STATUS
The infocmp utility exits 0 on success, and >0 if an error occurs. SEE ALSO
tic(1), terminfo(5) 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> BSD
February 5, 2010 BSD

Check Out this Related Man Page

toe(1)							      General Commands Manual							    toe(1)

NAME
toe - table of (terminfo) entries SYNOPSIS
toe [-v[n]] [-ahuUV] file... DESCRIPTION
With no options, toe lists all available terminal types by primary name with descriptions. File arguments specify the directories to be scanned; if no such arguments are given, your default terminfo directory is scanned. If you also specify the -h option, a directory header will be issued as each directory is entered. There are other options intended for use by terminfo file maintainers: -a report on all of the terminal databases which ncurses would search, rather than only the first one that it finds. -u file says to write a report to the standard output, listing dependencies in the given terminfo/termcap source file. The report condenses the `use' relation: each line consists of the primary name of a terminal that has use capabilities, followed by a colon, followed by the whitespace-separated primary names of all terminals which occur in those use capabilities, followed by a newline -U file says to write a report to the standard output, listing reverse dependencies in the given terminfo/termcap source file. The report reverses the `use' relation: each line consists of the primary name of a terminal that occurs in use capabilities, followed by a colon, followed by the whitespace-separated primary names of all terminals which depend on it, followed by a newline. -vn specifies that (verbose) output be written to standard error, showing toe's progress. The optional parameter n is a number from 1 to 10, interpreted as for tic(1). -V reports the version of ncurses which was used in this program, and exits. FILES
/usr/share/terminfo/?/* Compiled terminal description database. SEE ALSO
tic(1), infocmp(1), captoinfo(1), infotocap(1), ncurses(3NCURSES), terminfo(5). This describes ncurses version 5.9 (patch 20110404). toe(1)
Man Page