[NNTP] LISTGROUP

Charles Lindsey chl at clerew.man.ac.uk
Mon Apr 25 06:20:17 PDT 2005


In <1gvgzza.1drfn101pjsxocM%pmrobinson at gmx.net> pmrobinson at gmx.net (Peter Robinson) writes:

>Charles Lindsey <chl at clerew.man.ac.uk> wrote:

>> In <1gve117.46mgxr12owtzdM%pmrobinson at gmx.net> pmrobinson at gmx.net
>> (Peter Robinson) writes:

>> >....  But in that case, what should happen to the
>> >current article pointer if there are articles in the group, but none in
>> >the range?
>> 
>> The same thing as happens if you select the group with GROUP, and then ask
>> for ARTICLE with that number (whatever that behaviour is).


>It's unhelpful to compare
> [C] LISTGROUP example.group 2-3
>with 
> [C] GROUP example.group
> [C] ARTICLE 2
>since they don't always leave the server in the same state (under this
>proposal).  For example, the final article pointer will be different if
>example.group has articles 1 and 3 only.

But that case does not fall within your original question (see above).
Clearly, in this case the current poiter should be set to 3.

Put it another way. LISTGROUP returns you a list of article numbers, in
numeric order. The current article should be set to the first number
returned. Exceptionally, if the list returned is empty, it should be set
to the first article that exists in the group,

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl at clerew.man.ac.uk      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5



More information about the ietf-nntp mailing list