Path: utzoo!attcan!uunet!pyrdc!pyrnj!rutgers!tut.cis.ohio-state.edu!triceratops.cis.ohio-state.edu!karl From: karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) Newsgroups: comp.unix.wizards Subject: Re: Make & .cshrc Message-ID: <21621@tut.cis.ohio-state.edu> Date: 12 Sep 88 16:04:19 GMT References: <452@alice.marlow.uucp> Sender: news@tut.cis.ohio-state.edu Lines: 14 In-reply-to: fox@marlow.uucp's message of 5 Sep 88 01:48:27 GMT fox@marlow.uucp writes: Is this a problem with the System 5 make ? No, it's a problem in your setting of $prompt. You should set prompt iff there already exists a prompt, i.e., if ($?prompt) then alias cd 'chdir \!*; set prompt="$cwd> "' endif Otherwise, you're unconditionally introducing a prompt into a context where none should exist. (And didn't exist, since csh knew whether it was running interactively from a tty, and sets prompt only if so.) --Karl