Thread View: news.software.nntp
2 messages
2 total messages
Started by Sean Starkey
Wed, 20 Jul 1994 19:26
Help with trn/nntp/inews using slip
Author: Sean Starkey
Date: Wed, 20 Jul 1994 19:26
Date: Wed, 20 Jul 1994 19:26
25 lines
2018 bytes
2018 bytes
I have some questions about using trn over a nntp server. First some info... I am acessing the nntp server using trn over a slip connection. nntp server using trn over a slip connection. This seems to work fine, but is awfully slow. When trn starts up, it downloads the entire active file (which is about 300k) into the /tmp directory. This takes 2-3 minutes over my slip connection. Why does trn have to download the entire active file? Is there a way to make trn grab only what I need from the active file instead of the thousands of newsgroups I will never read? This symptom is three times as bad when I want to post an article using Pnews. The active file is downloaded twice (300kx2) and a file with the descriptions of all the newsgroups (which I don't care about) is downloaded. This means it takes me about 10 min to post one article. Ugh! Any help would be appreciated. Also, I would like to know what the "best" setup for just reading/posting articles to a nntp server is. Currently I'm using inews from INN to post articles. Is this the best, or can something simpler be used? Sean -- | Sean Starkey starkey@netcom.com | | <A HREF="ftp://netcom11.netcom.com/pub/starkey/meta.html">WWW page</A> |
Re: Help with trn/nntp/inews using slip
Author: Wayne Davison
Date: Mon, 25 Jul 1994 19:38
Date: Mon, 25 Jul 1994 19:38
64 lines
4133 bytes
4133 bytes
According to Sean Starkey <starkey@netcom.com>: > When trn starts up, it downloads the entire active file > (which is about 300k) into the /tmp directory. This takes 2-3 minutes over > my slip connection. Why does trn have to download the entire active file? Because trn was written before slip became popular. Using the active file in this way on a fast net connection is MUCH faster than issuing a bunch of GROUP commands (the GROUP command is VERY slow). Also, there is no other command that returns the moderated/noposting/redirected/etc. information associated with each group. A modified implementation of trn could be made to request the active file once, save it in the user's directory, and then append all new groups as they arrive. This would require using the NEWGROUPS command AND having an NNTP server that responds to the NEWGROUPS request with the active file format data. The reference nntp does not return the data in the proper format, though I have fixed this for nntp-t6 -- a work in progress. > Is there a way to make trn grab only what I need from the active file > instead of the thousands of newsgroups I will never read? Yes, but this requires an extension to the NNTP protocol that I have been advocating: the ability to quickly list the active file info for an individual group: LIST ACTIVE group.name I have gotten Rich Salz to agree to include such an extension in INN 1.5 (and gave him a quick-fix patch for INN 1.4) and have made the needed modifications for nntp-t6 and tested them using a modified trn. I like this approach much better than keeping a per-user version of the active file or having to implement a multi-user shared-writable active file on the system. > This symptom is three times as bad when I want to post an article using > Pnews. The active file is downloaded twice (300kx2) Pnews only grabs one copy of the active file, and only if it wasn't called from inside trn (in which case it uses trn's copy). I'd suggest you always post using 'f' from inside a newsgroup (or ".f" from the newsgroup prompt) while running trn. > and a file with the descriptions of all the newsgroups (which I don't > care about) is downloaded. There is already an easy fix for this that I expected news admins to take advantage of, but forgot to mention in the INSTALL doc. Since it is not as vital that the description file be accurate, I would suggest that one copy of the file be placed on your system and Pnews be modified to point the newsgroups variable at this file. Pnews already uses the environment variables NEWSGROUPS and NEWSACTIVE to locate pre-existing copies of these files, if you desire to use an unmodified Pnews script. Also, if you get a new version of the description file every week or so, that should be plenty (if you need to update it at all). You can even set NEWSGROUPS and NEWSACTIVE to /dev/null to disable the extra checking it does to validate your message. The next version of trn will have support for slow net connections via the aforementioned NNTP extension and the existing INN command to request single group descriptions. If anyone would like to try this out, drop me a line. -- Wayne Davison davison@borland.com
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