Article View: news.software.readers
Article #84043Re: [slrn] Saving the newsrc file
From: J.B. Nicholson-Owens
Date: Thu, 06 Sep 2001 17:25
Date: Thu, 06 Sep 2001 17:25
35 lines
2572 bytes
2572 bytes
Thomas Schultz wrote:
> The next version of slrn will have a special autosave feature.
Using GROUPS_DIRTY in a macro would do the trick. In a version of slrn
long since past, I recall doing something (which would now look) like
#v+
private define First_Time = 1;
public define group_mode_hook ()
{
if (andelse
{ not (First_Time) }
{ GROUPS_DIRTY })
call ("save_newsrc");
First_Time = 0;
}
#v-
The First_Time you don't want to save the newsrc because you just
started slrn. Every other time you enter group mode you want to save
the newsrc when there's something to save (when read article counts
changed). I did this from group mode because at the time save_newsrc
was only available from group mode.
In case anyone noticed, I haven't switched away from using slrn. I am
trying Mozilla while I decide what hardware to use in a new Unix box I'm
building so I can run groovy stuff like slrn. I don't boot up Windows
often and I'd like to not make a habit of it. I'm eager to switch to
using all free (as in liberty, not necessarily beer) software. My
apologies if this posting agent fails to maintain threading or posts a
poorly formatted article.
Technical Details
Message-ID:
<3B97B186.8060800@forestfield.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!feed2.news.rcn.net!rcn!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!news.shout.net!not-for-mailReferences:
<slrn9pacq8.1k5ikmo.dal95son@bullshit.campus.mdh.se> <slrn9pa8t1.33e.tststs@starflower.tststs.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <3B97B186.8060800@forestfield.org> Subject: Re: [slrn] Saving the newsrc file Date: Thu, 06 Sep 2001 12:25:26 -0500 From: "J.B. Nicholson-Owens" <jbn@forestfield.org> References: <slrn9pacq8.1k5ikmo.dal95son@bullshit.campus.mdh.se> <slrn9pa8t1.33e.tststs@starflower.tststs.ddns.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!feed2.news.rcn.net!rcn!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!news.shout.net!not-for-mail Newsgroups: news.software.readers Organization: Forest Field Omnimedia Lines: 34 NNTP-Posting-Host: forestfield.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: roundup.shout.net 999796912 6838 208.216.67.173 (6 Sep 2001 17:21:52 GMT) X-Complaints-To: abuse@shout.net NNTP-Posting-Date: Thu, 6 Sep 2001 17:21:52 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3+) Gecko/20010904 X-Accept-Language: en-us, en