Thread View: news.software.nn
3 messages
3 total messages
Started by Robert Lipe
Wed, 02 Mar 1994 23:38
How to not pull an entire news feed across a slow line
Author: Robert Lipe
Date: Wed, 02 Mar 1994 23:38
Date: Wed, 02 Mar 1994 23:38
26 lines
2023 bytes
2023 bytes
Hi, I have a Solaris 2.3 box that runs nnmaster a couple of times/day to nntp (via a 64kbit ISDN line) to a site providing me w/ NNTP access. They get a whole news feed. I don't want one. I don't mind the connection time for the actual article reads. Unfortunately, to get just the indexes transferred and built, we're looking at almost 5 hours a day of connect time. How can I convince nnmaster to stop transferring the headers for every newsgroup that exists? If I do the semi-obvious and try a nnadmin->groups->zap, I get a 'rmgroup' not found, since I don't have that program. (and can't believe that I have to build C news just to *delete* functionality, since everything seems to be running well. Is the right thing to to do "turn them off" in GROUPS by preceding most of the lines with a '!', and running nnmaster -G? An then, I just have to remember once in a while to go back and "turn off" the seemingly endless array of newgroup, right? Any pointers would be appreciated. Thanx, Robert Lipe Sr. Software Engr. Arnet Corp. robertl@arnet.com
Re: How to not pull an entire news feed across a slow line
Author: Tony Luck
Date: Fri, 04 Mar 1994 17:46
Date: Fri, 04 Mar 1994 17:46
28 lines
2260 bytes
2260 bytes
robertl@arnet.com (Robert Lipe) writes: >How can I convince nnmaster to stop transferring the headers for >every newsgroup that exists? Maybe there's a way to do it by modifying the 'GROUPS' file, or playing with 'nnadmin' ... I didn't even think of trying that, I just went in with a crowbar and fixed "nntp.c". The changes I made were to make it read a file of prefixes that I was interested in, and then when it grabbed a copy of the active file, prune out the lines that I didn't care about. Thus the rest of the nn code never even realizes that the other groups exist. The code is not well integrated into the rest of nn (the name of the file of prefixes is hard-wired instead of being configurable, I expect that there are already routines to match group names elsewhere in the nn code, but I didn't want to read all the source to find them ... on the plus side all of the changes are localized to nntp.c, and the code does seem to work). The nntp.c I used as a base was from nn-6.4.18 as I found it on uunet last December. If anyone wants it, drop me a line. If I get more than about 10 requests I'll post it here. -- Tony "The problem, of course, was that even though the information was coming a lot faster, the vast majority of it, having originated with human beings, was still wrong. Eventually people realized that the Information Superhighway was essentially CB radio, but with more typing." -- Dave Barry
Re: How to not pull an entire news feed across a slow line (Solved!)
Author: Robert Lipe
Date: Fri, 04 Mar 1994 23:05
Date: Fri, 04 Mar 1994 23:05
28 lines
1982 bytes
1982 bytes
aegl@alpine.swdc.stratus.com (Tony Luck) writes: >robertl@arnet.com (Robert Lipe) writes: >>How can I convince nnmaster to stop transferring the headers for >>every newsgroup that exists? >Maybe there's a way to do it by modifying the 'GROUPS' file, or playing >with 'nnadmin' ... I didn't even think of trying that, I just went in I was pointed by a kind chap to a section in the nnmaster man page that helps do exactly what I needed. If you edit GROUPS (not while nnmaster is running) and replace or append a '@' to the line in question (being careful not to reorder or add/delete any lines) you will get all the groups recreated on your next nnmaster. Clearly not my intention, since it will then regather all the groups. So, the solution is to append a '!' to the lines representing the (many) newsgroups that are not interesting. It'll then simply not gather those groups. >with a crowbar and fixed "nntp.c". The changes I made were to make it >read a file of prefixes that I was interested in, and then when it grabbed That's an interesting solution, but I got it fixed last night. Thanx for your reply. RJL
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