[news.newusers.questions] Kill files

martya@hp-sdd.hp.com (Marty Albini) (07/28/89)

	I would like to spend less time sifting thru the flames and rubble
while looking for the good stuff. I've tried using KILL files like this:

THRU nnnn
/^/j
/stuff_I_wanna_read/m

which was mentioned in the man page on rn at my site. Unfortunately this 
has the effect of marking everything on subject s_I_w_r as unread, whether
the articles are new or already read. It also takes a long time.

	I guess what I'm looking for is a LIVE file (the inverse of a KILL
file <:^) to junk everything BUT certain subjects. If anyone knows of a way
to do this (standard rn cmds, a macro, shell script, or whatever) I'd love
to hear about it.

	Please post any responses; I'm probably not the only one with this
problem. Thanks in advance!

_________________________________________________Marty Albini_______
phone    : (619) 592-4177
-- 
UUCP     : {hplabs|nosc|hpfcla|ucsd}!hp-sdd!martya
Internet : martya%hp-sdd@hp-sde.sde.hp.com (or @nosc.mil, @ucsd.edu)
CSNET    : martya%hp-sdd@hplabs.csnet
US mail  : Hewlett-Packard Co., 16399 W. Bernardo Drive, San Diego CA 92127-1899 USA

dkarres@hubcap.clemson.edu (dean karres) (07/29/89)

From article <2300@hp-sdd.hp.com>, by martya@hp-sdd.hp.com (Marty Albini):
> 
> 	I would like to spend less time sifting thru the flames and rubble
> while looking for the good stuff. I've tried using KILL files like this:
> 
	[stuff deleted]

My suggestion is to drop the	/s_I_w_r/m	line completely. Just place
the	//j	lines in the KILL file(s). 

dean karres
-- 
Dean Karres	dkarres@hubcap.clemson.edu

"...This ain't no party! this ain't no disco!..."
							nuts!!!

poole@ut-emx.UUCP (Steve Poole) (07/29/89)

In article <2300@hp-sdd.hp.com> martya@hpsdl39.UUCP (Marty Albini) writes:
>
>	I would like to spend less time sifting thru the flames and rubble
>while looking for the good stuff. I've tried using KILL files like this:
>
>THRU nnnn
>/^/j
>/stuff_I_wanna_read/m

Try this kill file:

THRU nnnn
/stuff_I_wanna_read/M

After the kill file finishes, give the c command.  The c command will
kill everything not marked with the M command.  After the c command
finishes, all of the articles that your kill file marked with M will
then return and be available for you to read.  And the c command will
be a lot faster than junking each file seperately.

I don't know why your kill file doesn't work.  I've had the same
problem with that form of kill file.

-- 
Steve Poole  
ARPA: poole@emx.utexas.edu
UUCP: {ames,angband,exodus,gatech,harvard,mordor,rutgers,utah-cs}!cs.utexas.edu!ut-emx!poole

cosell@bbn.com (Bernie Cosell) (07/29/89)

In article <2300@hp-sdd.hp.com> martya@hpsdl39.UUCP (Marty Albini) writes:
}
}	I would like to spend less time sifting thru the flames and rubble
}while looking for the good stuff. I've tried using KILL files like this:
}
}THRU nnnn
}/^/j
}/stuff_I_wanna_read/m

I have a question what this does:  how do you predict what will be
*all* the interesting thread-subjects that could possibly interest you
in a newsgroup?  If your KILL file does what you apparently want, you
won't even have the _opportunity_ to pick up new threads that happen to
catch your interest, since they'll all just silently disappear.

   __
  /  )                              Bernie Cosell
 /--<  _  __  __   o _              BBN Sys & Tech, Cambridge, MA 02238
/___/_(<_/ (_/) )_(_(<_             cosell@bbn.com

kiravuo@kampi.hut.fi (Timo Kiravuo) (08/23/89)

Somehow I feel that somebody is going to ask this soon...

How to kill a certain persons ramblings on the net?

Assuming that you use rn, press Control-K to edit your KILL file
and add line

/^From:.*kiravuo/hj

Where kiravuo marks that persons user ID that you want to kill
from your postings. If there are a lot of people you dislike, add
more lines. There are some other methods too. A solution exists
also for gnus, send mail if interested.

Since I feel that more bandwidth is used to flame people who
waste bandwidth than those wasters themselves use, I believe that
it is easier to ignore them. Anyway most of them are just out to
get some attention. :-|
--
Timo Kiravuo
Helsinki University of Technology, Computing Center
work: 90-451 4328, home: 90-676 076
kiravuo@hut.fi  sorvi::kiravuo  kiravuo%hut.fi@uunet.uu.net

bonnie@cbnewse.ATT.COM (bonnie.l.prokopowicz) (08/23/89)

Could someone post more about creating/editing KILL files?
Specifically, how can I kill all articles whose subject 
lines have "XXX" in them, for example?  What is the format
of the kill file, and what is its name?

Thanks for any help you can provide.

Bonnie Prokopowicz
att!ihlpn!bonnie

mesard@bbn.com (Wayne Mesard) (08/24/89)

bonnie@cbnewse.ATT.COM (bonnie.l.prokopowicz) writes:
>Could someone post more about creating/editing KILL files?
>Specifically, how can I kill all articles whose subject 
>lines have "XXX" in them, for example?  What is the format
>of the kill file, and what is its name?

Not all news readers use KILL files and there are different ways of
implementing them.  If you're not using rn then this information does
not apply to you.

KILL files are thoroughly documented in the rn man page.  To access
this, type

                man rn

If that doesn't work, see your system administrator.  It's also a good
idea to keep a hard copy nearby, as even experienced users are always
finding new things to do with this complex program.  See your sysadmin
about getting printed copies of online man pages.

There is a global KILL file which applies to every newsgroup you read,
and then a local KILL file for each group.  The general format of each
line in a KILL file is:

   /pattern/modifiers:command

pattern is a regular expression (or simply a string) that you want to
search for.  By default, rn will look in the Subject line of each new
article.  If you include the "h" article it will look anywhere in the
header.  In KILL files the command is usually just "j" which junks the
article.  Examples:

   /IBM/j                        - Junk any article that contains the
                                   string "IBM" in the title.

   /: *Lemmings for sale/j       - Junk any article whose title begins
                                   with the string "Lemmings for sale".
                                   The ":" will match the colon at the
                                   end of "Subject:" and the " *" will
                                   match the zero or more space(s)
                                   between the colon and the start of
                                   the title.
   /^From:.*mesard/h:j           - Will junk any articles from me.  The
                                   "^" means look at the very beginning
                                   of the line and the ".*" will skip
                                   over all the characters between the
                                   colon and "mesard".  The "h" modifier
                                   tells rn to look at the whole header,
                                   not just the Subject: line.

To access the global or local KILL files, use the "K" and "Control-k"
commands at the newsgroup selection level and the article selection
level, respectively.  For details, see the man page, or use the "h" to
get help.

-- 
unsigned *Wayne_Mesard();    "Brain and brain!  What is brain?"
Mesard@BBN.COM               
BBN, Cambridge, MA                 -Kara, Leader of the Eymorgs

msb@sq.sq.com (Mark Brader) (08/26/89)

Wayne Mesard, in an excellent introduction to KILL files in the rn news-
reader, writes in news.newusers.questions:

> The general format of each line in a KILL file is:
>        /pattern/modifiers:command
> ... In KILL files the command is usually just "j" which junks the article.

There is actually one important addition to note here, which is that
the syntax also allows the ":command" part to be repeated.  In particular,
you can say something like

	/spoiler/:=:j

which will display all subject lines containing the word "spoiler" and then
junk each of the articles.  For instance, you might see:

	20955	The Abyss (spoilers)  Junked
	20956	Re: The Abyss (spoilers)  Junked
	20958	The Abyss (non-spoiler review)  Junked
	20960	Re: The Abyss (spoilers)  Junked
	20963	How to write a review (was: Re: The Abyss (spoilers))  Junked

This will tell you that your KILL file had a "false hit" on 20958, and
perhaps also 20963, and you actually do want to read those articles (which,
since we're talking about rn, you can do by typing the numbers explicitly
one by one, or by doing "20958,20963m" and then beginning reading as usual.

There are some newsgroups where I read so few articles that I actually have

	/./:=:j

in my KILL file, so I still see what's there but never have to explicitly
kill it.  (Of course the "." matches any non-null subject.)

Oh yes.  rn is actually not strict about that ":" before each command,
and there are many cases where you can leave it out.  As this is NOT
a documented feature (as far as I know), it's safer to leave it in.

This article is cross-posted, with followups directed to news.newusers.-
questions.  This article is in the public domain.
-- 
Mark Brader, SoftQuad Inc., Toronto	      "Suspicion breeds confidence."
utzoo!sq!msb, msb@sq.com					  -- BRAZIL

dlj@cbnewsh.ATT.COM (david.l.jacobowitz) (09/14/89)

I know this question must be brought up again and again,
but I was wondering if someone could explain how to set-up
a "kill file."

Does this file begin with "." (like .signature)?
Does it work when you use vnews to read the news?

Can you supress articles according to subject,
author, keywords, crossposted newsgroups, etc?
How would one (well, me actually) do this?
-- 
Dave J.                                             This space intentionally
usual disclaimer implied                                   left blank.

briang@bari.Sun.COM (Brian Gordon) (09/14/89)

In article <3905@cbnewsh.ATT.COM> dlj@cbnewsh.ATT.COM (david.l.jacobowitz) writes:
>I know this question must be brought up again and again,
>but I was wondering if someone could explain how to set-up
>a "kill file."
>
>Does this file begin with "." (like .signature)?
>Does it work when you use vnews to read the news?
>
>Can you supress articles according to subject,
>author, keywords, crossposted newsgroups, etc?
>How would one (well, me actually) do this?

Does "RTFM" sound familiar?  Kill files are associated with (at least) the 'rn'
newsreader.  There are commands for adding to them (creating if necessary) in
'rn' itself.

They exist at at least two levels (global and per newsgroup).  It is possible
to filter on just about anything you can imagine, including keywords, author,
site, etc.

Reading the 'rn' documentation is on the intimidating side.  Your easiest
introduction may be to issue "^K" for some article, say in group x.y, and
then get out and look at "~/News/x/y/KILL" (assuming a typical environment).

mitchell@community-chest.uucp (George Mitchell) (09/14/89)

^K (CTRL-k) will generate a *global* KILL file.  To create a group specific
file use K (SHIFT-k).

/s/ George   vmail: 703/883-6029  [alt.email: gmitchel@mitre.arpa]
GB Mitchell, MITRE, MS Z676, 7525 Colshire Dr, McLean, VA 22102

dlj@cbnewsh.ATT.COM (david.l.jacobowitz) (09/19/89)

Could someone take some time away from the very interesting
discussion of the optimal number of lines in a .signature,
and explain how to set up a kill file?

I posted this once and didn't get much information back.
Am I posting this to the wrong newsgroup?

Thanks.
(Sorry about the sarcasm.)

Dave J.
ark2!dlj
-- 
Dave J.                                             This space intentionally
usual disclaimer implied                                   left blank.

tneff@bfmny0.UU.NET (Tom Neff) (09/19/89)

Kill files are used by the 'rn' newsreader package.  They have no
meaning to the rest of 'news' per se.

Therefore the way to find out about Kill files is to read the
'rn' documentation.  There is adequate description there.

Readers should take no offense at 'RTFM' answers here, because
one of the most IMPORTANT lessons for new Usenet users is in fact
to consult all available offline documentation first, BEFORE
posting queries to the net.  The net cannot, *cannot* replace
standard documentation.

This lesson is too often observed in the breach, but here is one
place where it can be drummed in. :-)
-- 
'We have luck only with women --    \\\     Tom Neff
          not spacecraft!'         *-((O    tneff@bfmny0.UU.NET
 -- R. Kremnev, builder of FOBOS      \\\   uunet!bfmny0!tneff (UUCP)

dlj@cbnewsh.ATT.COM (david.l.jacobowitz) (09/19/89)

In article <14695@bfmny0.UU.NET>, tneff@bfmny0.UU.NET (Tom Neff) writes:
> Kill files are used by the 'rn' newsreader package.  They have no
> meaning to the rest of 'news' per se.
> Therefore the way to find out about Kill files is to read the
> 'rn' documentation.  There is adequate description there.

You know what I think?
I don't think you know what a kill file is,
and I don't think you know how to set one up.  :=)

BTW, if it takes X net bandwidth to admonish RTFM,
and it also takes X net bandwidth to ATFQ, why not just ATFQ?
-- 
Dave J.     (ark2!dlj)                              This space intentionally
usual disclaimer implied                                   left blank.

kev@everexn.uucp (Karen Valentino) (09/21/89)

tneff@bfmny0.UU.NET (Tom Neff) writes:

>Kill files are used by the 'rn' newsreader package.  They have no
>meaning to the rest of 'news' per se.

Half true.  nn ("no news is good news") also provides readers with
the "kill file advantage."

This brings up an important point; I think it's helpful to mention (by name)
your reader if you are asking a questions about reading news, and your
system if your question is based on something that is machine-dependent.
That way, answers are much more likely to be useful to the person who asked
the question, and there will be less confusion all around.

Karen
--
Karen Valentino          > ..ucbvax!well!fico2!everexn!kev
Everex Systems, Inc.     < ..pyramid!pacbell!mslbrb!everexn!kev
Sebastopol Branch        > ..uunet!island!grenada!everexn!kev

-- 
Karen Valentino                >   ucbvax!cogsci!well!fico2!everenx!kev   
Everex North, Sebastopol, CA   <   uunet!island!grenada!everexn!kev