|
Hi Brian.
At first, type "echo $SHELL" to see which shell you are using.
In case you use csh,
PROBEwatch provides script "/usr/kits/PROBEwatch/.netscout"
for csh users, so you just insert one line into ~/.cshrc like below.
source /usr/kits/PROBEwatch/.netscout
In case sh(b-shell),
you must make b-shell script like this.
(or insert all lines to .profile)
-
NSHOME=/usr/kits/PROBEwatch
HHHOME=/usr/kits/PROBEwatch/help
XUSERFILESEARCHPATH=$NSHOME/X/%N
XLIBI18N_PATH=$NSHOME/X
MANPATH=$NSHOME/man
export NSHOME HHHOME XUSERFILESEARCHPATH XLIBI18N_PATH MANPATH
-
and you insert one line into $HOME/.profile.
. /usr/kits/PROBEwatch/.netscout_script_for_bsh_that_you_made
Normally, you have already MANPATH environment value
that point to /usr/share/man or /usr/local/man ... and so on.
"setenv MANPATH $NSHOME/man" or "MANPATH=$NSHOME/man" cause that
you can only see mans about PROBEwatch.
So you should change script to inherit MANPATH value,
(csh) setenv MANPATH ${MANPATH}:${NSHOME}/man
or
(bsh) MANPATH=$MANPATH:$NSHOME/man
I heared before that
in some cases, setting XUSERFILESEARCHPATH or XLIBI18N_PATH value
may have side effects to another X Window System applications.
In this case, you should make script to run "nsman".
-
XUSERFILESEARCHPATH=$NSHOME/X/%N
XLIBI18N_PATH=$NSHOME/X
export XUSERFILESEARCHPATH XLIBI18N_PATH
$NSHOME/bin/nsman
-
--
Yoshiharu Enya
|