[Thread Prev][Thread Next][Index]

Re: [ferret_users] Ferret on SUSE 10.0



Hi Jaison,

About /etc/csh.cshrc

|    A cautionary note : on my RH machine the following "echo" commands
|                        in ferret_paths used to creat lot of problems
|                        with utilities like ssh/scp. So i just removed
|                        them, they are just for information...no harm
|                        in deleting those lines
| 
|                        echo appending ferret path
| 
|                        echo replacing ferret path

Another options is to source the ferret stuff only when the shell
is interactive.  For example, /etc/csh.cshrc might look like

  # . . . stuff which is always executed . . .

  # skip remaining setup if not an interactive shell
  if ($?USER == 0 || $?prompt == 0) exit

  # . . . stuff which should be executed
  #       only for an interactive shell . . .

I got this trick from Sun's default .cshrc, which has/had,
for example, aliases in the second section.  This trick obviously
doesn't work when you want to invoke ferret remotely from ssh, say.

Another related issue is that .login tends not to work
these days because modern desktop environments like KDE and Gnome
don't use it.  They have their own startup files, which I actually
think are the proper places for "source /usr/local/ferret_paths" .

Regards,
Ryo

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement