🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by Dean Grover Mon, 03 Jun 1996 00:00
How to kill massive crossposts in trn ?
#22385
Author: Dean Grover
Date: Mon, 03 Jun 1996 00:00
20 lines
1145 bytes
I'm looking for a way to be able to have trn automatically kill any
articles that are crossposted to, say 5 or more groups.

Would this be easy to do in a killfile ?  I glanced through the FAQ, and
it does mention killing articles from a specific group.

An alternative to this would be to kill articles where the Newsgroup
line was longer than a certain length (like 80).

Any suggestions?

Thanks,
Dean
-- 
==============================================================================
Dean Grover
funhouse@netcom.com

Re: How to kill massive crossposts in trn ?
#22383
Author: Bill Marcum
Date: Mon, 03 Jun 1996 00:00
19 lines
1398 bytes

It's easy to kill crossposted articles in trn (unless they're so massivley
crossposted that they kill trn; when will somebody fix that?).  Anyway,
you just need to look at the Newsgroups or Xref line (Xref is quicker; trn
just has to read the overview file instead of reading each article).  An
article that isn't crossposted will not have an Xref line.  In a
crossposted article, the number of colons in Xref is equal to the number
of newsgroups plus one.  So, to kill an article posted to more than four
groups, you could use
/:.*:.*:.*:.*:/Hxref:j

-- 
Bill Marcum    bmarcum@iglou.com
On 22 July, 1996, at 6:00 pm GMT, everyone in the world     
just START HUMMING.  Those who don't know will freak.       


Re: How to kill massive crossposts in trn ?
#22517
Author: Matus Uhlar
Date: Thu, 06 Jun 1996 00:00
26 lines
1678 bytes
At Mon, 3 Jun 1996 17:11:17 GMT Dean Grover (funhouse@netcom.com) wrote:
-> I'm looking for a way to be able to have trn automatically kill any
-> articles that are crossposted to, say 5 or more groups.

True, mass cross postings suck.

-> Would this be easy to do in a killfile ?  I glanced through the FAQ, and
-> it does mention killing articles from a specific group.

I think there's no way to kill such articles, killfiles are usually used for
other things. BUt it can be done.

-> An alternative to this would be to kill articles where the Newsgroup
-> line was longer than a certain length (like 80).

What about long group names ? but if you want...
anyway I think defining maximum number of groups into which can be article
posted would be great.
-- 
 Matus Uhlar, sysadm at Regional node of SANET in Kosice, Slovakia
 E-mail: Matus.Uhlar@tuke.sk   WWW: http://www.tuke.sk/users/uhlar
 IRC: fantomas, uhlar   PGP: finger uhlar@ccnews.ke.sanet.sk | pgp
 The 3 biggest disasters: Hiroshima 45, Tchernobyl 86, Windows 95

Re: How to kill massive crossposts in trn ?
#22608
Author: Wayne Davison
Date: Sun, 09 Jun 1996 00:00
17 lines
1115 bytes
According to Dean Grover <funhouse@netcom.com>:
> I'm looking for a way to be able to have trn automatically kill any
> articles that are crossposted to, say 5 or more groups.
> Would this be easy to do in a killfile ?

If you wish to kill an article crossposted to > 3 groups, use this:

	/xref:.*:.*:.*:.*:/Hxref:j

Note that it is looking for 4 colons on the xref line (which is usually
cached these days) in addition to the colon that is a part of the xref
header itself.

...wayne..

Re: How to kill massive crossposts in trn ?
#22934
Author: Robert Boutwell
Date: Sun, 16 Jun 1996 00:00
18 lines
1212 bytes
In article <4pf7di$706@fugue.clari.net>,
Wayne Davison <wayne@clarinet.com> wrote:
>
>If you wish to kill an article crossposted to > 3 groups, use this:
>
>	/xref:.*:.*:.*:.*:/Hxref:j

This line seems to junk articles that meet the criteria each time the
command is invoked.  However, what would be a way to put the command in a
kill file so that it executes on entering each of many newsgroups which
attract large numbers of commercial or religious cross-postings?

-- 
--
Bob Boutwell          Jamaica Plain, MA          boutwell@shore.net

Re: How to kill massive crossposts in trn ?
#22936
Author: Robert Boutwell
Date: Sun, 16 Jun 1996 00:00
17 lines
1403 bytes
In article <63GxxUNOfmTC090yn@wwa.com>, Debra Walker <debraw@wwa.com> wrote:
>
>You could create a global KILL file, and put the above command in it.
>My global kill file (KILL) is in ~/News.

Thanks for the advice, but what I was really looking for was a way of
changing the "Hxref:j" into something that had a "K" in it - something
that stays in a single group's kill file and executes every time.  When
I've tried the Hxref:j command, it executes, but is not stored in the Kill
file for the group, it appears.  I don't want to have to type in and
execute the command for every group or for every time I enter trn.
-- 
--
Bob Boutwell          Jamaica Plain, MA          boutwell@shore.net

Re: How to kill massive crossposts in trn ?
#23002
Author: Larry W. Virden
Date: Mon, 17 Jun 1996 00:00
31 lines
2230 bytes

According to Robert Boutwell <boutwell@shore.net>:
:Thanks for the advice, but what I was really looking for was a way of
:changing the "Hxref:j" into something that had a "K" in it - something
:that stays in a single group's kill file and executes every time.  When
:I've tried the Hxref:j command, it executes, but is not stored in the Kill
:file for the group, it appears.  I don't want to have to type in and
:execute the command for every group or for every time I enter trn.


1. When you enter a news article selection expression at the global level
(that is to say, at the level where you are selecting a newsgroup), that 
expression will be used in every group that you read, either selecting
articles to be read, or killing articles that you do not wish to read.

2. There are two ways to get an article into the kill file.  You can use
the ^K to edit the kill file (either the global or group specific), or you
add a K before the expression - thus, doing something like:

/.*:.*:.*:.*:.*:.*:/KHxref:j

would add the junking of 6 or more newsgroups present on the cross reference
line to the current group's kill file.
-- 
:s Larry W. Virden                 INET: lvirden@cas.org
:s <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.

Re: How to kill massive crossposts in trn ?
#23041
Author: Jon Bell
Date: Mon, 17 Jun 1996 00:00
28 lines
1757 bytes
 Debra Walker <debraw@wwa.com> wrote:
>In article <4q12le$h9t@northshore.shore.net>, 
>boutwell@shore.net (Robert Boutwell) wrote:
>
>>In article <4pf7di$706@fugue.clari.net>,
>>Wayne Davison <wayne@clarinet.com> wrote:
>>>
>>>If you wish to kill an article crossposted to > 3 groups, use this:
>>>
>>>	/xref:.*:.*:.*:.*:/Hxref:j
>>
>>This line seems to junk articles that meet the criteria each time the
>>command is invoked.  However, what would be a way to put the command in a
>>kill file so that it executes on entering each of many newsgroups which
>
>You could create a global KILL file, and put the above command in it.
>My global kill file (KILL) is in ~/News.  I think that the file can be created 
>or invoked while running trn, but I forget how it is done.

To edit your global killfile, hit ^K (control-K) when you're at the 
newsgroup selection prompt.  ("xxx unread articles in comp.foo.bar...").

-- 
Jon Bell <jtbell@presby.edu>                        Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA

Re: How to kill massive crossposts in trn ?
#23042
Author: Kim DeVaughn
Date: Mon, 17 Jun 1996 00:00
33 lines
1981 bytes
In article <63GxxUNOfmTC090yn@wwa.com>, Debra Walker <debraw@wwa.com> wrote:
|
| In article <4q12le$h9t@northshore.shore.net>, 
|	boutwell@shore.net (Robert Boutwell) wrote:
| 
| >In article <4pf7di$706@fugue.clari.net>,
| >Wayne Davison <wayne@clarinet.com> wrote:
| >>
| >>If you wish to kill an article crossposted to > 3 groups, use this:
| >>
| >>	/xref:.*:.*:.*:.*:/Hxref:j
| >
| >This line seems to junk articles that meet the criteria each time the
| >command is invoked.  However, what would be a way to put the command in a
| >kill file so that it executes on entering each of many newsgroups which
| 
| You could create a global KILL file, and put the above command in it.
| My global kill file (KILL) is in ~/News. I think that the file can be created
| or invoked while running trn, but I forget how it is done.

A ^K from the newsgroup selection level will do it.

Be forewarned ... the use of a global kill file can slow newsgroup entry down
considerably, depending on the number and type of entries you put into it ...

/kim

===========================================================================
Excuse me ... I have to go vacuum my files now ...
          ... before they magically show up on a coffee-table somewhere ...

Re: How to kill massive crossposts in trn ?
#23076
Author: Jay S. Rouman
Date: Tue, 18 Jun 1996 00:00
14 lines
1261 bytes
In article <4q5bhe$km@jobe.shell.portal.com>,
Kim DeVaughn <kim@shell.portal.com> wrote:
>Be forewarned ... the use of a global kill file can slow newsgroup entry down
>considerably, depending on the number and type of entries you put into it ...

It also creates the need for an extra keystroke when entering a group.
You can eliminate this by running trn with the -t (terse) flag or
removing the call to get_anything() in kfile.c.
-- 
Jay Rouman  (jsr@dexter.mi.org  jsr@umcc.umich.edu  NIC Handle: JSR)
System Administrator, Education Central/REMCen (jsr@edcen.ehhs.cmich.edu)

Re: How to kill massive crossposts in trn ?
#23082
Author: Bill Marcum
Date: Tue, 18 Jun 1996 00:00
17 lines
1421 bytes
In article <63GxxUNOfmTC090yn@wwa.com>, Debra Walker <debraw@wwa.com> wrote:
>You could create a global KILL file, and put the above command in it.
>My global kill file (KILL) is in ~/News.  I think that the file can be created 
>or invoked while running trn, but I forget how it is done.  If you call

To edit the global kill file, you press ^K at the newsgroup selection
prompt ("xxxx unread articles in alt.foo.bar -read them now?")
To edit a local kill file, you press ^K while reading the newsgroup.

-- 
Bill Marcum    bmarcum@iglou.com
On 22 July, 1996, at 6:00 pm GMT, everyone in the world     
just START HUMMING.  Those who don't know will freak.       


Re: How to kill massive crossposts in trn ?
#23130
Author: Wayne Davison
Date: Wed, 19 Jun 1996 00:00
20 lines
1194 bytes
According to Larry W. Virden <lvirden@cas.org>:
> thus, doing something like:
> 
> /.*:.*:.*:.*:.*:.*:/KHxref:j
> 
> would add the junking of 6 or more newsgroups present on the cross reference
> line to the current group's kill file.

This would actually kill an article cross-posted to 5 or more newsgroups
due to the ':' in the xref header.  Writing this as:

/xref:.*:.*:.*:.*:.*:.*:/KHxref:j

makes it easier to differensiate the colons and will work as originally
expected.

...wayne..

Re: How to kill massive crossposts in trn ?
#23173
Author: Wayne Davison
Date: Wed, 19 Jun 1996 00:00
15 lines
1170 bytes
According to Debra Walker <debraw@wwa.com>:
> Let me show you something that works for me, in my global KILL file:
> 
> /^Newsgroups:.*,.*,.*,.*,.*,/h:j

This is MUCH slower than my suggestion, though it does work if you're
using an old version of trn that doesn't support the "Hheader:" modifier.
The above command reads in every header of every article, while the
command /xref:.*:.*:.*:.*:.*:/Hxref:j grabs the headers via the overview
file on most machines.

...wayne..

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