Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!ub.d.umn.edu!rutgers!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!unido!gmdzi!czech From: czech@gmdzi.gmd.de (Richard Czech) Newsgroups: comp.unix.shell Subject: Re: crontab for ordinary users Message-ID: <3497@gmdzi.gmd.de> Date: 26 Oct 90 10:05:32 GMT References: <1990Oct15.181918.8325@cubmol.bio.columbia.edu> Organization: GMD, Sankt Augustin, F. R. Germany Lines: 31 fpb@ittc.wec.com (Frank P. Bresz) writes: >In article <1294@tardis.Tymnet.COM> jms@tardis.Tymnet.COM (Joe Smith) writes: > My opinion here is that nothing is needed in .cshrc to give stuff >to a shell that isn't interactive, they should inherit all they need. > Now for the question (flame request) of the day. Do people in >general agree with me that .cshrc ought to not touch the path variable or >the PATH env and just inherit it? If you are using X11 it is not always true. I use to start XTerm's on other machines with rsh other-machine xterm -display mymachine:0 The shell which is started in the XTerm will not inherit a PATH variable from anywhere. It also does'nt execute the .login script but only the .cshrc . So if the PATH variable is only set in .login, what a shame. One could start every XTerm as a login shell, but I prefer to put all TERM and stty stuff behind "if ($?prompt -- 0) exit" and that works just fine. regards ----------------------------------------------------------------- Richard Czech e-mail: czech@gmdzi.gmd.de GMD-E.I.S. czech@gmdzi.uucp P.O.Box 12 40 phone: (+49) 2241 14 2039 D-5205 St. Augustin 1, Germany fax: (+49) 2241 14 2342 -----------------------------------------------------------------