[Thread Prev][Thread Next][Index]

Re: your mail



Hi,
We run FERRET on Solaris 2.5 here, and have not faced any trouble with
Korn shell and BASH; none of the FERRET users here uses the C shell.
Other then modifying the file ferret_paths, no other changes were made
(none that I can recollect).  Here is the file ferret_paths, of which we
keep 3 copies, one for each shell, allowing each user to use what he
requires.
Note that Faddpath is hashed out for Korn shell and BASH.

#!/bin/csh
#
# Modify this to suit your system and place the result as file `ferret_paths'
# in another directory set up to hold login initialization scripts.

setenv FER_DIR /opt/ferret
setenv FER_DSETS /opt/ferret/fer_dsets
setenv DATA2 /user2/datasets
setenv DATA6 /user6/datasets
setenv FER_GO    	". $HOME/ferret $FER_DIR/go $DATA2/go $DATA6/go $FER_DIR/examples $FER_DIR/contrib"
setenv FER_DATA  	". $HOME/ferret $FER_DSETS/data $FER_DIR/go $DATA2/data $DATA6/data $FER_DIR/examples $FER_DIR/contrib"
setenv FER_DESCR 	". $HOME/ferret $FER_DSETS/descr $DATA2/descr $DATA6/descr"
setenv FER_GRIDS 	". $HOME/ferret $FER_DSETS/grids $DATA2/grids $DATA6/grids"
setenv TMAP      	  "$FER_DIR/fmt"
setenv PLOTFONTS 	  "$FER_DIR/ppl/fonts"
setenv SPECTRA   	  "$FER_DIR/ppl"         # for old ferret versions
setenv FER_PALETTE 	  ". $HOME/ferret $FER_DIR/ppl"       # palette search list

# Faddpath tool to add another path to the search lists quickly
#     usage: Faddpath new_path
alias Faddpath 'if \!$ != Faddpath setenv FER_GO "$FER_GO \!$"; if \!$ != Faddpath setenv FER_DATA "$FER_DATA \!$"; if \!$ != Faddpath setenv FER_DESCR "$FER_DESCR \!$"; if \!$ != Faddpath setenv FER_GRIDS "$FER_GRIDS \!$"'


#!/bin/ksh
#
# Modify this to suit your system and place the result as file `ferret_paths'
# in another directory set up to hold login initialization scripts.

export FER_DIR=/opt/ferret
export FER_DSETS=/opt/ferret/fer_dsets

DATA2=/user2/datasets
DATA6=/user6/datasets
export FER_GO=". $HOME/ferret $FER_DIR/go $DATA2/go $DATA6/go $FER_DIR/examples $FER_DIR/contrib"
export FER_DATA=". $HOME/ferret $FER_DSETS/data $FER_DIR/go $DATA2/data $DATA6/data $FER_DIR/examples $FER_DIR/contrib"
export FER_DESCR=". $HOME/ferret $FER_DSETS/descr $DATA2/descr $DATA6/descr"
export FER_GRIDS=". $HOME/ferret $FER_DSETS/grids $DATA2/grids $DATA6/grids"

export TMAP="$FER_DIR/fmt"
export PLOTFONTS="$FER_DIR/ppl/fonts"
export SPECTRA="$FER_DIR/ppl"         # for old ferret versions
export FER_PALETTE=". $HOME/ferret $FER_DIR/ppl"       # palette search list

# Faddpath tool to add another path to the search lists quickly
#     usage: Faddpath new_path
#alias Faddpath='if \!$ != Faddpath export FER_GO="$FER_GO \!$"; if \!$ != Faddpath export FER_DATA="$FER_DATA \!$"; if \!$ != Faddpath export FER_DESCR="$FER_DESCR \!$"; if \!$ != Faddpath export FER_GRIDS="$FER_GRIDS \!$"'


#!/bin/bash
#
# Modify this to suit your system and place the result as file `ferret_paths'
# in another directory set up to hold login initialization scripts.

export FER_DIR=/opt/ferret
export FER_DSETS=/opt/ferret/fer_dsets

DATA2=/user2/datasets
DATA6=/user6/datasets
export FER_GO=". $HOME/ferret $FER_DIR/go $DATA2/go $DATA6/go $FER_DIR/examples $FER_DIR/contrib"
export FER_DATA=". $HOME/ferret $FER_DSETS/data $FER_DIR/go $DATA2/data $DATA6/data $FER_DIR/examples $FER_DIR/contrib"
export FER_DESCR=". $HOME/ferret $FER_DSETS/descr $DATA2/descr $DATA6/descr"
export FER_GRIDS=". $HOME/ferret $FER_DSETS/grids $DATA2/grids $DATA6/grids"

export TMAP="$FER_DIR/fmt"
export PLOTFONTS="$FER_DIR/ppl/fonts"
export SPECTRA="$FER_DIR/ppl"         # for old ferret versions
export FER_PALETTE=". $HOME/ferret $FER_DIR/ppl"       # palette search list

# Faddpath tool to add another path to the search lists quickly
#     usage: Faddpath new_path
#alias Faddpath='if \!$ != Faddpath export FER_GO="$FER_GO \!$"; if \!$ != Faddpath export FER_DATA="$FER_DATA \!$"; if \!$ != Faddpath export FER_DESCR="$FER_DESCR \!$"; if \!$ != Faddpath export FER_GRIDS="$FER_GRIDS \!$"'


D. Shankar                             Ph.:   (91)(832) 226253-56 ext 224/400
Physical Oceanography Division,        Fax:   (91)(832) 223340/221360
National Institute of Oceanography,    email: shankar@darya.nio.org
Dona Paula, Goa 403 004, India.

On Wed, 14 Jan 1998, Elizabeth Dobbins wrote:

> Hi;
> 
> I am about to attempt to install ferret on a system where all the users
> are using Korn shell.  The previous system manager had tried it before,
> but said ferret is dependent on C shell, and trying to adapt it screwed
> the whole computer up (like crashed it).  She wasn't able to give me any
> more information than that.  I'm a C shell user myself, and can't imagine
> what she could be talking about. 
> 
> Anyone out there using ferret with Korn shell, and if so, did it require
> any major system modifications?
> 
> Thanks,
> Liz
> 
> *********************
> Elizabeth L. Dobbins
> Research Scientist
> JISAO/PMEL
> phone: (206) 526-4581
> 
> "Keeping your eyelids closed, turn your face towards the sun
>  or lamp, and move your head slowly from side to side, up and
>  down, in diagonals, in circles.  Feel the light warming your
>  eyes, loosening your muscles.  Breathe."
>       -- Computer User's Survival Guide
> 
> 



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement