🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #927

Re: subj present ordering

#927
From: Kim F. Storm
Date: Thu, 20 Sep 1990 18:42
36 lines
2232 bytes
heiby@mcdchg.chg.mcd.mot.com (Ron Heiby) writes:

>I moderate comp.newprod.  Earlier today, I posted 10 articles that had
>come into my in-box (using inews to post).  This afternoon, I see all
>ten in the newsgroup as NN presents it to me.  However, I notice that
>the order of the articles is not the same as the order of the articles
>in the newsgroup directory.  Each subject is different.  I've tried to
>figure out how they're sorted.

They are sorted according to the "age of the subject".

This means that nn groups all articles with the same subject into
separate groups, and then sorts these groups according to the Date:
header of the oldest article in each group.

In your case, the subjects were all different, so this narrows down
to simply sorting the articles according to the Date: header.

But why the Date: headers and the article numbers are not synchronized
when all the articles are posted on your local system I don't know.
The only good explanation would be that the Date: header is identical
on several articles and consequently the order will be arbitrarily
determined by the internal logic of qsort.

There is a fix in patch #10 which will always give a deterministic
ordering with the article number (and article offset in digests) as
the last resort if both the subject and the date are identical for
two articles.

In any case you can define the sorting method via the sort-mode
variable to be "article number only", "date only", "subject only"
and other variants as specified in the manual.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <678@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <45330@mcdchg.chg.mcd.mot.com>

Show Full Headers
Complete Article Headers
Message-ID: <678@texas.dk>
Subject: Re: subj present ordering
Date: Thu, 20 Sep 1990 18:42:22 +0000
From: storm@texas.dk (Kim F. Storm)
References: <45330@mcdchg.chg.mcd.mot.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 36
Posted: Thu Sep 20 19:42:22 1990