From xemacs-m  Thu Mar 20 09:30:26 1997
Received: from loiosh.kei.com (ckd@loiosh.kei.com [192.88.144.32])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA13688
	for <xemacs-beta@xemacs.org>; Thu, 20 Mar 1997 09:30:25 -0600 (CST)
Received: (from ckd@localhost)
	by loiosh.kei.com (8.8.5/8.8.5) id KAA20166;
	Thu, 20 Mar 1997 10:29:18 -0500 (EST)
To: drich@cisco.com
Cc: Kyle Jones <kyle_jones@wonderworks.com>, xemacs-beta@xemacs.org
Subject: Re: 20.1b8 success on Solaris -- but it's *SLOW* (and a few new probs)
References: <199703190222.SAA10998@sandman> 	<m2k9n4po96.fsf@altair.xemacs.org> 	<199703200000.QAA17582@sandman> 	<QQchpq16585.199703200040@crystal.WonderWorks.COM> <199703200133.RAA17841@sandman>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Christopher Davis <ckd@loiosh.kei.com>
Date: 20 Mar 1997 10:29:18 -0500
In-Reply-To: Dan Rich's message of Wed, 19 Mar 1997 17:33:39 -0800
Message-ID: <w44te6mvjl.fsf@loiosh.kei.com>
X-Mailer: Gnus v5.4.30/XEmacs 19.15(beta101)
X-Face:  I8Alb*-ZdjN\/8k_QR,^l^m6GQB'S-B:}DVP].1HOw#tx:TX$k;Wl;4zqjWR|-jheM#?
 &beR<z=pG{]"563AA5pml2_[f:k>f(!|0<U[iwGMH"Z(rIqt9rGO*^KRV6^ej+*37UKHhC%+"
 7T>b0m=M~=%.Am>"QEY.(#Ys.%"s?z,hmwp&y0%p>9+T
X-Attribution: ckd

KJ> == Kyle Jones <kyle_jones@wonderworks.com>
DR> == Dan Rich <drich@cisco.com>

 KJ> The new display-time function indicates mail is present only if the
 KJ> modification time of the spool file is greater than the access time.

 DR> How did it work in the earlier versions?  The above is fairly
 DR> useless, as any other mailbox monitor (xbiff, or xbuffy in my case)
 DR> will cause the XEmacs indicator to turn off.

xbiff will *not* cause this to happen.  In fact, the R5 and later xbiffs
use the same algorithm to see if there's new mail or not.

I have a pair of perl scripts[1] (one for shells, one for Tkperl) that
will actually check mailboxes in a tri-state manner using this algorithm:

If size is 0, then box is empty;
If atime < mtime then box has new mail;
else box has old ("seen") mail.

xbuffy reads the box in order to count the messages, which is why it
breaks xbiff, my stuff, and the new XEmacs mail-display default.

[1] available on request since they're not particularly on-topic

