***************************************************************************
Copyright (c) 1998-2000,2002 Free Software Foundation, Inc. *
*
Permission is hereby granted, free of charge, to any person obtaining a *
copy of this software and associated documentation files (the *
"Software"), to deal in the Software without restriction, including *
without limitation the rights to use, copy, modify, merge, publish, *
distribute, distribute with modifications, sublicense, and/or sell *
copies of the Software, and to permit persons to whom the Software is *
furnished to do so, subject to the following conditions: *
*
The above copyright notice and this permission notice shall be included *
in all copies or substantial portions of the Software. *
*
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
*
Except as contained in this notice, the name(s) of the above copyright *
holders shall not be used in advertising or otherwise to promote the *
sale, use or other dealings in this Software without prior written *
authorization. *
***************************************************************************
$Id: infocmp.1m,v 1.29 2002/02/16 22:40:59 tom Exp $
[-w width] [-A directory] [-B directory]
[termname...]
-I/use the terminfo names |
-L/use the long C variable name listed in <term.h> |
-C/use the termcap names |
-r/when using -C, put out all capabilities in termcap form |
terminfo/termcap/Representative Terminals |
%p1%c/%./adm |
%p1%d/%d/hp, ANSI standard, vt100 |
%p1%'x'%+%c/%+x/concept |
%i/%iq/ANSI standard, vt100 |
%p1%?%'x'%>%t%p1%'y'%+%;/%>xy/concept |
%p2 is printed before %p1/%r/hp |
5 d leave fields in the order that they are stored in the terminfo database.
5 i sort by terminfo name.
5 l sort by the long C variable name.
5 c sort by the termcap name. If the -s option is not given, the fields printed out will be sorted alphabetically by the terminfo name within each type, except in the case of the -C or the -L options, which cause the sorting to be done by the termcap name or the long C variable name, respectively.
5 -1 causes the fields to be printed out one to a line. Otherwise, the fields will be printed several to a line to a maximum width of 60 characters.
5 -F compare terminfo files. This assumes that two following arguments are filenames. The files are searched for pairwise matches between entries, with two entries considered to match if any of their names do. The report printed to standard output lists entries with no matches in the other file, and entries with more than one match. For entries with exactly one match it includes a difference report. Normally, to reduce the volume of the report, use references are not resolved before looking for differences, but resolution can be forced by also specifying -r.
-G Display constant literals in decimal form rather than their character equivalents.
-a tells infocmp to retain commented-out capabilities rather than discarding them. Capabilities are commented by prefixing them with a period.
5 -q Make the comparison listing shorter by omitting subheadings, and using "-" for absent capabilities, "@" for canceled rather than "NULL".
5 -Rsubset Restrict output to a given subset. This option is for use with archaic versions of terminfo like those on SVr1, Ultrix, or HP/UX that do not support the full set of SVR4/XSI Curses terminfo; and variants such as AIX that have their own extensions incompatible with SVr4/XSI. Available terminfo subsets are "SVr1", "Ultrix", "HP", and "AIX"; see terminfo(\*n) for details. You can also choose the subset "BSD" which selects only capabilities with termcap equivalents recognized by 4.4BSD.
5 -T eliminates size-restrictions on the generated text. This is mainly useful for testing and analysis, since the compiled descriptions are limited (e.g., 1023 for termcap, 4096 for terminfo).
5 -V reports the version of ncurses which was used in this program, and exits.
5 -e Dump the capabilities of the given terminal as a C initializer for a TERMTYPE structure (the terminal capability structure in the <term.h>). This option is useful for preparing versions of the curses library hardwired for a given terminal type.
5 -E Dump the capabilities of the given terminal as tables, needed in the C initializer for a TERMTYPE structure (the terminal capability structure in the <term.h>). This option is useful for preparing versions of the curses library hardwired for a given terminal type. The tables are all declared static, and are named according to the type and the name of the corresponding terminal entry. Before ncurses 5.0, the split between the -e and -E options was not needed; but support for extended names required making the arrays of terminal capabilities separate from the TERMTYPE structure.
-f Display complex terminfo strings which contain if/then/else/endif expressions indented for readability.
-g Display constant character literals in quoted form rather than their decimal equivalents.
5 -i Analyze the initialization (is1, is2, is3), and reset (rs1, rs2, rs3), strings in the entry. For each string, the code tries to analyze it into actions in terms of the other capabilities in the entry, certain X3.64/ISO 6429/ECMA-48 capabilities, and certain DEC VT-series private modes (the set of recognized special sequences has been selected for completeness over the existing terminfo database). Each report line consists of the capability name, followed by a colon and space, followed by a printable expansion of the capability string with sections matching recognized actions translated into {}-bracketed descriptions. Here is a list of the DEC/ANSI special sequences recognized:
Action/Meaning |
RIS/full reset |
SC/save cursor |
RC/restore cursor |
LL/home-down |
RSR/reset scroll region |
ISO DEC G0/enable DEC graphics for G0 |
ISO UK G0/enable UK chars for G0 |
ISO US G0/enable US chars for G0 |
ISO DEC G1/enable DEC graphics for G1 |
ISO UK G1/enable UK chars for G1 |
ISO US G1/enable US chars for G1 |
DECPAM/application keypad mode |
DECPNM/normal keypad mode |
DECANSI/enter ANSI mode |
DEC[+-]CKM/application cursor keys |
DEC[+-]ANM/set VT52 mode |
DEC[+-]COLM/132-column mode |
DEC[+-]SCLM/smooth scroll |
DEC[+-]SCNM/reverse video mode |
DEC[+-]OM/origin mode |
DEC[+-]AWM/wraparound mode |
DEC[+-]ARM/auto-repeat mode |
5 -p Ignore padding specifications when comparing strings.
5 -v n prints out tracing information on standard error as the program runs. Higher values of n induce greater verbosity.
5 -w width changes the output to width characters.
20 \*d Compiled terminal description database.
# The following sets edit modes for GNU EMACS
# Local Variables:
# mode:nroff
# fill-column:79
# End: