This script
is used to configure a user's account for the Khoros 2
software
system. This involves the following steps:
1. Creating a personal Khoros Toolbox file in $HOME/.Toolboxes
2. Set up the Khoros environment variables in the appropriate
dotfile for your user shell so you can execute Khoros
binaries.
(If you
experience any problems with this script, please report
them to
khoros-bugs@khoral.com)
Do you wish to continue? (y/n) [y]: [return]
Location of Khoros 2 Software
Please enter the full path to the toplevel of Khoros
2
[/usr3/khoros2200]: [return]
Toolbox File
Ok, next
you need to have a toolbox file. This contains
a list
of the toolboxes you want to use.
Your personal
toolbox file will be called .Toolboxes, and
will live
in your home directory. You refer to the system
distribution
toolboxes by adding a
#include /usr3/khoros2200/Toolboxes
to the
$HOME/.Toolboxes file. If $HOME/.Toolboxes file does
not exist
one will be created for you. There should be no
duplicate
entries in the toolbox files.
[Press <Return> to continue] [return]
We want to check your $HOME/.Toolboxes for entries
contained in the
Khoros 2 Toolboxes file. We recommend that
they be deleted since
the ones in your $HOME/.Toolboxes will override the
ones in the
Khoros 2 Toolboxes file. This is most likely
not what you want to
do, but then again maybe it is.
Do you want to delete these entries? (y/n) [y]: [return]
Checking for:
BOOTSTRAP
DATASERV
DESIGN
DATAMANIP
ENVISION
GEOMETRY
IMAGE
MATRIX
MIGRATION
SUPPORT
RETRO
done.
Your Khoros Toolbox file has been updated for Khoros 2
[Press <Return> to continue] [return]
Determining Location of Khoros Binaries
bootstrap binaries located in /usr3/khoros2200/bin
dataserv binaries located in /usr3/khoros2200/bin
design binaries located in /usr3/khoros2200/bin
datamanip binaries located in /usr3/khoros2200/bin
envision binaries located in /usr3/khoros2200/bin
geometry binaries located in /usr3/khoros2200/bin
image binaries located in /usr3/khoros2200/bin
matrix binaries located in /usr3/khoros2200/bin
migration binaries located in /usr3/khoros2200/bin
support binaries located in /usr3/khoros2200/bin
retro binaries located in /usr3/khoros2200/bin
[Press <Return> to continue] [return]
Setting up Khoros 2 Environment Variables
You need to ensure certain environment variables are
set every
time you log in.
Since you have a csh variant shell, in this step we will give you a,
/home/ttttt/.khoros_env
file, which can be source'd from a specific dotfile.
We will set up the
.khoros_env to reflect your local configuration.
[Press <Return> to continue] [return]
# ------------------------------------------------------------
# This file should be sourced (source
.khoros_env) or included
# in your .login or .cshrc.
# ------------------------------------------------------------
#
# This file contains default values for environment
# variables used by KHOROS.
#
#
if ( ! $?USER ) then
if ( ! $?LOGNAME ) then
if ( ! $?user ) then
setenv USER $user
else
setenv USER nobody
endif
else
setenv USER $LOGNAME
endif
endif
--More--(36%) [space]
set path = ($path /usr3/khoros2200/bin)
if ( ! $?KHOROS_LOG ) then
setenv KHOROS_LOG
$HOME/khoros.cmdlog
endif
if ( ! $?KHOROS_MAIL ) then
setenv KHOROS_MAIL
$USER
endif
if ( ! $?KHOROS_NAME ) then
setenv KHOROS_NAME
$USER
endif
if ( ! $?KHOROS_NOTIFY ) then
setenv KHOROS_NOTIFY
KSTANDARD
endif
if ( ! $?KHOROS_ANSFILE ) then
setenv KHOROS_ANSFILE
$HOME/khoros.ans
endif
if ( ! $?TMPDIR ) then
setenv TMPDIR
/tmp
endif
#
--More--(69%) [space]
# Uncomment this if you would like data
objects to accumulate
# history when operated on by datamanip
operators.
#
#if ( ! $?KHOROS_HISTORY ) then
# setenv KHOROS_HISTORY
#endif
# Set platform-specific run-time library environment
variables for Khoros
# if ( $?LD_LIBRARY_PATH ) then
# setenv LD_LIBRARY_PATH /usr3/khoros2200/lib:${LD_LIBRARY_PATH}
# else
# setenv LD_LIBRARY_PATH /usr3/khoros2200/lib
# endif
[Press <Return> to continue] [return]
Do you want me to add the line source $HOME/.khoros_env
to the
bottom of your .cshrc? (y/n) [y]: [return]
[Press <Return> to continue] [return]
Now you should source the .khoros_env to have the
your environment
setup for you to use Khoros 2 routines. At
your prompt type:
source /home/ttttt/.khoros_env
adria>