The
tic utility compiles
terminfo(5) source into a database for use by other programs. The created database path name is the same as the source but with .db appended.
The following options are available:
-a
Do not discard commented out capabilities.
-c
Only check for errors, don't write the final database.
-o file
Write the database to file.db instead of source.db.
-S
For term1, term2, ... output a C structure containing name, compiled description, and compiled size. This can be used to embed terminal descriptons into a program.
-s
Display the number of terminal descritions written to the database.
-x
Include non standard capabilities defined in the source.
Extensions To Terminfo
When tic discovers a use=term capability, the terminal description for term is merged in. Capabilities do not overwrite previously disovered ones and capabilities ending with @ are marked as absent so the terminal does not inherit the capability from used terminals.