-
+
infocmp 1m
-
+
@@ -364,34 +364,45 @@
3 hexadecimal and base64
+ For example, this prints the compiled terminfo value as a string
+ which could be assigned to the TERMINFO environment variable:
+
+ infocmp -0 -q -Q2
+
-q This makes the output a little shorter:
- o Make the comparison listing shorter by omitting subheadings,
+ o Make the comparison listing shorter by omitting subheadings,
and using "-" for absent capabilities, "@" for canceled rather
than "NULL".
- o However, show differences between absent and cancelled capa-
+ o However, show differences between absent and cancelled capa-
bilities.
o Omit the "Reconstructed from" comment for source listings.
-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
+ 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(5) for details. You can also choose the subset "BSD"
- which selects only capabilities with termcap equivalents recog-
- nized by 4.4BSD.
+ o Available terminfo subsets are "SVr1", "Ultrix", "HP", and
+ "AIX"; see terminfo(5) for details.
+
+ o You can also choose the subset "BSD" which selects only capa-
+ bilities with termcap equivalents recognized by 4.4BSD. The
+ -C option sets the "BSD" subset as a side-effect.
+
+ o If you select any other value for -R, it is the same as no
+ subset, i.e., all capabilities are used. The -I option like-
+ wise selects no subset as a side-effect.
-s[d|i|l|c]
- The -s option sorts the fields within each type according to the
+ The -s option sorts the fields within each type according to the
argument below:
- d leave fields in the order that they are stored in the ter-
+ d leave fields in the order that they are stored in the ter-minfo database.
i sort by terminfo name.
@@ -400,46 +411,46 @@
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
+ 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.
- -T eliminates size-restrictions on the generated text. This is
+ -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 ter-
+ descriptions are limited (e.g., 1023 for termcap, 4096 for ter-
minfo).
- -t tells tic to discard commented-out capabilities. Normally when
- translating from terminfo to termcap, untranslatable capabilities
+ -t tells tic to discard commented-out capabilities. Normally when
+ translating from terminfo to termcap, untranslatable capabilities
are commented-out.
- -U tells infocmp to not post-process the data after parsing the
- source file. This feature helps when comparing the actual con-
- tents of two source files, since it excludes the inferences that
+ -U tells infocmp to not post-process the data after parsing the
+ source file. This feature helps when comparing the actual con-
+ tents of two source files, since it excludes the inferences that
infocmp makes to fill in missing data.
-V reports the version of ncurses which was used in this program, and
exits.
- -vn prints out tracing information on standard error as the program
+ -vn prints out tracing information on standard error as the program
runs.
- The optional parameter n is a number from 1 to 10, inclusive,
+ The optional parameter n is a number from 1 to 10, inclusive,
indicating the desired level of detail of information. If ncurses
- is built without tracing support, the optional parameter is
+ is built without tracing support, the optional parameter is
ignored.
- -W By itself, the -w option will not force long strings to be
+ -W By itself, the -w option will not force long strings to be
wrapped. Use the -W option to do this.
-wwidth
changes the output to width characters.
- -x print information for user-defined capabilities. These are exten-
- sions to the terminfo repertoire which can be loaded using the -x
- option of tic.
+ -x print information for user-defined capabilities (see user_caps(5).
+ These are extensions to the terminfo repertoire which can be
+ loaded using the -x option of tic.
- The -0, -1, -E, -F, -G, -Q, -R, -T, -V, -a, -e, -f, -g, -i, -l, -p, -q
+ The -0, -1, -E, -F, -G, -Q, -R, -T, -V, -a, -e, -f, -g, -i, -l, -p, -q
and -t options are not supported in SVr4 curses.
SVr4 infocmp does not distinguish between absent and cancelled capabil-
ities. Also, it shows missing integer capabilities as -1 (the internal
- value used to represent missing integers). This implementation shows
+ value used to represent missing integers). This implementation shows
those as "NULL", for consistency with missing strings.
- The -r option's notion of "termcap" capabilities is System V Release
- 4's. Actual BSD curses versions will have a more restricted set. To
+ The -r option's notion of "termcap" capabilities is System V Release
+ 4's. Actual BSD curses versions will have a more restricted set. To
see only the 4.4BSD set, use -r-RBSD.
@@ -465,12 +476,12 @@