@@ -392,18 +392,25 @@
"AIX"; see terminfo(5) for details.
o You can also choose the subset "BSD" which selects only
- capabilities with termcap equivalents recognized by 4.4BSD.
- The -C option sets the "BSD" subset as a side-effect.
+ capabilities with termcap equivalents recognized by 4.4BSD.
+
+ o If you select any other value for -R, it is the same as no
+ subset, i.e., all capabilities are used.
+
+ A few options override the subset selected with -R, if they are
+ processed later in the command parameters:
+
+ -C sets the "BSD" subset as a side-effect.
+
+ -I sets the subset to all capabilities.
- 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
- likewise selects no subset as a side-effect.
+ -r sets the subset to all capabilities.
-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
+ d leave fields in the order that they are stored in the
terminfo database.
i sort by terminfo name.
@@ -412,45 +419,45 @@
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
terminfo).
- -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
+ -U tells infocmp to not post-process the data after parsing the
source file. This feature helps when comparing the actual
- contents of two source files, since it excludes the inferences
+ contents 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 (see user_caps(5).
- These are extensions to the terminfo repertoire which can be
+ These are extensions to the terminfo repertoire which can be
loaded using the -x option of tic.
@@ -459,48 +466,48 @@
- Although System V Release 2 provided a terminfo library, it had no
+ Although System V Release 2 provided a terminfo library, it had no
documented tool for decompiling the terminal descriptions. Tony Hansen
(AT&T) wrote the first infocmp in early 1984, for System V Release 3.
- Eric Raymond used the AT&T documentation in 1995 to provide an
- equivalent infocmp for ncurses. In addition, he added a few new
+ Eric Raymond used the AT&T documentation in 1995 to provide an
+ equivalent infocmp for ncurses. In addition, he added a few new
features such as:
- o the -e option, to support fallback (compiled-in) terminal
+ o the -e option, to support fallback (compiled-in) terminal
descriptions
o the -i option, to help with analysis
- Later, Thomas Dickey added the -x (user-defined capabilities) option,
- and the -E option to support fallback entries with user-defined
+ Later, Thomas Dickey added the -x (user-defined capabilities) option,
+ and the -E option to support fallback entries with user-defined
capabilities.
For a complete list, see the EXTENSIONS section.
- In 2010, Roy Marples provided an infocmp program for NetBSD. It is
- less capable than the SVr4 or ncurses versions (e.g., it lacks the
- sorting options documented in X/Open), but does include the -x option
+ In 2010, Roy Marples provided an infocmp program for NetBSD. It is
+ less capable than the SVr4 or ncurses versions (e.g., it lacks the
+ sorting options documented in X/Open), but does include the -x option
adapted from ncurses.
- X/Open Curses, Issue 7 (2009) provides a description of infocmp. It
+ X/Open Curses, Issue 7 (2009) provides a description of infocmp. It
does not mention the options used for converting to termcap format.
- 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
- capabilities. Also, it shows missing integer capabilities as -1 (the
+ SVr4 infocmp does not distinguish between absent and cancelled
+ capabilities. Also, it shows missing integer capabilities as -1 (the
internal value used to represent missing integers). This
- implementation shows those as "NULL", for consistency with missing
+ 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.
@@ -514,7 +521,7 @@
https://invisible-island.net/ncurses/tctest.html
- This describes ncurses version 6.2 (patch 20211016).
+ This describes ncurses version 6.4 (patch 20230408).