OS Manuals

/usr/bin/infotocap

console display library

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

/usr/bin/infotocap: invalid option -- '-'
Usage: infotocap [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCDcfGgIKLNrsTtUx] source-file

Options:
  -0         format translation output all capabilities on one line
  -1         format translation output one capability per line
  -a         retain commented-out capabilities (sets -x also)
  -C         translate entries to termcap source form
  -D         print list of tic's database locations (first must be writable)
  -c         check only, validate input without compiling or translating
  -e<names>  translate/compile only entries named by comma-separated list
  -f         format complex strings for readability
  -G         format %{number} to %'char'
  -g         format %'char' to %{number}
  -I         translate entries to terminfo source form
  -K         translate entries to termcap source form with BSD syntax
  -L         translate entries to full terminfo source form
  -N         disable smart defaults for source translation
  -o<dir>    set output directory for compiled entry writes
  -Q[n]      dump compiled description
  -q    brief listing, removes headers
  -R<name>   restrict translation to given terminfo/termcap version
  -r         force resolution of all use entries in source translation
  -s         print summary statistics
  -T         remove size-restrictions on compiled description
  -t         suppress commented-out capabilities
  -U         suppress post-processing of entries
  -V         print version
  -W         wrap long strings according to -w[n] option
  -v[n]      set verbosity level
  -w[n]      set format width for translation output
  -x         treat unknown capabilities as user-defined

Parameters:
  <file>     file to translate or compile
Options (28)
OptionDescriptionSource
-0format translation output all capabilities on one linehelp
-1format translation output one capability per linehelp
-aretain commented-out capabilities (sets -x also)help
-Ctranslate entries to termcap source formhelp
-Dprint list of tic's database locations (first must be writable)help
-ccheck only, validate input without compiling or translatinghelp
-e namestranslate/compile only entries named by comma-separated listhelp
-fformat complex strings for readabilityhelp
-Gformat %{number} to %'char'help
-gformat %'char' to %{number}help
-Itranslate entries to terminfo source formhelp
-Ktranslate entries to termcap source form with BSD syntaxhelp
-Ltranslate entries to full terminfo source formhelp
-Ndisable smart defaults for source translationhelp
-o dirset output directory for compiled entry writeshelp
-Q ndump compiled descriptionhelp
-qbrief listing, removes headershelp
-R namerestrict translation to given terminfo/termcap versionhelp
-rforce resolution of all use entries in source translationhelp
-sprint summary statisticshelp
-Tremove size-restrictions on compiled descriptionhelp
-tsuppress commented-out capabilitieshelp
-Usuppress post-processing of entrieshelp
-Vprint versionhelp
-Wwrap long strings according to -w[n] optionhelp
-v nset verbosity levelhelp
-w nset format width for translation outputhelp
-xtreat unknown capabilities as user-definedhelp

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