vi bug(feature?)

John P. Nelson john at genrad.UUCP
Fri Jul 26 22:27:24 AEST 1985


In article <144 at peregrine.UUCP> mike at 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!)



More information about the Comp.bugs.4bsd.ucb-fixes mailing list