🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4307

Re: nn bug...

#4307
From: Peter Orbaek
Date: Fri, 11 Jun 1993 10:37
71 lines
2826 bytes
epstein@sparc0a.cs.uiuc.edu (Milt Epstein) writes:

>In <1v8l7j$kp9@werple.apana.org.au> hunter@werple.apana.org.au (James Gardiner) writes:

>>New nn bug....
>>
>>you mark your messages start reading them...
>>Go back to the list with the "=" key.
>>start reading them again "space"  The first  3-5 lines of the message
>>you where reading when you did the "=" command dissapear.
>>Do it over and over and more and more of the message disappears.

I experienced the same bug with 6.4.18 + NOV. It can be fixed in 
more.c, by the following patch. The patch also makes reading digest-folders
work correctly for me.

-------- cut here -------------
*** more.save.c Sat Sep 26 10:17:38 1992
--- more.c      Fri Jun 11 12:34:27 1993
***************
*** 309,314 ****
--- 309,316 ----
        char line[1024];
        struct stat statb;

+       if(ah->flag & A_FOLDER) return; /** to work with folders ** - poe */
+
        ah->hpos = 0;
        while (fgets(line, sizeof line, art) != NULL)
                if (*line == '\n') {            /* end of headers? */
***************
*** 367,373 ****

      if (ah->a_group != NULL) init_group(ah->a_group);

!     open_modes = SKIP_HEADER;
      if (show_article_date || header_lines) {
        open_modes |= FILL_NEWS_HEADER;
        if (header_lines == NULL)
--- 369,376 ----

      if (ah->a_group != NULL) init_group(ah->a_group);

!     /** open_modes = SKIP_HEADER; ** - poe */
!     open_modes = 0;
      if (show_article_date || header_lines) {
        open_modes |= FILL_NEWS_HEADER;
        if (header_lines == NULL)
***************
*** 412,418 ****
        if (lp = strrchr(send_date, ':')) *lp = NUL;
      }

!       setpos(ah, art);
      linepos[0] = ah->hpos;
      linepos[1] = firstl = ah->fpos;
      maxline = 1;
--- 415,421 ----
        if (lp = strrchr(send_date, ':')) *lp = NUL;
      }

!     setpos(ah, art);
      linepos[0] = ah->hpos;
      linepos[1] = firstl = ah->fpos;
      maxline = 1;
-------- cut here ---------

	- Peter.
-- 
Peter Orbaek <poe@daimi.aau.dk>
Hasle Ringvej 122, DK-8200 Aarhus N, DENMARK
Technical Details
Message-ID: <1v9n9n$j7m@sezanne.daimi.aau.dk>
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!gmd.de!Germany.EU.net!mcsun!dkuug!uts!daimi!news.daimi.aau.dk!not-for-mail
References: <1v8l7j$kp9@werple.apana.org.au> <C8FvC0.3ts@sparc0a.cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1v9n9n$j7m@sezanne.daimi.aau.dk>
Subject: Re: nn bug...
Date: Fri, 11 Jun 1993 10:37:43 +0000
From: poe@daimi.aau.dk (Peter Orbaek)
References: <1v8l7j$kp9@werple.apana.org.au> <C8FvC0.3ts@sparc0a.cs.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!gmd.de!Germany.EU.net!mcsun!dkuug!uts!daimi!news.daimi.aau.dk!not-for-mail
Newsgroups: news.software.nn
Organization: DAIMI, Computer Science Dept. at Aarhus University
Lines: 71
NNTP-Posting-Host: sezanne.daimi.aau.dk