Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tic(1) [netbsd man page]

TIC(1)							    BSD General Commands Manual 						    TIC(1)

NAME
tic -- terminfo compiler SYNOPSIS
tic [-acSsx] [-o file] source [term1 term2 ...] DESCRIPTION
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 .cdb 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 instead of source.cdb. -S For term1, term2, ... output a C structure containing name, compiled description, and compiled size. This can be used to embed terminal descriptions into a program. -s Display the number of terminal descriptions 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. EXIT STATUS
The tic utility exits 0 on success, and >0 if an error occurs. EXAMPLES
To maintain your private terminfo definitions, if the system supplied ones do not support your terminal: tic ~/.terminfo SEE ALSO
infocmp(1), tput(1), curses(3), terminfo(5) STANDARDS
The tic utility works with terminfo files that conform to the X/Open Curses Issue 4, Version 2 (``XCURSES4.2'') standard. AUTHORS
Roy Marples <roy@NetBSD.org> BSD
June 3, 2012 BSD

Check Out this Related Man Page

INFOCMP(1)						    BSD General Commands Manual 						INFOCMP(1)

NAME
infocmp -- compare or print compiled terminfo descriptions SYNOPSIS
infocmp [-1acnqux] [-A database] [-B database] [-w cols] [term ...] DESCRIPTION
The infocmp reconstructs the first available terminfo(5) definition found for term and prints the result in a terminfo(5) format. Capability types are grouped together and new types start new lines, first flags, then numbers, then strings. Capabilities are sorted by their name. If a second term is given then the capabilities are compared against each other. The following options are available: -1 Print one capability per line. -A database Use this database to load the first terminal definition. -B database Use this database to load subsequent terminal definitions. -a Include commented out capabilities. This only works if the database was compiled with the -a flag passed to tic(1). This also sets the -x flag as infocmp retains commented out capabilities as non standard. -c Print capabilities common to each definition. -n Print capabilities that do not exist in either definition. -q Make the comparison listing shorter by omitting subheadings and using - for absent capabilities, @ for canceled capabilities rather than NULL. -u Build a new terminal description for the first terminal description, using subsequent terminal descriptions. This also sets the -a flag. -w cols Limit the width to cols. -x Include non-standard capabilities. More -x only handles non-standard capabilities. This only works if the database was compiled with the -x flag passed to tic(1). ENVIRONMENT
COLUMNS Override columns returned by the output terminal. -w cols supersedes this. TERM infocmp uses the contents of the TERM environment variable if no terminal name is given on the command line. EXIT STATUS
The infocmp utility exits 0 on success, and >0 if an error occurs. SEE ALSO
tic(1), terminfo(5) STANDARDS
The infocmp utility outputs information that conforms to the X/Open Curses Issue 4, Version 2 (``XCURSES4.2'') standard. AUTHORS
Roy Marples <roy@NetBSD.org> BSD
February 5, 2010 BSD
Man Page