[net.emacs] grep and prompts

david@cit-vax.ARPA (12/13/85)

From: David Robinson <ia-sun2!david@cit-vax.ARPA>

If you are setting your prompt in your .cshrc check to make sure that
it is inclosed in a:
	if ( $?prompt )
		set prompt=foobar
		# other interactive only stuff
	endif

Csh starts up with a null prompt on a noninteractive shell but stiil
run thru .cshrc and may create a prompt causing problems in things
such as vi and other programs that spawn noninteractive shells to
glob things.

The difference between BSD and Ultrix is that one of the two might
have fixed this problem internally.  On one 4.2bsd system I work on
(cit-vax.arpa) it has while it hasn't on SUN systems.  There are
arguments on whether or not this is a bug!

				-David Robinson
				ia-sun2!david@cit-vax.arpa