I have never been able to figure out how to get
csh to notify me of received mail. Setting the
the "mail" variable to a number doesn't seem to turn
I would appreciate any help.
: I have never been able to figure out how to get
: csh to notify me of received mail. Setting the
: the "mail" variable to a number doesn't seem to turn
: it on.
From the csh man page:
mail A list of files where the C shell checks
for mail. If the first word of the value
is a number, it specifies a mail checking
interval in seconds (default 5 minutes).
set mail = ( 300 $MAIL )
WARNING: sending me junk-email will be interpreted as granting permission to
bomb your offices and machine-gun your children. (10 in 4 days, 3 in 1 hour)
While mail notification seems to work fine under ksh, we have
been unable to get it to work under csh, which many of our
users use as their login shell. Putting the environmental
variable MAIL to, e.g., "5 /usr/spool/mail/username" as described
in the "man pages" for csh doesn't seem to accomplish much. Is
this a FAQ?
Dept Chem, Rice Univ