OS Manuals

/usr/bin/infocmp

console display library

From ncurses 6.6.20261107-r0 (os), captured 2026-11-09 by running infocmp --help (exit 1). permalink

/usr/bin/infocmp: invalid option -- '-'
Usage: infocmp [options] [-A directory] [-B directory] [termname...]
Options:
  -0    print single-row                  -e    format output for C initializer
  -1    print single-column               -f    with -1, format complex strings
  -C    use termcap-names                 -g    format %'char' to %{number}
  -D    print database locations          -i    analyze initialization/reset
  -E    format output as C tables         -l    output terminfo names
  -F    compare terminfo-files            -n    list capabilities in neither
  -G    format %{number} to %'char'       -p    ignore padding specifiers
  -I    use terminfo-names                -Q number  dump compiled description
  -K    use termcap-names and BSD syntax  -q    brief listing, removes headers
  -L    use long names                    -r    with -C, output in termcap form
  -R subset (see man page)                -r    with -F, resolve use-references
  -T    eliminate size limits (test)      -s [d|i|l|c] sort fields
  -U    do not post-process entries       -t    suppress commented-out capabilities
  -V    print version                     -u    produce source with 'use='
  -W    wrap long strings per -w[n]       -v number  (verbose)
  -a    with -F, list commented-out caps  -w number  (width)
  -c    list common capabilities          -x    unknown capabilities are user-defined
  -d    list different capabilities
Options (33)
OptionDescriptionSource
-0causes the fields to be printed on one line, without wrapping.help + man
-1print single-column -f with -1, format complex stringshelp + man
-Cuse termcap-names -g format %'char' to %{number}help + man
-Dtells infocmp to print the database locations that it knows about, and exit.help + man
-EDump 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>).help + man
-Fcompare terminfo-files -n list capabilities in neitherhelp + man
-GDisplay constant literals in decimal form rather than their character equivalents.help + man
-Iuse terminfo-names -Q number dump compiled descriptionhelp + man
-Kuse termcap-names and BSD syntax -q brief listing, removes headershelp
-Luse long names -r with -C, output in termcap formhelp
-R subset-r with -F, resolve use-referenceshelp
-Teliminate size limits (test) -s [d|i|l|c] sort fieldshelp + man
-Utells infocmp to not post-process the data after parsing the source file.help + man
-Vreports the version of ncurses which was used in this program, and exits.help + man
-WBy itself, the -w option will not force long strings to be wrapped.help + man
-atells infocmp to retain commented-out capabilities rather than discarding them.help + man
-clist common capabilities -x unknown capabilities are user-definedhelp + man
-dlists each capability that differs between two entries.help + man
-nlists capabilities that are in none of the given entries. (in the manual page but not in --help)man
-eDump the capabilities of the given terminal as a C initializer for a TERMTYPE structure (the terminal capability structure in the <term.h>). (in the manual page but not in --help)man
-fDisplay complex terminfo strings which contain if/then/else/endif expressions indented for readability. (in the manual page but not in --help)man
-gDisplay constant character literals in quoted form rather than their decimal equivalents. (in the manual page but not in --help)man
-iAnalyze the initialization (is1, is2, is3), and reset (rs1, rs2, rs3), strings in the entry, as well as those used for starting/stopping cursor-positioning mode (smcup, rmcup) as well as… (in the manual page but not in --help)man
-lSet output format to terminfo. (in the manual page but not in --help)man
-pIgnore padding specifications when comparing strings. (in the manual page but not in --help)man
-Q nRather than show source in terminfo (text) format, print the compiled (binary) format in hexadecimal or base64 form, depending on the option's value: (in the manual page but not in --help)man
-qThis makes the output a little shorter: (in the manual page but not in --help)man
-RsubsetRestrict output to a given subset. (in the manual page but not in --help)man
-rsets the subset to all capabilities. (in the manual page but not in --help)man
-ttells tic to discard commented-out capabilities. (in the manual page but not in --help)man
-v nprints out tracing information on standard error as the program runs. (in the manual page but not in --help)man
-w widthchanges the output to width characters. (in the manual page but not in --help)man
-xprint information for user-defined capabilities (see user_caps(5). (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.