🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #246

Re: How to revert rc?

#246
From: Kim F. Storm
Date: Thu, 29 Mar 1990 16:07
36 lines
2311 bytes
leo@aai.uu.net (Leo Pinard) writes:

>hunter@oakhill.UUCP (Hunter Scales) writes:

>>	Is there any way to quit nn an have the rc revert to what it
>>	was before you started reading?  In other words, is there an
>>	equivalent feature to the "x" command in rn?

>As detailed in the 6.4 beta man page (33), the command :q! quits without
>updating the rc file.  But changes may have already been made according to the
>update-frequency variable (default 1) which causes .newsrc to be udated every
>time a group has been read.

No, :q! will restore the original .newsrc and exit - or at least that
is what it is supposed to do!  Do you have problems with that?

There is really no (easy) way to quit nn as Leo describes, i.e. keep
.newsrc as it is without updating it with the most recent changes.
But you can use the new 'J' command to unmark read articles etc.
before you (Q)uit.

>When nn starts up it makes a copy of .newsrc in .newsrc.bak.  An easy way to
>back out of a days reading is to just cp .newsrc.bak .newsrc.

That is right - provided that you only used nn once to do the "days reading".

The 'nngoback' program will provide a more flexible way to revert the
rc file, but I have not been able to fully test it (and now when I was
finally going to do it, we have just lost all the 'active.*' backup
files because the back_act due to a mistake was started twice
simultaneously - sigh).

-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Technical Details
Message-ID: <498@texas.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!gmdzi!unido!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!tidk!storm
References: <3135@cerberus.oakhill.UUCP> <1990Mar25.094901.10602@aai.uu.net>

Show Full Headers
Complete Article Headers
Message-ID: <498@texas.dk>
Subject: Re: How to revert rc?
Date: Thu, 29 Mar 1990 16:07:14 +0000
From: storm@texas.dk (Kim F. Storm)
References: <3135@cerberus.oakhill.UUCP> <1990Mar25.094901.10602@aai.uu.net>
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!gmdzi!unido!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 36
Posted: Thu Mar 29 17:07:14 1990