🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6926

Re: Semi-newbie needs kill help

#6926
From: Claus L{gel Rasmussen
Date: Mon, 26 Dec 1994 15:38
140 lines
4406 bytes
alasnik@nickel.ucs.indiana.edu (Adam Lasnik) complains that kill file entry
	
	:!s:mac vs pc 

does not work as expected.

He writes in particular:

>I've tried
>:!s:mac vs pc
>
>with the understanding that leaving off the newsgroup name would make nn
>eliminate articles with "mac vs. pc" in them, case insensitive, from
>every group, regardless of whether the article was an original or "re:".

Not quite:

	"mac vs pc" != "mac vs. pc"
                              ^

but if this isn't the explanation; you should start debugging...

	- Are you sure nn is performing kill and/or selects at all ? This
	  is controlled by the "kill" variable. Check it to see if it is set
	  to true. 
	  
	  To check the setting of a variable; type:

		:set kill 	[and then press the SPACE key immediately. 
				 To return without altering the value of 
				 the variable: Press Ctrl-C]

	  or... 

		:set /kill   	(shows all variables those names matches "kill")
		:set all	(shows the setting of all variables)

	- Do you use case insignificant pattern matching ? Inspect the
	  "case-fold-search" variable. It should be set to true.

	- Are you absolutly sure nn reads your kill file ? Put something
	  illegal in your kill file and see if nn complains.

	- Are you using NOV and is it up and running ? Ask your system
	  administrator. (But finish this file first).


Then try this:

	- Issue the 

		:show kill

	  command. It will create an output like this:

<		GROUP dk.test kill list entries
<		AUTO SELECT ON SUBJECT 'mac vs pc'
<
<		GLOBAL kill list entries:

	  That is: In group dk.test select all entries those subject matches
	  "mac vs pc" (see below). 
	  
	  Studying this could tell what's wrong.


If you still don't have reached a solution, I'll suggest, you do what I
did to check the semantics of those kill file entries:

	- First; post some articles to your local (or as local as possible)
	  test group (eg. dk.test) and use the most local distribution as
	  possible (eg. daimi). Subjects should be something like:
		
		mac
		mac vs pc
		mac vs. pc
		mac vs power pc

	- Edit your kill file:

		dk.test:+s:mac vs pc

	  Note: Limiting the select to only this particular group is the same
	  as limiting the number of things that can go wrnog.

	  Note: Doing a select instead of a kill is an aid in the debugging 
	  process. You can actually see the "killed" subject's.

	- Restart nn. 
	
	- Set the "kill-debug" variable to true:

		:set kill-debug

	- And jump to the test group...

		G dk.test

	  When prompted; select all articles (prevents you from _not_ seeing 
	  "read" articles). 

	  Note: You are entering a new level here (a <level 2> shows up in
	  the prompt line). Use the 
	  
		P 
		
	  command to return.

"mac vs pc" files should now show up as selected files. Experiment. 

Forget all about regular expressions for now. Later; I'll suggest the 
following kill entry:

	/^comp\.:!s&!s:mac:pc

as this one will kill all subjects matching "mac" and "pc", regardless of the
concrete occurrence of the words in the title. And it will only spend your 
time doing it in the comp hierachy.


Yet another idea is to press...

	K

and give the letter of one of the "mac vs pc" files when prompted. Nn will
now create a kill entry in your kill file. Comparing this entry to your own, 
could possibly give a clue to what's wrong.


If it doesn't...

	scream.


--
Claus L. Rasmussen	email: shakti@daimi.aau.dk
Knudrisgade 14 B II	voice: +45 86 18 42 65
8000 Aarhus C		
Denmark
Technical Details
Message-ID: <3dmo1t$h8k@belfort.daimi.aau.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!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!sunic!news.uni-c.dk!news.daimi.aau.dk!shakti
References: <3di57k$7pt@usenet.ucs.indiana.edu> <W7NVBZ8M@math.fu-berlin.de> <3dj2b2$mmv@usenet.ucs.indiana.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3dmo1t$h8k@belfort.daimi.aau.dk>
Subject: Re: Semi-newbie needs kill help
Date: Mon, 26 Dec 1994 15:38:37 +0000
From: shakti@daimi.aau.dk (Claus L{gel Rasmussen)
References: <3di57k$7pt@usenet.ucs.indiana.edu> <W7NVBZ8M@math.fu-berlin.de> <3dj2b2$mmv@usenet.ucs.indiana.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.nn.mbox.zip!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!sunic!news.uni-c.dk!news.daimi.aau.dk!shakti
Newsgroups: news.software.nn
Organization: DAIMI, Computer Science Dept. at Aarhus University
Lines: 140
NNTP-Posting-Host: clarice.daimi.aau.dk