Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!caen!uwm.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!shair From: shair@ux1.cso.uiuc.edu (Bob Shair) Newsgroups: comp.unix.aix Subject: Re: 2 probably frequently asked questions Message-ID: <1991Jun13.175421.11498@ux1.cso.uiuc.edu> Date: 13 Jun 91 17:54:21 GMT References: <1991Jun13.160314.25727@uokmax.ecn.uoknor.edu> Distribution: usa Organization: University of Illinois at Urbana Lines: 19 stsiegem@uokmax.ecn.uoknor.edu (Stephan Siegemund-Broka) writes: >These are probably faq's but here goes: is there a simple way to >have the csh prompt that "You have mail", when you login? In the user's ".cshrc" file: set mail = (/usr/spool/mail/$USER) In the user's ".login" file: if !(-z $mail) then echo You have new mail endif -- Bob Shair shair@chgvmic1.vnet.ibm.com Scientific Computing Specialist SHAIR@UIUCVMD (bitnet) IBM Champaign