# Setting environment variables in UNIX

NaturalFax can run from any user environment, including the superuser environment, if the environment variables NFXTEXTFONT and NFXHEADERFONT are properly configured for that user. If these environment variables were not set up during the NaturalFax installation, make sure they are added to the appropriate user environment.

Complete the following steps to set the NaturalFax environment variables:

Step | Action
1 | Open a terminal window.
2 | Log on as the designated user for the NaturalFax application. If you will be running the NaturalFax application from the root user environment, log in as root at your shell's command prompt by entering: su -
3 | Enter the password when prompted.
4 | With your text editor, open the shell script file executed by the user's logon shell as part of the logon sequence and add the following environment variables:
For this shell... | Edit this file... | Create this environment variable...
Bourne or Korn | /.profile | Create the environment variable NFXTEXTFONT to specify the text font file. For example: NFXTEXTFONT=/opt/nms/nfx/text.fnt export NFXTEXTFONT Create the environment variable NFSHEADERFONT to specify the header font file. For example: NFXHEADERFONT=/opt/nms/nfx/header.fnt export NFXHEADERFONT
C | /.login | Create the environment variable NFXTEXTFONT to specify the text font file. For example: setenv NFXTEXTFONT /opt/nms/nfx/text.fnt Create the environment variable NFXHEADERFONT to specify the header font file. For example: setenv NFXHEADERFONT /opt/nms/nfx/header.fnt
5 | Save the modified shell script file and exit the text editor.
6 | For changes to the user's environment parameters to take effect in every UNIX window the user is logged onto, log out and then log back in as the designated user.

Refer to Modifying the Natural Access configuration file for information on completing the installation.