You can set up various environment variables to make running any of the Robelle products easier. The four variables that we recommend setting for Qedit are: SHLIB_PATH, ROBELLE, PATH and MANPATH.
The easiest way to add variables accessible to all users is to set the variables in the global exec file for the shell you use.
For the Bourne, Korn and Posix Shells we recommend the following additions to the /etc/profile file.
export ROBELLE=/opt/robelle export PATH=$PATH:$ROBELLE/bin export MANPATH=$MANPATH:$ROBELLE/man
For the C Shell we recommend that you add the following commands after any existing PATH or MANPATH statements in the /etc/csh.login file:
setenv ROBELLE /opt/robelle set path=($path $ROBELLE/bin) setenv MANPATH "$MANPATH":$ROBELLE/man
When you log on to HP-UX, a program is run called the shell. The shell program interprets commands, executes them, and controls command execution. Making configuration changes requires that you know which shell you are using and what files are automatically executed.
The Bourne, Korn and Posix shells execute the file /etc/profile when you log on to HP-UX. They then look for a file in your home directory called .profile. If it exists, it is executed. If you use SAM to add new users, the file /etc/d.profile is automatically copied to the home group of the new user. If you want to make global changes to the commands that are executed at login in time you typically have to make the changes to the /etc/profile file, and check that the /etc/d.profile (the file that becomes the users .profile file), does not counteract any of the changes that you have made to the global file, such as Path, Manpath or Robelle. You also have may have to warn existing Bourne and Korn shell users to change their .profile file in their home directories.