Hi Denise,
a script named "pf" to source paths for pyferret and use it as below
sjo@INCOIS:~$ cat ~/.sjo_shells/pf
export FER_LIB='/home/sjo/pkgs/PyFerret/lib'
source /home/sjo/pkgs/PyFerret/ferret_paths
pyferret -nojnl
for normal ferret,
I have a script with all ferret paths in it which will run by typing f.
This way the paths are set when the call is made to ferret.
sjo@SJO-DTP../sjo~$ cat ~/.sjo_shells/f
#! /bin/bash
# ferret_paths_template for those running the bash shell
#
# You may want to customize the pathname of the `ferret' directory:
export FER_DIR="/home/sjo/pkgs/ferret"
# export FER_DSETS=my_big_data_disk/fer_dsets
# This directory will contain FERRET demonstration data files (30+ Mbytes)
export FER_DSETS="/home/sjo/pkgs/fer_dsets"
export PATH="$PATH:$FER_DIR/bin"
# Default Ferret document browser
export FER_WEB_BROWSER="netscape -ncols 60"
export frp="/home/sjo/pkgs/Fer_jnls"
export FER_EXTERNAL_FUNCTIONS="$FER_DIR/ext_func/libs"
export CWD="/home/sjo/pkgs"
export FER_GO=". $FER_DIR/go $FER_DIR/examples $FER_DIR/contrib $CWD/Fer_jnls $CWD/Fer_jnls/view_jnls $CWD/Fer_jnls/FArgo_01"
export FER_DATA=". $FER_DSETS/data $FER_DIR/go $FER_DIR/examples $FER_DIR/contrib /data/ncep"
export FER_DESCR=". $FER_DSETS/descr"
export FER_GRIDS=". $FER_DSETS/grids"
export TMAP="$FER_DIR/fmt"
export PLOTFONTS="$FER_DIR/ppl/fonts"
export SPECTRA="$FER_DIR/ppl $frp/sjoppl "
export FER_PALETTE=".$FER_DIR/ppl $frp/sjoppl " # palette search list
/home/sjo/pkgs/ferret/bin/ferret "$@"