🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8709

Re: How to mark ALL newsgroups as read using rn?

#8709
From: Sridhar Venkataraman
Date: Mon, 25 Apr 1994 15:43
24 lines
1681 bytes
jchauvin@netcom.com (John H. Chauvin) writes:

| Is it possible to mark all newsgroups listed in my .newsrc file as read using
| the news reader rn? I would like to do this from the command line not
| at the newsgroup selection prompt.(i.e. using the c option) since I would
| have to do this for every newsgroup (I have a lot) .

I doubt that you could write a macro for rn since rn doesn't
distinguish the "End of Newsgroups" prompt from the prompt for any
newsgroups (%m = n for both).

I have this macro posted sometime back by Wayne for trn.

z	%(%m=f?q:%(%m=n?cy^(z^):z)

Plug this into ~/.trnmac if you use trn.  DON'T try this with rn since
it will go into an infinite loop.  Also comment this macro once you
are done or enter it at the newsgroup selection prompt using 
"&&z %(%m=f..." manually since it might spoil your .newsrc some other
time.

btw, you can substitute z by any other letter(s) in the macro.

Sridhar.
Technical Details
Message-ID: <199404251547.IAA15212@homecheese.eas.asu.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.readers.mbox.zip!gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!not-for-mail
References: <jchauvinCotH7L.KsK@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <199404251547.IAA15212@homecheese.eas.asu.edu>
Subject: Re: How to mark ALL newsgroups as read using rn?
Date: Mon, 25 Apr 1994 15:43:43 +0000
From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman)
References: <jchauvinCotH7L.KsK@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!not-for-mail
Newsgroups: news.software.readers
Organization: ASU, Tempe, AZ USA
Lines: 24
Sender: daemon@cs.utexas.edu
NNTP-Posting-Host: cs.utexas.edu