Article View: news.software.readers
Article #247876Re: Dialog: Flush Before Exit?
From: Sqwertz
Date: Sat, 31 Dec 2011 02:51
Date: Sat, 31 Dec 2011 02:51
43 lines
3327 bytes
3327 bytes
On Tue, 27 Dec 2011 16:11:59 +0100, Bernd Rose wrote:
> On Sun, 25 Dec 2011 10:33:50 -0600 Sqwertz wrote:
>
>> Dialog has been crashing on me more and more lately when it comes time
>> to "Cleaning up" while exiting (Windows 7 known problem).
>
> Dunno. Dialog (.41) /never/ crashes on Win7 in my setups. (Several
> different PC's; Win7x32 as well as Win7x64.)
It's been mentioned here several times.
>> Is there a function I can call (and appropriate trigger to place it)
>> that will at least flush the buffers of articles to be marked as read?
>> Usually switching from group to group seems to do this during normal
>> operation. But if I read a large number of posts, and then exit and
>> then crash during exit, many of the articles from several different
>> groups never get marked permanently as read in the database.
>
> Why would you try to run such a function in an exit routine, if your
> problem comes from faulty exits?? Just place
>
> ADo('MarkAllGroupsRead');
I don't want to mark all articles read. Only the ones I have
displayed and have actually read. When dialog crashes on exit, it
often doesn't write to disk the flags that indicate that articles have
actually been read.
In no way do I EVER went to tell Dialog to automatically mark messages
as read unless I specifically tell it to (and then only for individual
groups)
Think of it this way: I'm writing to a USB drive and when it appears
to be done, my power goes out. That data/FAT table has not really
been flushed to disk and the FAT table may be corrupted. Unless I was
able to tell it I want to extract the USB drive - to flush the buffers
of any unwritten data by clicking thew USB icon in the system tray.
That's what I want to Dialog to do with it's unwritten/cached database
data.
-sw
Technical Details
Message-ID:
<arnylr5ywmj5$.dlg@sqwertz.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.190.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!s09-10.readnews.com!not-for-mailReferences:
<1nzi5hkykg6kv.dlg@sqwertz.com> <1a2lxmp2b6wxp.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <arnylr5ywmj5$.dlg@sqwertz.com> Subject: Re: Dialog: Flush Before Exit? Date: Fri, 30 Dec 2011 20:51:12 -0600 From: Sqwertz <swertz@cluemail.compost> References: <1nzi5hkykg6kv.dlg@sqwertz.com> <1a2lxmp2b6wxp.dlg@b.rose.tmpbox.news.arcor.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.190.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!s09-10.readnews.com!not-for-mail Newsgroups: news.software.readers User-Agent: Microsoft Internet News 4.70.1162 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Organization: Me, Myself, and Inc. X-no-archive: yes X-WebTV-Stationery: Standard; BGColor=black; http://galleries.fuckedbyshemale.com/064qku/10.jpg; TextColor=black Lines: 43 NNTP-Posting-Host: 5f144884.blocknews.net X-Trace: DXC=LN9?EYd; :bNe1NcLA\nEnEGTXUl?iR^PL<X<c6\A078Ba5aT6I37[LBnG6QH>mPB[H::bK?UHI6>IoWLI8=lPC9NX=bef_XDUeB X-Complaints-To: abuse@blocknews.net X-Original-Bytes: 2994