Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site genrad.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!john From: john@genrad.UUCP (John P. Nelson) Newsgroups: net.bugs.4bsd Subject: Re: vi bug(feature?) Message-ID: <983@genrad.UUCP> Date: Fri, 26-Jul-85 08:27:24 EDT Article-I.D.: genrad.983 Posted: Fri Jul 26 08:27:24 1985 Date-Received: Sun, 28-Jul-85 03:28:14 EDT References: <144@peregrine.UUCP> Reply-To: john@genrad.UUCP (John P. Nelson) Followup-To: net.unix Distribution: net Organization: GenRad, Inc., Bolton, Mass. Lines: 14 In article <144@peregrine.UUCP> mike@peregrine.UUCP (Mike Wexler) writes: >My standard shell is the /bin/csh. When I try doing a any command >with a name that needs to be shell expanded the editor calls the shell, >but gets confused by the shell prompt and includes that in the file list. This is an easily solved problem. No doubt you have a "set prompt" line in your .cshrc. Simply replace it with the following: if ($?prompt) then set prompt="whatever> " endif This will not set your prompt unless it was already set to SOMETHING (i.e. you are interactive!)