bug in ucbmail and 4.1bsd csh
Henk Hesselink
henk at dutesta.UUCP
Wed Dec 14 19:47:14 AEST 1983
The way I stop a non-interactive C-shell from sourcing my .cshrc commands
is by checking if this shell incarnation has a prompt. The whole .cshrc
file is enclosed by a test on $prompt:
if ($?prompt) then
.cshrc commands
endif
This means that it isn't necessary to change all programs using csh for
filename expansion etc. to use the -f flag and the shell starts up almost
as fast.
--
Henk Hesselink, Delft Univ. of Technology
..!{decvax,philabs}!mcvax!dutesta!henk
More information about the Comp.unix.wizards
mailing list