🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Kim F. Storm Thu, 30 Aug 1990 14:53
Re: De-selecting auto-selected articles
#832
Author: Kim F. Storm
Date: Thu, 30 Aug 1990 14:53
46 lines
2068 bytes
iann@cnw01.storesys.coles.oz.au (Ian Nicholls) writes:

>I have worked out a way of keeping articles unselected that would otherwise
>be automatically selected.

This property already exists in nn although this isn't clearly documented
in the manual.

>So, I added a kill command '-', which de-selects matching articles.

The following example will work *now* if you simply omit the '-'.

>You have to add the de-select line before the select line in your kill file:
>I think the order has something to do with the linked lists used to store
>the various patterns.
>	e.g.	/amiga:-s/:Amiga
>		comp.os.minix:-s/:minix
>		:+s/:Amiga
>		:+s/:minix

The reason why this works now (without the -'s) is:

a)  if neither '!' nor '+' is specified, the article is neither killed nor
    selected.

b)  only the first kill-file entry matching the pattern will be used,

c)  kill-file entries are handled in three passes:
	- first the entries for the specific group,
	- then the entries with a regexp matching the group name, and
	- finally the entries for all groups.
    within each of these "classes" of entries, the order is not defined.

So given the above example, the /amiga: entry will be used before the
generic +s/:Amiga entry.

So the following will work just as well:

:+s/:Amiga
/amiga:s/:Amiga
:+s/:minix
comp.os.minix:s/:minix

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  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