2 probably frequently asked questions

Bob Shair shair at ux1.cso.uiuc.edu
Fri Jun 14 03:54:21 AEST 1991


stsiegem at 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 at chgvmic1.vnet.ibm.com
Scientific Computing Specialist    SHAIR at UIUCVMD (bitnet)
IBM Champaign



More information about the Comp.unix.aix mailing list