vi bug(feature?) (really csh)
Andrew Macpherson
andrew at stc.UUCP
Fri Sep 6 03:48:21 AEST 1985
In article <155 at graffiti.UUCP> peter at graffiti.UUCP (Peter da Silva) writes:
>Oh yeh, my main gripe with CSH: It expands *history* in non-interactive shells,
>which makes it a pain to do a uucp mail from vi, which also expands history.
>My solution? At the end of my .cshrc I add the line: "setenv SHELL /bin/sh".
That's rather extreme: how about
if ( ! $?prompt ) then
set histchars=''
exit
endif
interactive csh bits...
That way you can still get your real SHELL from more and simmilar...
--
Regards,
Andrew Macpherson. <andrew at stc.UUCP>
{creed, datlog, idec, iclbra, iclkid, root44, stl, ukc}!stc!andrew
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list