🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Ami Llorta Mon, 08 Jun 1998 00:00
A killfile feature someone should invent
#41402
Author: Ami Llorta
Date: Mon, 08 Jun 1998 00:00
14 lines
1189 bytes
Actually, the subject ought to be:

A KILLFILE FEATURE SOMEONE SHOULD INVENT!!!!!!!!!

I've tried a few different Windows 95 newsreaders and none of them have a 
feature that seems kind of obvious to me. Why don't they have an option to 
filter out messages whose subjects are all capital letters? In binary 
newsgroups there's a lot of spam that you can spot a mile away because of all 
the capital letters. Also, it ought to be easier to filter out subject lines 
that have too many exclamation points in them. It isn't at all easy with News 
Xpress.

Re: A killfile feature someone should invent
#41383
Author: Robert P. Krajewski
Date: Mon, 08 Jun 1998 00:00
22 lines
1712 bytes
In article <6lfcl2$lcc$1@supernews.com>, allorta@yahoo.com (Ami Llorta) wrote:

>I've tried a few different Windows 95 newsreaders and none of them have a 
>feature that seems kind of obvious to me

The problem is, a lot of newsreaders might actually be able to do this,
but it's hard to figure out *how* to do it. If a newsreader supports
filtering based on a regular expression, it certainly can be done, but the
pattern syntax looks kind of weird to the average user.

Even good documentation on regular expressions might not help because the
feature doesn't look obvious. The documentation for MT-NewsWatcher for
MacOS, though, does point to a collection of useful filters that you can
copy into your set, and one of them does what you want.

I also think this request comes up often enough that filtering all-upper
case header content (in this case mostly for subject lines) happens often
enough to be a built-in killfile-entry/filter type. Sometimes elegance
gets in the way of usability.

Re: A killfile feature someone should invent
#41393
Author: Per Abrahamsen
Date: Mon, 08 Jun 1998 00:00
12 lines
1243 bytes
allorta@yahoo.com (Ami Llorta) writes:

> I've tried a few different Windows 95 newsreaders and none of them have a 
> feature that seems kind of obvious to me. Why don't they have an option to 
> filter out messages whose subjects are all capital letters?

On Win32, at least Gnus can do that.

I believe almost all Unix newsreaders can do that as well.

Re: A killfile feature someone should invent
#41397
Author: Schipmolder, Jan B.
Date: Mon, 08 Jun 1998 00:00
16 lines
1238 bytes
In article <6lfcl2$lcc$1@supernews.com>, allorta@yahoo.com (Ami Llorta) wrote:

>I've tried a few different Windows 95 newsreaders and none of them have a 
>feature that seems kind of obvious to me. Why don't they have an option to 
>filter out messages whose subjects are all capital letters?

Look to see if they allow for filters that accept regular expressions. If
so, this one will be TRUE if there are NO lower case letters:

/^[^a-z]*$/

--
jan.b.schipmolder@lmco.com

Re: A killfile feature someone should invent
#41399
Author: Dr Ivan D Reid, muSR Facility
Date: Mon, 08 Jun 1998 00:00
33 lines
1899 bytes
In article <6lfcl2$lcc$1@supernews.com>, Ami Llorta wrote:
>Actually, the subject ought to be:

>A KILLFILE FEATURE SOMEONE SHOULD INVENT!!!!!!!!!

	Ah, but then no-one would have been able to read your post!

>I've tried a few different Windows 95 newsreaders and none of them have a 
>feature that seems kind of obvious to me. Why don't they have an option to 
>filter out messages whose subjects are all capital letters? In binary 
>newsgroups there's a lot of spam that you can spot a mile away because of all 
>the capital letters. Also, it ought to be easier to filter out subject lines 
>that have too many exclamation points in them. It isn't at all easy with News 
>Xpress.

	I understand it's easy to do with slrn (and has been discussed
here before -- try looking it up in DejaNews).  I forget the regexps but
the simplest is "reject all unless there's one lower-case letter";
filtering on multiple exclamation marks is even easier.

	(As an example, this entry filters out crossposts to more than
five groups in the soc.culture universe:

[soc.culture*]
Score:: -9999
        Newsgroups: .*,.*,.*,.*,.*,.
)
-- 
Ivan Reid, Paul Scherrer Institute, CH.     			reid@psi.ch
 Support Jayne Hitchcock: http://www.geocities.com/hollywood/6172/helpjane.htm

Re: A killfile feature someone should invent
#41408
Author: John E. Davis
Date: Tue, 09 Jun 1998 00:00
46 lines
2179 bytes
On Mon, 08 Jun 1998 05:31:57 GMT, Ami Llorta <allorta@yahoo.com>
wrote:
>I've tried a few different Windows 95 newsreaders and none of them have a 
>feature that seems kind of obvious to me. Why don't they have an option to 
>filter out messages whose subjects are all capital letters? In binary

slrn is available for Windows 95 and is available via
http://space.mit.edu/%7Edavis/slrn.html.

From the slrn SCORE_FAQ file:

11. How do I score subject headers that contain only uppercase characters?

   Use something like:
   
      Score: -9999
        ~Subject: \c[a-z]
	
   This will assign a score of -9999 to any article whose subject header
   does NOT contain a lowercase character.  To also kill followups to such
   articles use:

      Score: -9999
        Subject: ^Re: \c[^a-z]*$
        Subject: ^Re: \c.*[A-Z]
	
   The last one says that the article will be killed if the subject
   satisfies the two conditions:
   
       1.  It begins with "Re: " and does not contain a lowercase
	   character.
	   
       2.  It begins with "Re: " and contains an uppercase character
	   somewhere on the remaining part of the line.

   The last constraint is necessary to avoid killing articles that are
   followups to articles with an empty subject line.  Of course, one
   might want to kill such articles as well.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis     Cambridge, MA  02139-4307

Re: A killfile feature someone should invent
#41413
Author: Ami Llorta
Date: Tue, 09 Jun 1998 00:00
21 lines
1791 bytes
In article <jan.b.schipmolder-ya02408000R0806981045430001@svlnews.lmms.lmco.com>, schip@sgi534.lmms.lmco.com wrote:
>In article <6lfcl2$lcc$1@supernews.com>, allorta@yahoo.com (Ami Llorta) wrote:
>
>>I've tried a few different Windows 95 newsreaders and none of them have a 
>>feature that seems kind of obvious to me. Why don't they have an option to 
>>filter out messages whose subjects are all capital letters?
>
>Look to see if they allow for filters that accept regular expressions. If
>so, this one will be TRUE if there are NO lower case letters:
>
>/^[^a-z]*$/

Thanks to everyone. Unfortunately, I still can't filter out all caps with 
NewsXpress because the kill feature isn't case sensitive. So maybe this is 
just a little problem with NX. But I did learn from one of the responses how 
to kill anything with more than a certain number of exclamation points. If you 
naively try to killfile ! with NX, it marks everything read and you're out of 
luck if you don't know how to edit the killrc file. Maybe I'll try Gnus.

Re: A killfile feature someone should invent
#41414
Author: Karl Kleinpaste
Date: Tue, 09 Jun 1998 00:00
14 lines
1240 bytes
allorta@yahoo.com (Ami Llorta) writes:
> Maybe I'll try Gnus.

In Gnus, this rule (in all.SCORE, for me) scores down all articles
whose Subject lacks any lowercase.

 ("subject"
  ("^\\(Re: \\)?[^a-z]+$" -400 nil R))

The _uppercase_ `R' is important, as it being uppercase is what
induces the scorefile comparator to use a case-sensitive match.

Re: A killfile feature someone should invent
#41431
Author: Conrad Sabatier
Date: Wed, 10 Jun 1998 00:00
45 lines
2063 bytes
In article <6lhf2a$f5p@espresso.cafe.net>, Kaz Kylheku <kaz@cafe.net> wrote:
>
>Articles with an all-caps subject line could be matched and junked (marked as
>read) by:
>
>	/^Subject: [A-Z]*$/:j

This isn't quite correct, actually.  What you're saying here is kill any
article whose subject line contains NOTHING BUT CAPS (actually, you're
not even doing that; see the next paragraph).  This, of course, does not
allow for all caps subjects that include spaces and other 
punctuation/non-alpha characters.

Also, as you forgot to use the "c" modifier, your regex is not
case-sensitive, meaning it will kill any subject with *any* alpha
character in it!

The correct approach is to filter any subject that *doesn't* contain
at least one lowercase (alpha) character:

/^Subject: [^a-z]*$/c:j

As you mentioned, it's a good idea to include an optional "Re:" as well:

/^Subject: [Re:]* [^a-z]*$/c:j

Technically speaking, the "[Re:]*" above does not match *only* "Re:" (it
actually matches a *set*, meaning any sequence of any of the characters
between the brackets will match), but it's about the best you can do in
trn.  If you wanted to be *really* accurate, you would have to code a
separate filter with the Re: as a literal:

/^Subject: Re: [^a-z]*$/c:j

Or possibly even:

/^Subject: R[eE]: [^a-z]*$/c:j

to allow for retarded newsreaders who insert "RE:" instead of "Re:".
-- 
Conrad Sabatier
http://www.neosoft.com/~conrads/

Re: A killfile feature someone should invent
#41447
Author: Conrad Sabatier
Date: Thu, 11 Jun 1998 00:00
16 lines
1056 bytes
In article <6lm59j$dah$1@dolphin.neosoft.com>,
	conrads@neosoft.com (Conrad Sabatier) writes:
> 
> As you mentioned, it's a good idea to include an optional "Re:" as well:
> 
> /^Subject: [Re:]* [^a-z]*$/c:j

Ooops.  The space after "Re:" should have been *inside* the first set of
brackets.

-- 
Conrad Sabatier
http://www.neosoft.com/~conrads/

Re: A killfile feature someone should invent
#41543
Author: Paul Neubauer
Date: Mon, 15 Jun 1998 00:00
59 lines
2485 bytes
This thread has gotten a little old by now, but just for the sake of any 
Gravity users who might be interested...

In article <6lm59j$dah$1@dolphin.neosoft.com>, conrads@neosoft.com 
writes...
> The correct approach is to filter any subject that *doesn't* contain
> at least one lowercase (alpha) character:
> 
> /^Subject: [^a-z]*$/c:j
> 
> As you mentioned, it's a good idea to include an optional "Re:" as well:
> 
> /^Subject: [Re:]* [^a-z]*$/c:j
> 
> Technically speaking, the "[Re:]*" above does not match *only* "Re:" (it
> actually matches a *set*, meaning any sequence of any of the characters
> between the brackets will match), but it's about the best you can do in
> trn.  If you wanted to be *really* accurate, you would have to code a
> separate filter with the Re: as a literal:
> 
> /^Subject: Re: [^a-z]*$/c:j
> 
> Or possibly even:
> 
> /^Subject: R[eE]: [^a-z]*$/c:j
> 
> to allow for retarded newsreaders who insert "RE:" instead of "Re:".

here's a Gravity version of a rule that would have the appropriate 
effect. 

rule = CAPSLOCK
  enabled = Yes
  allgroups = Yes
begin groups
end groups
begin condition
  Subject contains reg. expr. "<0>(R[eE]: )*[^a-z]*<~0>"
end condition
begin actions
  markAsRead
end actions
end rule

The version above DOES mark as read all and only articles with a Subject 
line beginning with zero or more occurrences of the strings "Re: " or 
"RE: " with no lowercase letters following.  AFAICT, this should be the 
correct effect.  Of course, you can make the rule effective in only a 
subset of your newsgroups if you prefer.  Cut it out of this post and 
import it using the Import button in the rules dialog.

	Paul
-- 
Paul Neubauer          prn@bsu.edu
http://nova.bsuvc.bsu.edu/prn/
PGP Public Key at http://nova.bsuvc.bsu.edu/prn/key.html

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