tic — Put terminal entries in the terminfo database

Format

tic [–v]number [–c] file

Description

tic creates the terminfo database. It puts the compiled terminal entries in the directory /usr/share/lib/terminfo. If the TERMINFO environment variable is set, the results are placed in the directory specified by the TERMINFO environment variable rather than in the directory /usr/share/lib/terminfo.

The Curses application uses the terminfo database, which contains a list of terminal descriptions. This enables you to manipulate a terminal's display regardless of the terminal type. For information about defining the terminfo database, see the section on customizing the terminfo database inz/OS UNIX System Services Planning.

For more information about curses, see z/OS C Curses.

Options

–vNumber
Writes trace entries on the progress of tic. Number is an integer that indicates the level of verbosity. Levels 1, 2, 5, 7, 8, and 9 or greater are supported.
–c
Specifies that the input terminal specifications are to be checked for correctness, but the terminfo database is not to be updated. If an incorrect terminal specification is encountered, a message identifying the error is written to stdout. The checking continues until all of the input terminal specifications have been processed.
file_name
Specifies the name of a file containing the terminal specifications. Only a single file name can be specified. The files supported by z/OS Curses are identical to the specifications with the exception that the source code must be EBCDIC rather than ASCII.

If the files are copied from an MVS™ data set into the z/OS® UNIX file system, the MVS data set must be in record format VB. If a file name is not specified, terminal specifications are read from the terminfo.src file. (The terminfo.src file is in the directory /samples.)

The .ti files are located in the /samples directory.

Examples

A sample command is:
tic /samples/ibm.ti

There is no output to the shell.

Environment variables

tic uses the following environment variable:
TERMINFO
Contains the path name of the terminfo database.

Related information

infocmp