Thread View: news.software.readers
2 messages
2 total messages
Started by Tim Nelson
Wed, 05 Feb 1992 22:47
More than 1000 lines in .newsrc (rn)
Author: Tim Nelson
Date: Wed, 05 Feb 1992 22:47
Date: Wed, 05 Feb 1992 22:47
34 lines
1805 bytes
1805 bytes
I am running rn version 4.3 (I know it is not the latest, but we are using it), and have not been able to figure out how to allow the .newsrc file to have more than 1000 lines in it. I am hoping that the following will help, but I am unsure whether it will fix everything that I need: ------------------------------- Change /appl/news/src/defs.h #define LINES 512 /* maximum no. of lines in .newsrc */ to #define LINES 1536 /* maximum no. of lines in .newsrc */ Change /appl/news/rn/common.h /* Space conservation section */ /* To save D space, cut down size of MAXRCLINE, NGMAX, VARYSIZE. */ #define MAXRCLINE 1536 /* number of lines allowed in .newsrc */ /* several parallel arrays affected. */ /* (You can have more lines in the active file, */ /* just not in the .newsrc) */ #define HASHSIZ 2477 /* should be prime, and at least MAXRCLINE + 10% */ ------------------------------- Is there anyone out there who has figured out how to have a .newsrc of more than 1000 lines? Please let me know. Send email to tim.nelson@Canada.ncr.com NOT canada.ncr.ca. thanx -- Tim.Nelson@Canada.NCR.COM NCR Canada +1 416 819 4112
Re: More than 1000 lines in .newsrc (rn) & active
Author: Tim Nelson
Date: Tue, 11 Feb 1992 19:15
Date: Tue, 11 Feb 1992 19:15
48 lines
2450 bytes
2450 bytes
In article <9799@ncrcan.Canada.NCR.CA> Tim.Nelson@Canada.NCR.COM (me) writes: >I am running rn version 4.3 (I know it is not the latest, but we are using it), >and have not been able to figure out how to allow the .newsrc file to have >more than 1000 lines in it. > >Change /appl/news/src/defs.h >#define LINES 512 /* maximum no. of lines in .newsrc */ >to >#define LINES 1536 /* maximum no. of lines in .newsrc */ > >Change /appl/news/rn/common.h >/* Space conservation section */ > >/* To save D space, cut down size of MAXRCLINE, NGMAX, VARYSIZE. */ >#define MAXRCLINE 1536 /* number of lines allowed in .newsrc */ > /* several parallel arrays affected. */ > /* (You can have more lines in the active file, */ > /* just not in the .newsrc) */ >#define HASHSIZ 2477 /* should be prime, and at least MAXRCLINE + 10% */ I have received replies indicating that this would fix the problem, and that the better way to go is through upgrading to rn 4.4. The upgrade will likely have to wait, so I am looking for another item. We have fixed the problem with the .newsrc file, but rn complains when the active file (/usr/lib/news/active) is more than 1000 lines. The newsgroups below the 1000th line come out as: Warning: Bogus newsgroup! or something like that. The newsgroup I was trying to reference as an example is talk.bizarre. It is found in my 1 line .newsrc file, in the /usr/spool/news directory, in /usr/lib/news/newsgroups, and as line 1100 in /usr/lib/news/active. Anyone have a solution for this one? Send email to tim.nelson@Canada.ncr.com NOT canada.ncr.ca. thanx -- Tim.Nelson@Canada.NCR.COM NCR Canada +1 416 819 4112 -- Tim.Nelson@Canada.NCR.COM NCR Canada +1 416 819 4112
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