Linux "tic" Command Line Options and Examples
the terminfo entry-description compiler

The tic command translates a terminfo file from source format into compiled format. The compiled format is necessary for use with the library routines in ncurses(3NCURSES). As described in term(5), the database may be either a directory tree (one file per terminal entry) or a hashed database (one record per entry).


tic [-01CDGIKLNTUVWacfgqrstx] [-e names] [-o dir] [-Q[n]] [-R subset] [-v[n]] [-w[n]] file

Command Line Options:

restricts the output to a single line
tic -0 ...
restricts the output to a single column
tic -1 ...
tells tic to only check file for errors, including syntax problems and bad use links. If you specify
tic -c ...
Limit writes and translations to the following comma-separated list of terminals. If any name or aliasof a terminal matches one of the names in the list, the entry will be written or translated as normal.Otherwise no output will be generated for it. The option value is interpreted as a file containing thelist if it contains a '/'. (Note: depending on how tic was compiled, this option may require -I or
tic -e ...
Display complex terminfo strings which contain if/then/else/endif expressions indented for readability.
tic -f ...
Display constant literals in decimal form rather than their character equivalents.
tic -G ...
Display constant character literals in quoted form rather than their decimal equivalents.
tic -g ...
Force source translation to terminfo format.
tic -I ...
Suppress some longstanding ncurses extensions to termcap format, e.g., "\s" for space.
tic -K ...
Force source translation to terminfo format using the long C variable names listed in <term.h>
tic -L ...
Write compiled entries to given database location. Overrides the TERMINFO environment variable.
tic -odir ...
Suppress comments and blank lines when showing translated source.
tic -q ...
Restrict output to a given subset. This option is for use with archaic versions of terminfo like thoseon SVr1, Ultrix, or HP/UX that do not support the full set of SVR4/XSI Curses terminfo; and outrightbroken ports like AIX 3.x that have their own extensions incompatible with SVr4/XSI. Available subsetsare "SVr1", "Ultrix", "HP", "BSD" and "AIX"; see terminfo(5) for details.
tic -Rsubset ...
reports the version of ncurses which was used in this program, and exits.
tic -V ...
specifies the width of the output. The parameter is optional. If it is omitted, it defaults to 60.
tic -wn ...