saroff@JVNCF.CSC.ORG (Steve Saroff lac00001) (09/13/89)
Newsgroups: comp.mail.misc,comp.sys.ibm.pc Subject: Help with notify Summary: Expires: References: <2316@infmx.UUCP> Sender: Reply-To: saroff@jvncf.csc.org.UUCP (Steve Saroff lac00001) Followup-To: Distribution: Organization: John Von Neumann Center, Princeton, N.J. Keywords: I am trouble getting the ordinary notify on an ultrix machine. I do setenv MAIL "20 /usr/spool/mail/$USER" and I set notify, but for some reason I don't get any notifications. Are there any 'sets' or other actions in a .login or .cshrc file which can kill the set notify? Thanks SzS Dr. S.Z. Saroff John von Neumann National Supercomputer Center internet: saroff@jvncf.csc.org 665 College Road East, P.O. Box 3717 saroff@jvncc.csc.org Princeton, NJ 08543 (609) 520-2000 bitnet: saroff@jvncc o o (_)____o ~~~~~~~~~~~~~~~~(_____)~~~~~~~~~~~~~~~~~~~~~~~~~~~ oo oo The Bear who Swims SzS Dr. S.Z. Saroff John von Neumann National Supercomputer Center internet: saroff@jvncf.csc.org 665 College Road East, P.O. Box 3717 saroff@jvncc.csc.org Princeton, NJ 08543 (609) 520-2000 bitnet: saroff@jvncc o o (_)____o ~~~~~~~~~~~~~~~~~(_____)~~~~~~~~~~~~~~~~~~~~~~~~~~~ oo oo The Bear who Swims
allbery@NCoast.ORG (Brandon S. Allbery) (09/15/89)
As quoted from <8909131437.AA18823@jvncf.csc.org> by saroff@JVNCF.CSC.ORG (Steve Saroff lac00001): +--------------- | I am trouble getting the ordinary notify on an ultrix machine. | I do | | setenv MAIL "20 /usr/spool/mail/$USER" | | and I set notify, but for some reason I don't get any notifications. +--------------- The MAIL environment variable does not use csh format, and can not be set in that way. It must be set to the name of yoru maildrop and nothing else, or most mailers and the much-hated Bourne shell will throw fits. .login: setenv MAIL /usr/spool/mail/$USER set mail=(20 $MAIL) .cshrc: if ( $?MAIL ) set mail=(20 $MAIL) (The double "set mail" is because .cshrc executes *before* .login in a login shell.) ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@NCoast.ORG uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu bsa@telotech.uucp, 161-7070 BALLBERY (MCI), ALLBERY (Delphi), B.ALLBERY (GEnie) Is that enough addresses for you? no? then: allbery@uunet.UU.NET (c.s.misc)