Thread View: news.software.readers
8 messages
8 total messages
Started by D. F. Scott
Tue, 20 Jun 2000 00:00
Xnews Huge Newsgroup List Won't Sort
Author: D. F. Scott
Date: Tue, 20 Jun 2000 00:00
Date: Tue, 20 Jun 2000 00:00
39 lines
3419 bytes
3419 bytes
First of all, my heartfelt thanks to Luu Tran for the personal effort he puts into the Xnews program. That said, I have what may be a bug to report, unless there's an easy fix I'm missing: I've just recently subscribed to a for-fee Usenet server, Usenet-Access.com, mainly because I've grown tired of using NNTP servers that drop one out of every three or four posts as a way of saving space. (What's the point of replying to someone if there's a one-in-three chance his server won't show it?) Anyway, the service certainly lives up to its billing...Some of its 10 servers list over 80,000 newsgroups. Let's call the total number of newsgroups _x_ for the sake of argument. After Xnews has downloaded one of these lists, it cannot properly sort that list by any field. An alphabetical sort by "All Groups" results in the first _n_ newsgroups (value of _n_ to be determined) being properly sorted, then the remaining _x_ - _n_ listings are duplicates of the first newsgroups in the list. Subscribed groups are duplicated at the top. I cannot delete a newsgroup from the duplicate list, but I can delete one from the upper bunch--the properly sorted bunch. When I do that, _x_ is subtracted by one. But _n_ stays the same, so the first _n_ newsgroups are always properly sorted. Deleting one newsgroup therefore adds one newsgroup to the bottom of the properly sorted bunch--for me right now, someplace around "nyu.general." I imagine if I were to manually delete _x_ - _n_ newsgroups from the list, I would eventually end up with a properly sorted list from 0-Z. Is there an easy fix for this problem that expands the maximum number of newsgroups a server can have, so the listing of groups doesn't wrap around to the first set like a great game of Tempest? My thanks to Luu or anyone else for their help. DF "You Remember Tempest, Don't You?...Dang, I'm Gettin' Old" Scott -----= 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! =-----
Re: Xnews Huge Newsgroup List Won't Sort
Author: GM
Date: Wed, 21 Jun 2000 00:00
Date: Wed, 21 Jun 2000 00:00
24 lines
1288 bytes
1288 bytes
On 20 Jun 2000 Golem wrote: >I have no answer to your question but your message makes me want to ask >you something. > >Why do you mention "subscribed to a [for-fee] Usenet server" when it is >not free? I visited the page and they ask for $6 a month. Where is the >free site. > > >Golem > > Correct me if I'm wrong, but methinks that for-fee means exactly that you have to pay. -- Gregory Make this a valid address: put the land before the news.
Re: Xnews Huge Newsgroup List Won't Sort
Author: spam-me.nyet D. F. Scott
Date: Wed, 21 Jun 2000 00:00
Date: Wed, 21 Jun 2000 00:00
38 lines
3134 bytes
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! =-----
Re: Xnews Huge Newsgroup List Won't Sort
Author: Rich
Date: Wed, 21 Jun 2000 00:00
Date: Wed, 21 Jun 2000 00:00
18 lines
1483 bytes
1483 bytes
On Tue, 20 Jun 2000 17:02:24 GMT, D. F. Scott <private@address.nyet> wrote: >Some of its 10 servers list over 80,000 newsgroups. Let's >call the total number of newsgroups _x_ for the sake of argument. >After Xnews has downloaded one of these lists, it cannot properly >sort that list by any field. 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.
Re: Xnews Huge Newsgroup List Won't Sort
Author: Golem
Date: Wed, 21 Jun 2000 00:00
Date: Wed, 21 Jun 2000 00:00
61 lines
3417 bytes
3417 bytes
I have no answer to your question but your message makes me want to ask you something. Why do you mention "subscribed to a [for-fee] Usenet server" when it is not free? I visited the page and they ask for $6 a month. Where is the free site. Also, if you are at usenet-access why are you posting from newsfeed.com? Just wanted to know. Feel free to ignore. Golem private@address.nyet (D. F. Scott) wrote in <8F5974E98violetlight@204.181.81.99>: >First of all, my heartfelt thanks to Luu Tran for the personal effort he >puts into the Xnews program. > >That said, I have what may be a bug to report, unless there's an easy fix >I'm missing: I've just recently subscribed to a for-fee Usenet server, >Usenet-Access.com, mainly because I've grown tired of using NNTP servers >that drop one out of every three or four posts as a way of saving space. >(What's the point of replying to someone if there's a one-in-three chance >his server won't show it?) Anyway, the service certainly lives up to its >billing...Some of its 10 servers list over 80,000 newsgroups. Let's call >the total number of newsgroups _x_ for the sake of argument. After Xnews >has downloaded one of these lists, it cannot properly sort that list by any >field. An alphabetical sort by "All Groups" results in the first _n_ >newsgroups (value of _n_ to be determined) being properly sorted, then the >remaining _x_ - _n_ listings are duplicates of the first newsgroups in the >list. Subscribed groups are duplicated at the top. > >I cannot delete a newsgroup from the duplicate list, but I can delete one >from the upper bunch--the properly sorted bunch. When I do that, _x_ is >subtracted by one. But _n_ stays the same, so the first _n_ newsgroups are >always properly sorted. Deleting one newsgroup therefore adds one >newsgroup to the bottom of the properly sorted bunch--for me right now, >someplace around "nyu.general." I imagine if I were to manually delete _x_ >- _n_ newsgroups from the list, I would eventually end up with a properly >sorted list from 0-Z. > >Is there an easy fix for this problem that expands the maximum number of >newsgroups a server can have, so the listing of groups doesn't wrap around >to the first set like a great game of Tempest? My thanks to Luu or anyone >else for their help. > >DF "You Remember Tempest, Don't You?...Dang, I'm Gettin' Old" Scott > > >-----= 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! =----- >
Re: Xnews Huge Newsgroup List Won't Sort
Author: Golem
Date: Wed, 21 Jun 2000 00:00
Date: Wed, 21 Jun 2000 00:00
30 lines
1548 bytes
1548 bytes
marti@mainews.com.invalid (GM) wrote in <8F5ABDCFSG2ALA3GS@63.211.125.91>: >On 20 Jun 2000 Golem wrote: > >>I have no answer to your question but your message makes me want to ask >>you something. >> >>Why do you mention "subscribed to a [for-fee] Usenet server" when it is >>not free? I visited the page and they ask for $6 a month. Where is the >>free site. >> >> >>Golem >> >> > >Correct me if I'm wrong, but methinks that for-fee means exactly that you >have to pay. > Damn!!! Read that line ten time. Totally missed that. Sorry. I was in the process of posting a message to ask about FREE news services. Must have had that in mind when I read. Thanks for the heads up. Golem
Re: Xnews Huge Newsgroup List Won't Sort
Author: spam-me.nyet D. F. Scott
Date: Thu, 22 Jun 2000 00:00
Date: Thu, 22 Jun 2000 00:00
38 lines
3093 bytes
3093 bytes
rich1@post.com (Rich) wrote in <8F5B632D9a12b6375c@west.usenetserver.com>: >Ah. Fortunately none of my servers has more then, umm, 52,000 groups, >so I'm safe for a while. > >Your workaround would be to break your newsrc into pieces of no more >than 65,535 groups, and make a separate server entry for each one (or >delete some groups from your single newsrc to bring it down to 65,535). > > > Good idea, Rich. Here's what I did: For one of the servers, I created two new separate "newsrc" files, one with newsgroups starting with characters up to letter M, the second with N through Z. Next, I used "Setup Xnews" to create two "Clone" groups, one subtitled "0-M," the next "N-Z." I modified their setups so that each one pointed to its respective split "newsrc" file. Now, Xnews has two server listings for the same server, but it doesn't know the difference just yet. The only problem I foresee is in using the F6 key to check for new newsgroups; there's no way to tell the server to filter out those newsgroups that begin with certain letters. But for now, I can simply resort, then delete the unwanted groups from the "newsrc" files. It's a decent workaround until a bug fix comes around. Thanks very much. DF c S ott ^ ^ | | letters A-M section letters N-Z section of signature of signature -----= 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! =-----
Re: Xnews Huge Newsgroup List Won't Sort
Author: Rich
Date: Thu, 22 Jun 2000 00:00
Date: Thu, 22 Jun 2000 00:00
18 lines
1684 bytes
1684 bytes
On Wed, 21 Jun 2000 23:38:17 GMT, D. F. Scott <spam-me.nyet> wrote: >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. Ah. Fortunately none of my servers has more then, umm, 52,000 groups, so I'm safe for a while. Your workaround would be to break your newsrc into pieces of no more than 65,535 groups, and make a separate server entry for each one (or delete some groups from your single newsrc to bring it down to 65,535).
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