Thread View: news.software.readers
6 messages
6 total messages
Started by Sho Nakagama
Sat, 08 Feb 1997 00:00
slrn and newsrc
Author: Sho Nakagama
Date: Sat, 08 Feb 1997 00:00
Date: Sat, 08 Feb 1997 00:00
32 lines
1767 bytes
1767 bytes
I'm running slrn 9.2 and while I really like it, I've have one small bone to pick with it. If a user subscribes to a group, which has a lot of traffic, and unsubscribes, the article number refs are left in whatever newsrc file it's using. This wasn't noticable until a lot of users ran it for a while and memory usage (and time waiting) suddenly mushroomed as of late. I was wondering if it is possible (and if it is wise) for slrn to eliminate everything between the "!" and the next group on an unsubscribe. Right now the only remedy has been to edit the file by hand to clean it up. I think by doing so for my few testers will probably have "cured" the problem for a while (it's sped everything up dramaticly) it will no doubt creep in again. -- --------------------------------------------------------------------------- I've seen the world from a first class seat I've read the Bitch and Ulysses I've tried religion and philosophy I've walked upon the sea Now the air is getting thin, you make my senses start to swim It's just a suicidal whim but I can't resist an emotional thing --------------------------------------------------------------------------- GBH(tm) [your secret society ad here] KoX ARSCC
Re: slrn and newsrc
Author: Sven Guckes
Date: Sun, 09 Feb 1997 00:00
Date: Sun, 09 Feb 1997 00:00
33 lines
1844 bytes
1844 bytes
sho@tannis.sho.net (Sho Nakagama) using [slrn 9.2]: > If a user subscribes to a group, which has a lot of traffic, and unsubscribes, > the article number refs are left in whatever newsrc file it's using. Where else should slrn put the refs if not into the used newsrc? > I was wondering if it is possible (and if it is wise) for slrn to eliminate > everything between the "!" and the next group on an unsubscribe. Deleting the information about read articles will have the effect that on resubscription you will have to read everything again. :-( I do not recommend to do this. > Right now the only remedy has been to edit the file by hand to clean it up. Well, that's easy: sed -e "s/!.*$//" .newsrc My experience is to only show this to users who are willing to read the manual about sed, though. ;-) Sven -- Sven Guckes guckes@math.fu-berlin.de using SLRN 0.9.2.1 [released 961215] SLRN Pages: http://www.math.fu-berlin.de/~guckes/slrn/ latest SLRN Author: John E. Davis http://space.mit.edu/~davis/slrn.html version: SLRN Manual on WWW: http://www.wp.com/TNTCONSULTING/slrn.html 0.9.3.0
Re: slrn and newsrc
Author: Sho Nakagama
Date: Sun, 09 Feb 1997 00:00
Date: Sun, 09 Feb 1997 00:00
49 lines
2434 bytes
2434 bytes
In article <slrn5frg4e.6m9.guckes@euler.math.fu-berlin.de>, Sven Guckes wrote: >sho@tannis.sho.net (Sho Nakagama) using [slrn 9.2]: > >> I was wondering if it is possible (and if it is wise) for slrn to eliminate >> everything between the "!" and the next group on an unsubscribe. > >Deleting the information about read articles will have the effect >that on resubscription you will have to read everything again. :-( >I do not recommend to do this. Well, , as it turns out, after further investigation, most of the groups in question that this happens in are ones which I'm going to stop carrying anyway because they use are making my disk usage go into orbit. (mostly alt.binaries groups) > >> Right now the only remedy has been to edit the file by hand to clean it up. > >Well, that's easy: > > sed -e "s/!.*$//" .newsrc > >My experience is to only show this to users who >are willing to read the manual about sed, though. >;-) > Yeah, but easy is relative. I'm still trying to explain the differences between gnu "less" and msdos "more" to them. I'm more hoping for an option in the future to clean up the .newsrc file, at user command from the news reader. But you did save me 1 -2 minutes thinking about sed which I appreciate. *runs off to write script* Thanks though, this was helpful. -- --------------------------------------------------------------------------- I've seen the world from a first class seat I've read the Bitch and Ulysses I've tried religion and philosophy I've walked upon the sea Now the air is getting thin, you make my senses start to swim It's just a suicidal whim but I can't resist an emotional thing --------------------------------------------------------------------------- GBH(tm) [your secret society ad here] KoX ARSCC
Re: slrn and newsrc
Author: John E. Davis
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
20 lines
1193 bytes
1193 bytes
On 8 Feb 1997 16:15:52 GMT, Sho Nakagama <sho@tannis.sho.net> wrote: >I was wondering if it is possible (and if it is wise) for slrn to >eliminate everything between the "!" and the next group on an >unsubscribe. Right now the only remedy has been to edit the file >by hand to clean it up. I think by doing so for my few testers will >probably have "cured" the problem for a while (it's sped everything >up dramaticly) it will no doubt creep in again. Have you tried adding set write_newsrc_flags 1 to your global slrn.rc file? This will cause slrn to not write any unsubscribed groups to the newsrc file. --John
Re: spring cleaning of the .newsrc
Author: Sven Guckes
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
23 lines
1627 bytes
1627 bytes
sho@tannis.sho.net (Sho Nakagama): > > sed -e "s/!.*$//" .newsrc > I'm more hoping for an option in the future to clean up > the .newsrc file, at user command from the news reader. Well, check out "nntidy" from the distribution of the newsreader NN: DESCRIPTION nntidy will clean out non-existing groups, adjust obviously wrong article numbers, and remove badly formed lines from your .newsrc file. It may optionally remove ignored groups, unsubscribed groups, and groups which are not part of your presentation sequence or the groups specified on the command line. You should run nntidy if your rc file has been corrupted for some reason. For a list of distribution sites see this page: http://www.math.fu-berlin.de/~guckes/nn/distribution.html Sven
Re: slrn and newsrc
Author: Heiko W.Rupp
Date: Tue, 11 Feb 1997 00:00
Date: Tue, 11 Feb 1997 00:00
15 lines
1174 bytes
1174 bytes
In <slrn5frg4e.6m9.guckes@euler.math.fu-berlin.de>, Sven Guckes wrote:
:|Deleting the information about read articles will have the effect
:|that on resubscription you will have to read everything again. :-(
On the other hand: normally you don't un- and resubscribe on a daily base
so that most often the referred articles are already expired when the
group is resubscribed.
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
Stoppt den Kinderwahnsinn !! -- Esst nur deutsche Kinder !!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads