🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #323

Re: Jumping newsgroups; Multi-page selections

#323
From: Kim F. Storm
Date: Tue, 01 May 1990 22:20
68 lines
2761 bytes
dpe1@praxis.co.uk (David Ellis) writes:

>I've noticed that when you use the `G' (goto) command to jump to a new
>newsgroup, the information on what articles you then read is lost. The
>articles are marked as read on the menu, but are re-presented as
>unread the next time you enter the newsgroup. This only happens when a
>new menu level is created: it doesn't happen if you use the `j' option.

Yes, that is the current logic!  And the explanation is simple:
.newsrc is only updated when groups are read on the top-most level.
In most cases, doing anything else is rather difficult, since nn
believes what is presently shown on the menu is a true reflection
of what .newsrc for that group should look like.

So let us say that you use the command:

	G some.group
	s some subject

Then you might have a menu with a mixture of read and unread articles, but
there may very well be other unread articles which are not currently shown.
So in general, a "sub-level" often means "danger -- cannot trust menu".

There is the special case of

	G some.unread.group
	u

which could register what you read in .newsrc.  However, once you have read
a group, the above command will reenter the already read group with the
menu built from the *original* .newsrc contents, so now it is in "danger
mode".  So the general rule is:

	Sub-level => no .newsrc update.

But it is an error that it is not said so on the menu - I'll fix that!


>2. Multi-Page Selections

>It might be useful to have a way of applying a command (eg.
>junk-articles) to all *unselected* articles.

Doesn't
	J U y
work ?

Thinking about it -- no it doesn't - it works, but it doesn't solve
the problem; it might be handy to have a command that was equivalent to
	J U y
	J S y
	JJJJ R y

But the following macro would do just that:

	define 1 (
		prompt "Kill all unselected articles?"
		?no return
		junk-articles 'U' yes
		junk-articles 'S' yes
		junk-articles 'J' 'J' 'J' 'R' yes
	)


-- 
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: <521@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!mcsun!sunic!dkuug!tidk!storm
References: <5055@newton.praxis.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <521@texas.dk>
Subject: Re: Jumping newsgroups; Multi-page selections
Date: Tue, 01 May 1990 22:20:03 +0000
From: storm@texas.dk (Kim F. Storm)
References: <5055@newton.praxis.co.uk>
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!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 68
Posted: Tue May 1 23:20:03 1990