mftic produces, and
mfinfocmp lists, compiled format terminfo files for a terminfo database. Unless an option is specified to override it, by default,
the directory containing the database is located using the following search sequences:
For mftic:
If parameter -m (which is the default) is used, the sequence is as follows:
- The COBTERMINFO environment variable specifies the directory in which to locate the file.
- The TERMINFO environment variable specifies the directory in which to locate the file.
- The path
$COBDIR/terminfo specifies the directory in which to locate the file.
If parameter -S is used, the sequence is as follows:
- The TERMINFO environment variable specifies the directory in which to locate the file.
- The path to your default system terminfo directory specifies the directory in which to locate the file.
For mfinfocmp:
If parameter -m (which is the default) is used, the sequence is as follows:
- The COBTERMINFO environment variable specifies the directory in which to locate the file.
- The path
$COBDIR/terminfo specifies the directory in which to locate the file.
- The TERMINFO environment variable specifies the directory in which to locate the file.
- The path to your default system terminfo directory specifies the directory in which to locate the file.
If parameter -S is used, the sequence is as follows:
- The TERMINFO environment variable specifies the directory in which to locate the file.
- The path to your default system terminfo directory specifies the directory in which to locate the file.
See
Terminfo Compiler (mftic) and
Terminfo Lister (mfinfocmp) for more details on the available parameters.
Note: If
Micro Focus format terminfo files (i.e. the -m parameter) are placed in a database located in a directory other than
$COBDIR/terminfo, then at COBOL application run time you must use the COBTERMINFO environment variable (rather than the TERMINFO environment
variable) to locate this directory. If you do not do this, either COBOL or non-COBOL applications can fail to run correctly.