Article View: news.software.readers
Article #46763Re: Questions on slrn retrieving newsgroups
From: Michael Steeves
Date: Tue, 23 Feb 1999 00:00
Date: Tue, 23 Feb 1999 00:00
40 lines
2690 bytes
2690 bytes
On Tue, 23 Feb 1999 07:47:16 GMT, mjord@earthlink.nospam.net wrote: } I've been trying to get slrn working. I'm using RH 5.2 and I believe } the slrn version is 0.9.4(whatever the default distro gives you, I'm } in agent right now and can't remember) anyway, I can't seem to get a } full list of available newsgroups from my newsserver. I tried the -f } create .newsrc and it created the file but it was empty, I think I } tried the same with .jnewsrc with the same result. Run slrn with the -create switch, and (optionally) the -f switch to specify the file to dump the output into, and that should query the news server and get the whole list. You may also want to make sure that your .slrnrc is set to keep unsubscribed groups in the file, rather then just leaving subscribed ones. } The only way I am } able to get groups is to use a and then add them one by one. I copied } my groups.dat file from agent which has the complete list of groups } that agent knows about and copied it to both .newsrc and .jnewsrc and } tried setting the server to file mapping to both of them and couldn't } get it to read the file until I finally figured out that if I put a : } after the newsgroup name then it would show up. So, I now can get a } complete listing as soon as I figure out how to easily add a : to the } end of each newsgroup name. The end of the newsgroups line should have one of two characters, either a '!' or a ':', which translates to unsubscribed and subscribed groups, respectively. You should be able to use awk (or perl, or your shell scripting tool of choice) to easily modify the actual file. I'd provide an example, but I'm feeling somewhat lazy at the moment.... Later, -Mike -- Mike Steeves (msteeves@shore.net) "He who makes a beast of himself gets rid of the pain of being a man." --Dr. Johnson
Technical Details
Message-ID:
<slrn7d69rm.c3s.msteeves@shell3.shore.net>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!not-for-mailReferences:
<36d2596b.2375485@news.earthlink.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn7d69rm.c3s.msteeves@shell3.shore.net> Subject: Re: Questions on slrn retrieving newsgroups Date: Tue, 23 Feb 1999 00:00:00 +0000 From: msteeves@shore.net (Michael Steeves) References: <36d2596b.2375485@news.earthlink.net> 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!not-for-mail X-Deja-AN: 447649620 X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 919807863 207.244.124.103 (Tue, 23 Feb 1999 17:11:03 EDT) Organization: Good Intentions Paving Company, Inc. User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: msteeves@shore.net NNTP-Posting-Date: Tue, 23 Feb 1999 17:11:03 EDT Newsgroups: news.software.readers