Article View: news.software.readers
Article #26232Re: SLRN 0.9.0.0 - XGTITLE broken?
From: Olly Betts
Date: Sun, 22 Sep 1996 00:00
Date: Sun, 22 Sep 1996 00:00
42 lines
2499 bytes
2499 bytes
In article <slrn54a0fn.cuu.handler@access.netaxs.com>, Michael Handler wrote:
>In <slrn549qqt.71t.davis@aluche.mit.edu>,
>John E. Davis <davis@space.mit.edu> wrote:
>
>> XGTITLE is broken in 0.9. It will be fixed again in 0.9.1. Stay
>> tuned...
>
>Any chance that slrn could also check for the presence of the "list
>active" command and an option be set to use that instead of "xgtitle"?
>xgtitle only lists a group if it has an appropriate entry in the
>'newsgroups' file. I fear that at many sites, there are quite a few
>newsgroups without description lines in 'newsgroups', and thus those
>groups are "invisible" to the L command.
Should be quite an easy patch. The only thing to watch for is that the
probing code in nntp.c probes by sending the command without any arguments
and looking to see if the reply is 500 (Command not recognised). This isn't
quite what you'd want to do for "LIST ACTIVE", as without arguments it'll
send you the whole active file if the command is implemented.
>Also, any rationale for slrn not checking for the existence of xgtitle
>or list active or any other non-standard NNTP command by issuing the
>command upon first connection and checking if the return code is 500
>for an unknown command?
This comment from nntp.c suggests why:
/* XGTITLE appears broken on some servers. So, do not probe for it. */
There's code in slrn to autoprobe, which is used for XPAT and XOVER.
However, you say above that xgtitle only returns information for groups with
an entry in the newsgroups file, so it's possible that this is what makes it
"appear broken".
Olly
--
cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Technical Details
Message-ID:
<slrn54agv6.foc.olly@mantis.co.uk>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:
<slrn546hkt.4r.richard@rbm.ma.ultranet.com> <slrn5494dh.6e.root@davids.isource.net> <slrn549qqt.71t.davis@aluche.mit.edu> <slrn54a0fn.cuu.handler@access.netaxs.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn54agv6.foc.olly@mantis.co.uk> Subject: Re: SLRN 0.9.0.0 - XGTITLE broken? Date: Sun, 22 Sep 1996 00:00:00 +0000 From: olly@mantis.co.uk (Olly Betts) References: <slrn546hkt.4r.richard@rbm.ma.ultranet.com> <slrn5494dh.6e.root@davids.isource.net> <slrn549qqt.71t.davis@aluche.mit.edu> <slrn54a0fn.cuu.handler@access.netaxs.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.mbox.zip!not-for-mail X-Deja-AN: 184578804 Content-type: text/plain; charset=iso-8859-1 Organization: Mantis Consultants Ltd, Cambridge. UK. Mime-version: 1.0 Newsgroups: news.software.readers