Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.unix.wizards Subject: Re: rsh problems Message-ID: <2806@helios.ee.lbl.gov> Date: 9 Jun 89 23:42:28 GMT References: <1921@kodak.UUCP> <23219.8906050826@cxa.daresbury.ac.uk> Sender: usenet@helios.ee.lbl.gov Lines: 39 > In article <23219.8906050826@cxa.daresbury.ac.uk> wh%CXA.DARESBURY.AC.UK@cunyvm.cuny.edu (Bill Purvis) writes: [ stuff about stty inside the .cshrc file being a no-no. ] In article <1921@kodak.UUCP>, lance@kodak.UUCP (Dan Lance) writes: > Put > > if (! $?prompt) exit > > at the top of your .cshrc. ^^^ Not at the top! :-) We have useful things in our .cshrc files that are desirable when doing remote shells and non-interactive shells. Certainly put the above "if" (and a "then") AROUND any stuff that is done to the tty (actually that stuff can usually go in the .login file instead), but one need not be so drastic as to exit from the .cshrc altogether. Then: > > [many blank lines] > > > i hate inews You too? I have had to put in some blank lines several times when I've only added $.02 worth to postings. :-) Brian V. Smith Lawrence Berkeley Laboratory Usual disclaimers apply in case of emergency