🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #62610

Re: Xnews Huge Newsgroup List Won't Sort

#62610
From: spam-me.nyet D. F. Scott
Date: Wed, 21 Jun 2000 00:00
38 lines
3134 bytes
rich1@post.com (Rich) wrote in <8F5A9B1AAa12b6375c@west.usenetserver.com>:

>Sounds like he's using a 16-bit integer to store the group count, which 
>would make the limit 65,535 groups.
>
>Sorting the list alphabetically is easy, using a file sort utility or a 
>decent text editor to sort the newsrc file.  Sorting on any of the other 
>fields would require an update in the program.


Well, now you got me to thinking.  I should have taken a peek at the 
"newsrc" file before I started yakking.  Anyway, the file itself is 
perfectly sorted, subscribed groups first, followed by non-subscribed that 
starts with punctuation clear through to Z.  It just doesn't show up in the  
Xnews "Group" window in a sorted format.  So the bug is not in the act of 
sorting, but in the act of displaying the list and letting the user choose 
every group.

Your theory about the number 65,535 (2 ^ 16) is probably correct.  I 
checked Xnews' display window to see how far down the properly sorted 
groups appear.  Taking note of the last properly sorted newsgroup, I opened 
a text editor on the "newsrc" file for that newsgroup, and found that same 
listing on line #65,536.  My guess is that the Delphi class that Luu uses 
for displaying text, apportions the proper number of lines for itself, but 
then uses a 16-bit integer as an index for the scroll.  In other words, 
Delphi could be at fault here and not Luu.  Nonetheless, it's still a 
problem.  Luu, if you're out there, and you need me to talk to Borland 
about this, I will.

DFScott



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

Technical Details
Message-ID: <8F5ABFE62violetlight@204.181.81.113>
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
References: <8F5974E98violetlight@204.181.81.99> <8F5A9B1AAa12b6375c@west.usenetserver.com>

Show Full Headers
Complete Article Headers
Message-ID: <8F5ABFE62violetlight@204.181.81.113>
Subject: Re: Xnews Huge Newsgroup List Won't Sort
Date: Wed, 21 Jun 2000 00:00:00 +0000
From: spam-me.nyet (D. F. Scott)
References: <8F5974E98violetlight@204.181.81.99> <8F5A9B1AAa12b6375c@west.usenetserver.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: 637422107
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Comments: This message was posted through Newsfeeds.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
X-Trace: 21 Jun 2000 18:38:17 -0500, 209.43.47.110
X-Authenticated-User: ingenus@iquest.net
Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups.
User-Agent: Xnews/03.04.11
Newsgroups: news.software.readers
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!