🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6152

Re: NOV

#6152
From: Chuck Hedrick
Date: Mon, 25 Jul 1994 00:50
91 lines
3588 bytes
parker@ehsn17.cen.uiuc.edu (Robert Scott Parker) writes:

>However, he says once we get some new hardware we will be running
>"INN with NOV enabled.  If a NOV-aware version of nn is available
>then pseudo-threading features will work."

There's a version of 4.6.18 that uses NOV (overview).  The INN
distribution points to a directory containing overview-based versions
of several readers.  The location given is
world.std.com:src/news/*.dist.tar.Z.  I believe it turns out to be on
ftp.std.com instead.  Anyway, the nn there works for me, though I
needed a couple of patches.  In addition to this, you need the
overview libraries, which comes in a separate nov package.  Presumably
your site already has or will have this.

In the patches below, the first one is needed for Solaris 2, since it
doesn't have Berkeley library routines in the normal libc.  The second
one fixes an odd bug that has nothing to do with overview, but seems
to have been added by whoever installed the overview code.  (The
symptom is that if you go to a previous article with "b" and then back
to the next with "n", you'll see only part of the article.)

*** db.c.ORIG	Mon Jul  4 03:05:52 1994
--- db.c	Mon Jul  4 03:04:50 1994
***************
*** 433,439 ****
  	(void) fclose(actfp);
  
  	/* init the master struct */
! 	bzero(&master, sizeof(master));
  	master.number_of_groups = count;
  }
  
--- 433,439 ----
  	(void) fclose(actfp);
  
  	/* init the master struct */
! 	memset(&master,0, sizeof(master));
  	master.number_of_groups = count;
  }
  
***************
*** 485,491 ****
  {
  	register char *line;
  
! 	bzero(gh, sizeof(struct group_header));	/* tidy up the struct */
  	gh->group_num = num;
  	setgrpname(gh);
  	gh->master_flag = M_VALID;
--- 485,491 ----
  {
  	register char *line;
  
! 	memset(gh, 0, sizeof(struct group_header));	/* tidy up the struct */
  	gh->group_num = num;
  	setgrpname(gh);
  	gh->master_flag = M_VALID;
*** more.c.ORIG	Sun Jul 24 20:42:01 1994
--- more.c	Sat Jul 23 01:30:42 1994
***************
*** 310,315 ****
--- 310,317 ----
  	struct stat statb;
  
  	ah->hpos = 0;
+ 	if (startpos != 0)
+ 		fseek(art, 0, 0); 
  	while (fgets(line, sizeof line, art) != NULL)
  		if (*line == '\n') {		/* end of headers? */
  			ah->fpos = ftell(art);
***************
*** 411,418 ****
  	send_date[39] = NUL;
  	if (lp = strrchr(send_date, ':')) *lp = NUL;
      }
! 
  	setpos(ah, art);
      linepos[0] = ah->hpos;
      linepos[1] = firstl = ah->fpos;
      maxline = 1;
--- 413,421 ----
  	send_date[39] = NUL;
  	if (lp = strrchr(send_date, ':')) *lp = NUL;
      }
!     if (! ah->fpos)
  	setpos(ah, art);
+ 
      linepos[0] = ah->hpos;
      linepos[1] = firstl = ah->fpos;
      maxline = 1;
Technical Details
Message-ID: <30v29d$a9q@geneva.rutgers.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!newsserver.jvnc.net!igor.rutgers.edu!geneva.rutgers.edu!not-for-mail
References: <mharrop-1507941712030001@power.interlog.com> <30ba48$brv@nyx10.cs.du.edu> <30ph04$8js@vixen.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <30v29d$a9q@geneva.rutgers.edu>
Subject: Re: NOV
Date: Mon, 25 Jul 1994 00:50:53 +0000
From: hedrick@geneva.rutgers.edu (Chuck Hedrick)
References: <mharrop-1507941712030001@power.interlog.com> <30ba48$brv@nyx10.cs.du.edu> <30ph04$8js@vixen.cso.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!newsserver.jvnc.net!igor.rutgers.edu!geneva.rutgers.edu!not-for-mail
Newsgroups: news.software.nn
Organization: Rutgers University LCSR
Lines: 92
Sender: netnews@geneva.rutgers.edu
NNTP-Posting-Host: geneva.rutgers.edu