Article View: news.software.readers
Article #1174Re: More than 1000 lines in .newsrc (rn) & active
From: 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
Technical Details
Message-ID:
<9841@ncrcan.Canada.NCR.CA>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!ncrcom!ncrlnk!ncrwat!ncrcan!tnelsonReferences:
<9799@ncrcan.Canada.NCR.CA>Show Full Headers
Complete Article Headers
Message-ID: <9841@ncrcan.Canada.NCR.CA> Subject: Re: More than 1000 lines in .newsrc (rn) & active Date: Tue, 11 Feb 1992 19:15:54 +0000 From: tnelson@ncrcan.Canada.NCR.CA (Tim Nelson) References: <9799@ncrcan.Canada.NCR.CA> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!ncrcom!ncrlnk!ncrwat!ncrcan!tnelson Newsgroups: news.software.readers Keywords: rn .newsrc active Reply-To: Tim.Nelson@Canada.NCR.COM Distribution: na Organization: NCR Canada Ltd. Mississauga, Ontario Lines: 48