🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #557

Re: Checking for new mail

#557
From: ody
Date: Tue, 22 Aug 1989 21:16
13 lines
1248 bytes
  ksh does this for you. It's relatively easy to write your own in shell
if you want something fancy, check the mod time of the mailfile against
another file. You can use one message for mail since last reading, like
"you have mail" and one for mail since last informational message "you
have NEW mail." This can be hacked any way you want.

  The advantage of havinf it in shell is that it come out at the right
time, just before reading another command, and doesn't trash your
screen. Stuff on the status line is okay if you have a staus line.
	bill davidsen		(davidsen@crdos1.crd.GE.COM)
  {uunet | philabs}!crdgw1!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID: <1822@crdgw1.crd.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!crdgw1!sungod!davidsen
References: <105@csnz.co.nz> <122772@sun.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!crdgw1!sungod!davidsen
From: davidsen@sungod.crd.ge.com (ody)
Newsgroups: comp.mail.misc,comp.unix.xenix
Subject: Re: Checking for new mail
Message-ID: <1822@crdgw1.crd.ge.com>
Date: 22 Aug 89 21:16:07 GMT
References: <105@csnz.co.nz> <122772@sun.Eng.Sun.COM>
Sender: news@crdgw1.crd.ge.com
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Followup-To: comp.mail.misc
Organization: General Electric Corp. R&D, Schenectady, NY
Lines: 13