🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #19720

Re: Lost .jnewsrc

#19720
From: Larry W. Virden
Date: Sun, 03 Mar 1996 00:00
31 lines
1872 bytes
Well, that's certainly true, but there is not always a choice - I find
that at least once every 2-3 months my system gets hung in a state which
does not permit me to do a shut down.  And then there are those pesky
power outages and spikes.

As for 'easily preventable', one should be able to prevent 0 length
newsrc files, but not prevent temporary loss of newsrc.  The prevent the
0 length is to create the new newsrc as a separate files, then to do
a

ln .jnewsrc .jnewsrcold
rm .jnewsrc
ln .jnewsrcnew .jnewsrc
rm .jnewsrcnew

At start up, one needs to be sure that one doesn't start mangling existing
.jnewsrcold files if there is no .jnewsrc or one exists but is 0 length.
One also needs to ask the user which file to use if there is no .jnewsrc
but there are .jnewsrcold and .jnewsrcnew and they both are non-0 length
(and not identical).

Other conditions?

-- 
:s Larry W. Virden                 INET: lvirden@cas.org
:s <URL:http://www.teraform.com/%7Elvirden/> <*>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.

Technical Details
Message-ID: <4hc24h$gge@srv13s4.cas.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4jat5v.h1.rosentha@aauobs.obs.aau.dk> <slrn4jc07p.fr3.davis@wiwaxia.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4hc24h$gge@srv13s4.cas.org>
Subject: Re: Lost .jnewsrc
Date: Sun, 03 Mar 1996 00:00:00 +0000
From: lwv26@cas.org (Larry W. Virden)
References: <slrn4jat5v.h1.rosentha@aauobs.obs.aau.dk> <slrn4jc07p.fr3.davis@wiwaxia.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 141899971
Content-type: text/plain; charset=US-ASCII
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-version: 1.0
Reply-to: lvirden@cas.org
Newsgroups: news.software.readers
Originator: lwv26@cas.org (Larry W. Virden)