Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 beta 3/9/83; site dutesta.UUCP Path: utzoo!linus!philabs!mcvax!dutesta!henk From: henk@dutesta.UUCP (Henk Hesselink) Newsgroups: net.unix-wizards,net.bugs.4bsd Subject: Re: bug in ucbmail and 4.1bsd csh Message-ID: <150@dutesta.UUCP> Date: Wed, 14-Dec-83 04:47:14 EST Article-I.D.: dutesta.150 Posted: Wed Dec 14 04:47:14 1983 Date-Received: Fri, 16-Dec-83 02:18:46 EST References: <1119@ucf-cs.UUCP> Organization: Delft univ. of tech., the Netherlands Lines: 15 The way I stop a non-interactive C-shell from sourcing my .cshrc commands is by checking if this shell incarnation has a prompt. The whole .cshrc file is enclosed by a test on $prompt: if ($?prompt) then .cshrc commands endif This means that it isn't necessary to change all programs using csh for filename expansion etc. to use the -f flag and the shell starts up almost as fast. -- Henk Hesselink, Delft Univ. of Technology ..!{decvax,philabs}!mcvax!dutesta!henk