Article View: news.software.readers
Article #41026Re: A couple of questions about slrn
From: Dawn Owens-Nicholson
Date: Thu, 21 May 1998 00:00
Date: Thu, 21 May 1998 00:00
85 lines
4573 bytes
4573 bytes
Eivind Riiser <eivindrk@online.no> wrote:
> Is it possible for slrn to access the total newsgroup index without
> doing "slrn -f .newsrc -create"?
If you mean use the active file, yes, you can make slrn download the
active file and/or use XGTITLE (if your news server supports it).
Details on how to set this up are in the sample slrn.rc that should
have come with your copy of slrn.
My experience forces me to warn you: XGTITLE returns are usually wrong
due to news admin error. Even large commercial installations like
SuperNews have incorrect description files that make XGTITLE a lot
less useful than it could be. Checking for mainstream Big-8 groups is
a good test of your server admin's work.
> I have created a description file with "slrn -f
> /usr/local/lib/slrn/newsgroup -d", but that only added descriptions
> to the groups I had already subscribed.
This should have created a descriptions file for every group the
server has descriptions for (which is, unfortunately, usually a proper
subset of the groups the server carries). If you subscribe to all the
newsgroups your server carries, than that could be why you got
descriptions for subscribed groups.
If you mean slrn only *displays* descriptions for subscribed groups,
that's incorrect--what really happened was you downloaded descriptions
for all the groups for which your server carries descriptions and your
subscription list happens to hit all the described groups. There is
no connection between slrn displaying a description and you
subscribing to a group. There is a connection between what is listed
in the description file slrn uses and what it displays. I suggest
gathering descriptions from a variety of places and joining them
together. I've included a short perl script to help do this.
> When I type capital L (at the group list) and enter a search
> pattern, nothing happens -- it only works the first time after "slrn
> -f .newsrc -create".
You probably told slrn to only keep subscribed groups in your newsrc
(write_newsrc_flags not set to 0), so when you save your newsrc all
the unsubscribed groups are no longer listed (which, since you
probably also told slrn to not use XGTITLE (use_xgtitle set to 0) or
the server's active data (read_active set to 0), means slrn only knows
about the subscribed groups). I suggest altering your slrnrc to
either use the active file (if your connection is fast), OR use
XGTITLE (if your server has it). As a last resort, make slrn save all
newsgroups in your newsrc--subscribed or unsubscribed.
Again, a warning, this last option may cause your newsrc to become
large and saving it may take longer than you expected.
> One other thing: is there a way to prevent slrn from putting headers
> like "Subject: ....", "Newsgroups: ...." in every follow-up message?
> It's only a couple of lines which can easily be removed when editing,
> but it's still annoying.
I believe these headers are required for any article posted to Usenet,
follow-up or thread starter. According to the latest USEFOR draft I
could find, draft-ietf-usefor-article-00.txt, which expires Sunday,
November 1, 1998 ("19981101"):
5. Mandatory Headers
An article MUST have one, and only one, of each of the
following headers: Date, From, Message-ID, Subject,
Newsgroups, Path.
and later:
7.3.1 Unwanted articles
Serving Agents MUST reject all articles that do not have all
mandatory headers present with legal contents or which have
illegal contents in optional headers.
So, it would appear that Subject: and Newsgroups: headers are still
required (even if their content may be deduced in the case of
follow-ups to articles accessible by the serving agent). In any
event, you'd only save two lines, hardly a big deal. I'm suprised
your server accepts articles posted without a Subject: or Newsgroups:
header.
Technical Details
Message-ID:
<slrn6m98sq.8ak.bluemoon@ux6.cso.uiuc.edu>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:
<35646258.1493330@news.online.no>Show Full Headers
Complete Article Headers
Message-ID: <slrn6m98sq.8ak.bluemoon@ux6.cso.uiuc.edu> Subject: Re: A couple of questions about slrn Date: Thu, 21 May 1998 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <35646258.1493330@news.online.no> 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: 355366203 Organization: University of Illinois at Urbana-Champaign Newsgroups: news.software.readers