There is a problem with /star/etc/login on the most recent CD:
set foundit = "no"
if (`echo ${PATH} | grep -c ':/star/bin'` != 0) set foundit = "yes"
if (`echo ${PATH} | grep -c '^/star/bin'` != 0) set foundit = "yes"
if ( $foundit == "no" ) setenv PATH ${PATH}:/star/bin/startcl:/star/bin:/star/starjava/bin
unset foundit
If when this stanza is executed the path already contains '/star/bin'
but not '/star/starjava/bin', then the starjava part is never
added to the path. It is quite common for this to happen, since users
often add /star/bin to their path somewhere in their .login or .cshrc,
in addition to sourcing /star/etc/login. In this case users have to
do a fair bit of poking around to be able to use TOPCAT or Treeview.
Same applies to things in /star/bin/startcl.
Steve, please can you modify it so that it tests/modifies the path
separately for each of /star/bin, /star/bin/startcl and /star/starjava/bin.
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] 0117 928 8776 http://www.star.bris.ac.uk/~mbt/
|