Thread View: news.software.nntp
7 messages
7 total messages
Started by Julien ÉLIE
Sat, 23 Aug 2008 10:41
HELPS command for unsupported functions
Author: Julien ÉLIE
Date: Sat, 23 Aug 2008 10:41
Date: Sat, 23 Aug 2008 10:41
47 lines
2452 bytes
2452 bytes
Hi,
As for HELP in RFC 3977:
7.2.2. Description
This command provides a short summary of the commands that are
understood by this implementation of the server. The help text will
be presented as a multi-line data block following the 100 response
code.
7.2.3. Examples
[C] HELP
[S] 100 Help text follows
[S] This is some help text. There is no specific
[S] formatting requirement for this test, though
[S] it is customary for it to list the valid commands
[S] and give a brief definition of what they do.
[S] .
What is exactly the meaning of "understood"?
Should HELP return existing (SLAVE only in RFC 977) but unsupported commands?
For instance:
HELP
100 Legal commands
slave
or is it possible not to mention it?
As there is no MUST/SHOULD in the description of HELP, I think we can do
whatever we want but I ask just to be sure.
Too bad there is not a syntax for HELP (like "[TAB]command keywords[tab]description").
--
Julien ÉLIE
« -- On nage dans le lac, on escalade les montagnes...
-- Ben quoi ? Nous ne sommes pas en vacances ! » (Astérix)
Re: HELPS command for unsupported functions
Author: Russ Allbery
Date: Sat, 23 Aug 2008 17:37
Date: Sat, 23 Aug 2008 17:37
36 lines
2289 bytes
2289 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Should HELP return existing (SLAVE only in RFC 977) but unsupported
> commands?
>
> For instance:
>
> HELP
> 100 Legal commands
> slave
>
> or is it possible not to mention it?
It's definitely possible to not mention it. At this point, I doubt anyone
even knows the SLAVE command existed except for people who don't need to
look at nnrpd HELP. :) I'd drop it.
> As there is no MUST/SHOULD in the description of HELP, I think we can do
> whatever we want but I ask just to be sure.
That's correct.
> Too bad there is not a syntax for HELP (like "[TAB]command
> keywords[tab]description").
The intention was that anything that needed to parse the output was going
to use CAPABILITIES instead. (Which, incidentally, INN intentionally
doesn't implement yet with the goal of not supporting it until INN
complies with the standard more fully, so that clients don't get into the
habit of working around buggy news servers that advertise CAPABILITIES.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: HELP command for unsupported functions
Author: Julien ÉLIE
Date: Sat, 23 Aug 2008 18:05
Date: Sat, 23 Aug 2008 18:05
37 lines
2610 bytes
2610 bytes
Hi Russ, > It's definitely possible to not mention it. At this point, I doubt anyone > even knows the SLAVE command existed except for people who don't need to > look at nnrpd HELP. :) I'd drop it. Done. >> Too bad there is not a syntax for HELP (like "[TAB]command >> keywords[tab]description"). > > The intention was that anything that needed to parse the output was going > to use CAPABILITIES instead. That is indeed a wise use of CAPABILITIES. > (Which, incidentally, INN intentionally > doesn't implement yet with the goal of not supporting it until INN > complies with the standard more fully, so that clients don't get into the > habit of working around buggy news servers that advertise CAPABILITIES.) The only tricky change I see is for the OVER capability because of the ":bytes" syntax in "LIST OVERVIEW.FMT". We will have to decide what to do for compatibility with news readers. I do not know whether they rely on the result of "LIST OVERVIEW.FMT" and expect "Bytes:" instead of the new ":bytes"... If not, it can be changed easily :) -- Julien ÉLIE « -- Maintenant les Romains sont alertés. -- En tout cas, ceux-là ne sont plus très alertes ! » (Astérix)
Re: HELP command for unsupported functions
Author: Russ Allbery
Date: Sat, 23 Aug 2008 18:59
Date: Sat, 23 Aug 2008 18:59
38 lines
2306 bytes
2306 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> The only tricky change I see is for the OVER capability because of the
> ":bytes" syntax in "LIST OVERVIEW.FMT". We will have to decide what to
> do for compatibility with news readers.
>
> I do not know whether they rely on the result of "LIST OVERVIEW.FMT"
> and expect "Bytes:" instead of the new ":bytes"...
> If not, it can be changed easily :)
This was anticipated in RFC 3977 and we're allowed to continue to use the
old style.
The information contains one line per field in the order in which they
are returned by the OVER command; the first 7 lines MUST (except for
the case of letters) be exactly as follows:
Subject:
From:
Date:
Message-ID:
References:
:bytes
:lines
For compatibility with existing implementations, the last two lines
MAY instead be:
Bytes:
Lines:
even though they refer to metadata, not headers.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: HELP command for unsupported functions
Author: Julien ÉLIE
Date: Sat, 23 Aug 2008 19:10
Date: Sat, 23 Aug 2008 19:10
25 lines
2030 bytes
2030 bytes
Hi Russ, > This was anticipated in RFC 3977 and we're allowed to continue to use the > old style. Sure but it is a MUST here: > The information contains one line per field in the order in which they > are returned by the OVER command; the first 7 lines MUST (except for > the case of letters) be exactly as follows: and not a SHOULD... > For compatibility with existing implementations, the last two lines > MAY instead be: It MAY. -- Julien ÉLIE « -- Gallo-pin ! -- Il a toujours été comme ça... C'est une brute gallo-née ! » (Astérix)
Re: HELP command for unsupported functions
Author: Russ Allbery
Date: Sat, 23 Aug 2008 19:16
Date: Sat, 23 Aug 2008 19:16
24 lines
2011 bytes
2011 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Sure but it is a MUST here:
>
>> The information contains one line per field in the order in which they
>> are returned by the OVER command; the first 7 lines MUST (except for
>> the case of letters) be exactly as follows:
>
> and not a SHOULD...
>
>> For compatibility with existing implementations, the last two lines
>> MAY instead be:
>
> It MAY.
If an RFC explicitly says that you MAY do something that contradicts a
previous MUST, it's generally intended to be read as an allowable special
exception. That's definitely the intention here.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: HELP command for unsupported functions
Author: Julien ÉLIE
Date: Sat, 23 Aug 2008 19:25
Date: Sat, 23 Aug 2008 19:25
13 lines
1841 bytes
1841 bytes
Hi Russ, > If an RFC explicitly says that you MAY do something that contradicts a > previous MUST, it's generally intended to be read as an allowable special > exception. That's definitely the intention here. Oh, that's great, thanks! -- Julien ÉLIE « Ralentissez ! Esclaves au travail ! » (Astérix)
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