From: utzoo!decvax!pur-ee!purdue!Physics:crl Newsgroups: net.unix-wizards Title: Re: extraneous csh prompts Article-I.D.: pur-phy.347 Posted: Tue Jun 22 11:18:54 1982 Received: Sun Jun 27 03:24:27 1982 References: floyd.299 We had the same problem with csh prompts in non-interactive mode a while ago, and we did eventually figure it out. If you set your prompt explicitly in your .cshrc, then csh will output it even if it is a non-interactive shell. The correct way to do this is: if ($?prompt) set prompt = . . . In fact, I use the 'if' statement to enclose almost all of my .cshrc. That way, all the initialization i do doesn't occur when I run a shell script. Charles LaBrec Purdue Univ.