1 .\" $NetBSD: infocmp.1,v 1.7 2014/03/18 18:20:45 riastradh Exp $
3 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd compare or print compiled terminfo descriptions
46 reconstructs the first available
50 and prints the result in a
53 Capability types are grouped together and new types start new lines,
54 first flags, then numbers, then strings.
55 Capabilities are sorted by their name.
58 is given then the capabilities are compared against each other.
60 The following options are available:
63 Print one capability per line.
65 Use this database to load the first terminal definition.
67 Use this database to load subsequent terminal definitions.
69 Include commented out capabilities.
70 This only works if the database was compiled with the
78 retains commented out capabilities as non standard.
80 Print capabilities common to each definition.
82 Print capabilities that do not exist in either definition.
84 Make the comparison listing shorter by omitting subheadings and using
85 - for absent capabilities, @ for canceled capabilities rather than
88 Build a new terminal description for the first terminal description,
89 using subsequent terminal descriptions.
97 Include non-standard capabilities.
100 only handles non-standard capabilities.
101 This only works if the database was compiled with the
109 Override columns returned by the output terminal.
115 uses the contents of the
117 environment variable if no terminal name is given on the command line.
127 utility outputs information that conforms to the
131 .An Roy Marples Aq Mt roy@NetBSD.org