vi bug(feature?) (really csh)
David Elliott
dce at hammer.UUCP
Thu Sep 5 00:45:02 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".
How about this for weird:
% cat foo
#!/bin/csh -f
set histchars=""
echo !!
echo ""
echo " "
% foo
!!
%
I know what "feature" I'm going to add to my manual pages.
David Elliott
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list