🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Hunter Scales Sat, 24 Mar 1990 21:38
How to revert rc?
#231
Author: Hunter Scales
Date: Sat, 24 Mar 1990 21:38
9 lines
877 bytes
	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?

-- 
Motorola Semiconductor Inc.                Hunter Scales
Austin, Texas             {harvard,utah-cs,gatech}!cs.utexas.edu!oakhill!hunter
#include <disclaimer.h>
Re: How to revert rc?
#224
Author: Leo Pinard
Date: Sun, 25 Mar 1990 09:49
16 lines
1265 bytes
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.

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.
-- 
Leo Pinard  WA1SXE leo@aai.uu.net  ...!uunet!aai!leo
Re: How to revert rc?
#246
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads