How FOCUS Interacts With UNIX

In this section:

This section describes how FOCUS interacts with a UNIX environment.

Accessing FOCUS

In order to execute a UNIX command, you must either specify the full path name or add the appropriate directory to your UNIX PATH variable before you issue the command.

FOCUS is installed in several subdirectories of a parent directory. The various FOCUS shell scripts reside in the tools subdirectory. This subdirectory is the one you should specify in the full path name or in your UNIX PATH variable.

The following example shows how to add the foc/bin subdirectory to your PATH, assuming that FOCUS resides in /usr/ibi:

PATH=$PATH:/usr/ibi/srv77/foc/bin 
export PATH

UNIX Directory Permissions

FOCUS respects UNIX file permissions for reading and writing files. In carrying out requests, FOCUS relies on a number of temporary work files. In order to create and use these work files, write permission for the directory from which FOCUS was started is required.

Terminal Support

FOCUS uses the information in the UNIX terminfo files to determine how to interact with full-screen devices. In order for FOCUS to interact correctly with your hardware, the name of the corresponding terminfo file must be assigned to the the UNIX variable TERM and the variable must be exported before you start FOCUS. An incorrect TERM value or an inaccurate terminfo file may lead to problems with your screen display or keyboard. If you encounter problems, see FOCUS in the UNIX Environment, for information on how to specify device attributes.

The FOCUS Operating Environment

There are several ways in which you can define the operating environment for FOCUS. You can:

For more information, see Defining the FOCUS Operating Environment.

Required Software

FOCUS can run on 32-bit or 64-bit machines. However, it requires 32-bit software.

In addition, the c runtime libraries must be available.


Information Builders