Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!murphy!step!perl From: perl@step.UUCP (Robert Perlberg) Newsgroups: comp.unix.shell Subject: Re: What should be in .cshrc vs .login Message-ID: <1732@number1.step.UUCP> Date: 30 Oct 90 17:09:36 GMT References: <1294@tardis.Tymnet.COM> <1300@tardis.Tymnet.COM> Organization: Dean Witter Reynolds Inc., New York Lines: 19 The way I've dealt with the problem is to make the setting of all env variables conditional. I have created an env variable called ENVINIT whose existence indicates that the env variables have already been created. I use it like this: excerpt from .cshrc: source .envinit excerpt from .envinit: if($?ENVINIT != 0) exit ... various setenv's ... setenv ENVINIT DONE Robert Perlberg Dean Witter Reynolds Inc., New York {murphy | philabs | chuo}!step!perl -- "I am not a language ... I am a free man!"