Client: Post-Installation for UNIX
Chapter
39
4
Client: UNIX Installation
•
JAVA_HOME
and
CLASSPATH
— These path names are specific to Java
files and event handlers and need to be set to the location where your Java
classes sit. Additionally, you can change the defaults for
SMJAVAEDITOR
and
SMJAVAFACTORY
and
SMJAVALIBRARY
. For more information refer
to the online Developer’s Guide.
•
SMTERM
— Specifies the type/model console the client is using. For
Motif, set
SMTERM
to X.
If you are running a character mode terminal with Prolifics, then you need
to have appropriate video and key files, which instruct Prolifics on how to
drive your terminal. Prolifics provides files to support several popular
terminal types, which are in turn often emulated by other brands of
terminals. Refer to the Configuration Guide for details on video files.
Then examine the file
$SMBASE/config/smvars
. There you should find
a setting of
SMTERM
which meets your needs.
•
LM_LICENSE_FILE
— Full pathname of the license file (default location
is
$SMBASE/licenses/license.dat
).
•
LD_LIBRARY_PATH
— Identifies directories to search when looking for
shared libraries. On HPUX, use
SHLIB_PATH
in place of
LD_LI-
BRARY_PATH
. On AIX, use
LIBPATH
.
LD_LIBRARY_PATH
should include
the path to the Motif shared library directory, and the path to the Prolifics
lib
directory to find shared libraries.
•
XNLSPATH
— Some implementations of Motif require you to set the
XNLSPATH
application variable before Prolifics can be successfully used.
Check the documentation for your implementation of Motif to see if this
is the case for you.
3.
You can set
SMFLIBS
in
setup.sh
to point to shared Prolifics application
libraries in the application directory and have them open automatically.
4.
To use online documentation, set and export
EBTRC
. The variable should point
to the
.ebtrc
file, distributed in the Prolifics
config
directory if the
.ebtrc
file is not copied to the user’s home directory.
5.
To automatically set up the environment, execute the setup shell script directly
from each users logon script (
.profile
or
.cshrc
).
•
Korn or Bourne shell — Append the following line to the
.profile
:
.
applicationDir
/setup.sh
•
C-shell — Append the following line to the
.cshrc
:
source
applicationDir
/setup.csh