[comp.sys.sgi] cdpath

silvert@cs.dal.ca (Bill Silvert) (06/28/91)

Can someone tell me whether cdpath works on a PI with Irix 3.3.2?
I've tried the textbook methods and played around with every combination
of set and setenv imaginable, without success.

A number of other csh features, like filename completion, also don't
seem to work as described in the manual (I've set filec).  Can anyone
enlighten me on these points?
-- 
William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
UUCP=..!{uunet|watmath}!dalcs!biome!silvert
BITNET=silvert%biome%dalcs@dalac	InterNet=silvert%biome@cs.dal.ca

farestam@ORION.CERFACS.FR (Stefan Farestam) (06/30/91)

   cdpath works on a PI with IRIX 3.3.1.

   suppose you do:

      set cdpath = $HOME

   and your home directory contains the directories "private" and
   "public", then you should in theory be able to do "cd privaet"
   or "cd public" regardless of in which directory you are. The
   directory defined in cdpath, however, you cannot cd to, because
   cdpath defines the directories that are searched when you do cd.

   My own cdpathlooks like:

      set cdpath = (.. $HOME/{,public,private/{,cu,div,docs,test}})

   .. is very useful to have in your cdpath. I guess one could also
   have ../..

      /Stefan


   .................................................................   
 .             Stefan Farestam    <farestam@cerfacs.fr>              .
.   __ __  __ _  _ _                                                  .
.  /  |_ )|_ /_\/ (          European Centre for Research and         .
 . \_ |__\| /   \__)    Advanced Training in Scientific Computation  .
   .................................................................