Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!csun!csuna!abcscnge From: abcscnge@csuna.csun.edu (Scott "The Pseudo-Hacker" Neugroschl) Newsgroups: comp.unix.questions Subject: Re: YAPQ (yet another prompt question) Keywords: PROMPT, csh Message-ID: <2152@csuna.csun.edu> Date: 23 Aug 89 06:40:57 GMT References: <554@cadlab.cadlab.de> <1348@unhd.unh.UUCP> <744@uniol.UUCP> Reply-To: abcscnge@csuna.csun.edu (Scott Neugroschl) Distribution: all Organization: CSU Northridge Lines: 30 >rg@unh.UUCP (Roger Gonzalez) writes: >Also, is there any way to keep 'make' from spitting out a prompt >after every step? Two ways: 1) put the line: SHELL=/bin/sh at the top of your makefile 2) in your .cshrc use the (regrettably undocumented feature): if ( $?prompt ) then # interactive shell stuff (including prompt) here endif The second method will also have the effect of speeding up C-shell scripts. The "if ( $?prompt ) then" says do this ONLY if the shell variable "prompt" is set. It is only set on interactive shells. Scott -- Scott "The Pseudo-Hacker" Neugroschl UUCP: ...!sm.unisys.com!csun!csuna.csun.edu!abcscnge -- Beat me, Whip me, make me code in Ada -- Disclaimers? We don't need no stinking disclaimers!!!