vi bug(feature?)
Peter da Silva
peter at graffiti.UUCP
Mon Sep 2 23:13:02 AEST 1985
> Reason 8491 why I hate csh(1):
> The solution is to fix csh(1) so that it does not print the
> prompt string on non-interactive shells. I have fixed my csh(1)
> to do just that.
No need to do this, just don't set the prompt string in your .cshrc, since
CSH doesn't set the prompt string on non-interactive shells. In your
.cshrc you can tell if the shell is interactive or not and act as follows:
if ( $?prompt ) then
set prompt=...
blah blah blah
endif
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list