Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site linus.UUCP Path: utzoo!linus!smk From: smk@linus.UUCP (Steven M. Kramer) Newsgroups: net.unix-wizards,net.bugs.4bsd Subject: Re: bug in ucbmail and 4.1bsd csh Message-ID: <520@linus.UUCP> Date: Sat, 10-Dec-83 13:42:08 EST Article-I.D.: linus.520 Posted: Sat Dec 10 13:42:08 1983 Date-Received: Sun, 11-Dec-83 00:46:32 EST References: <1119@ucf-cs.UUCP> Organization: MITRE Corp., Bedford MA Lines: 19 The -c in the mail is not really a bug. The basic format that SHOULD be used for most cshrc files should be: if ($?prompt) else endif What this will do is improve performance by NOT doing the commands you use interactively (the 1st ones) when the csh is called from programs or you run shell scripts. I've used this for 1.5 years and it works great. However, since cshrc is called before login, you have to kludge login a bit because certain things may not be set right. However, it is easily solvable. -- --steve kramer {allegra,genrad,ihnp4,utzoo,philabs,uw-beaver}!linus!smk (UUCP) linus!smk@mitre-bedford (MIL)