🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5643

nn bug report: Corrupted .newsrc

#5643
From: Preston F. Crow
Date: Wed, 30 Mar 1994 21:14
103 lines
4085 bytes
I tried to mail this, but it bounced.  I guess the bug-report address has
changed recently.

Date: Wed, 30 Mar 1994 23:09:09 +0200
From: Mail Delivery Subsystem <MAILER-DAEMON@dkuug.dk>
To: crow@coos.dartmouth.edu
Cc: error-copy@dkuug.dk
Subject: Returned mail: Host unknown
X-Charset: ASCII
X-Char-Esc: 29

   ----- Transcript of session follows -----
550 zeus.DIALix.oz.au (TCPc)... 550 Host unknown
554 nn-bugs@zeus.DIALix.oz.au... 550 Host unknown (Authoritative answer from
name server)

   ----- Unsent message follows -----
Received: from coos.dartmouth.edu by dkuug.dk with SMTP id AA27966
  (5.65c8/IDA-1.4.4j for <nn-bugs@dkuug.dk>); Wed, 30 Mar 1994 23:09:09 +0200
Received: by coos.dartmouth.edu (5.65/DEC-Ultrix/4.3)
        id AA20914; Wed, 30 Mar 1994 16:09:07 -0500
Date: Wed, 30 Mar 1994 16:09:07 -0500
From: crow@coos.dartmouth.edu (Preston F. Crow)
Message-Id: <9403302109.AA20914@coos.dartmouth.edu>
To: nn-bugs@dkuug.dk, peter.schmitt@dartvax.dartmouth.edu,
        crow@coos.dartmouth.edu
Subject: nn bug report
X-Charset: US-DK
X-Char-Esc: 29

I believe I've found an interesting bug in nn:

Sometimes I manually add lines to my newsrc file (after Grepping the
master list).  This usually works fine, but if I accidentally add a
group that's already in my newsrc, the next time I run nn, it not only
deletes the duplicate entry, but also all the entries between them.

=== configuration ===
VERSION="6.4.18"
INEWS="/usr/local/lib/nn/inews"
INEWS_DIR="/usr/local/lib/nn"
AWK="awk"
NNTP=true       ACTIVE=/usr/spool/nndb/ACTIVE
NNTPCACHE=
LOG=/usr/local/lib/nn/Log
TMP=${TMPDIR-/usr/tmp}
DB=/usr/spool/nndb
BIN=/usr/local/bin
LIB=/usr/local/lib/nn
RECMAIL="/usr/lib/sendmail -t"
SPOOL=/usr/spool/news
NLIB=/usr/lib/news
MASTER=/usr/local/lib/nn
HELP=/usr/local/lib/nn/help
DBDATA="/usr/spool/nndb/DATA"
DBSHORTNAME=true
OWNER=news      GROUP=news
AUTH=false
#define RELEASE         "6.4"
#include <stdio.h>
#include <ctype.h>
#define NETWORK_DATABASE
#define NNTP
#define NNTP_SERVER     "/usr/local/lib/nn/nnserver"
#define NNTP_POST
#include "s-ultrix.h"
#define DEFAULT_PAGER           "more"
#define DEFAULT_PRINTER "lpr -p -JNEWS"
#define RESIZING
#include "m-dec3100.h"
#define OWNER   "news"
#define GROUP   "news"
#define BIN_DIRECTORY   "/usr/local/bin"
#define LIB_DIRECTORY   "/usr/local/lib/nn"
#define DB_DIRECTORY    "/usr/spool/nndb"
#define NEWS_DIRECTORY          "/usr/spool/news"
#define NEWS_LIB_DIRECTORY      "/usr/lib/news"
#define INEWS_PATH              "/usr/local/lib/nn/inews"
#define REC_MAIL        "/usr/lib/sendmail -t"
#define HAVE_ROUTING
#define APPEND_SIGNATURE
#define BUG_REPORT_ADDRESS      "nn-bugs@dkuug.dk peter.schmitt@dartmouth.edu"
#define STATISTICS      5
#define FOLDER_DIRECTORY        "~/News"
#define NAME_LENGTH             16
#include "global.h"
=== variable settings ===
also-subgroups='off'
append-signature-mail='off'
append-signature-post='off'
backup-suffix='~'
collapse-subject='-1'
consolidated-menu='on'
editor='emacs'
header-lines='=D =F =S =n'
include-art-id='on'
news-record='/people/crow/text/post'
newsrc='/people/crow/.nn/newsrc'
=== end ===
--
/***************************/
/* It's not soda, it's pop */
/***************************/
Technical Details
Message-ID: <2ncq3f$a6k@dartvax.dartmouth.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!newsserver.jvnc.net!yale.edu!noc.near.net!MathWorks.Com!paladin.american.edu!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.net.csuchico.edu!charnel!olivea!news.bu.edu!dartvax.dartmouth.edu!coos.dartmouth.edu!crow

Show Full Headers
Complete Article Headers
Message-ID: <2ncq3f$a6k@dartvax.dartmouth.edu>
Subject: nn bug report: Corrupted .newsrc
Date: Wed, 30 Mar 1994 21:14:23 +0000
From: crow@coos.dartmouth.edu (Preston F. Crow)
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!newsserver.jvnc.net!yale.edu!noc.near.net!MathWorks.Com!paladin.american.edu!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.net.csuchico.edu!charnel!olivea!news.bu.edu!dartvax.dartmouth.edu!coos.dartmouth.edu!crow
Newsgroups: news.software.nn
Organization: Dartmouth College, Hanover, NH, USA
Lines: 103
NNTP-Posting-Host: coos.dartmouth.edu