🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
25 messages
25 total messages Started by Raymond Daley Thu, 06 May 2010 20:04
Xnews query on exceptions in a score file entry
#240722
Author: Raymond Daley
Date: Thu, 06 May 2010 20:04
16 lines
1715 bytes
I wanted to do a filter which scores a whole thing (which I already
know works) but I want to add an exception rule to it to allow posts which
include a particular word in the title.

Basically it would kill anything from posting software called Jbinup.local
but would still allow posts that had WRESTLINGBAY in the subject
even if they were from Jbinup.local

How is that done please?

I cant find ANYTHING on how to do an exception anywhere.

Xnews = possibly the worst supported and most badly documented piece of 
software I have ever used.

Re: Xnews query on exceptions in a score file entry
#240732
Author: »Q«
Date: Thu, 06 May 2010 22:57
29 lines
2041 bytes
In <news:uhFEn.64203$rk4.15970@newsfe25.ams2>,
Raymond Daley <raymond.daley@ntlworld.com> wrote:

> I wanted to do a filter which scores a whole thing (which I already
> know works) but I want to add an exception rule to it to allow posts
> which include a particular word in the title.
> 
> Basically it would kill anything from posting software called
> Jbinup.local but would still allow posts that had WRESTLINGBAY in the
> subject even if they were from Jbinup.local
> 
> How is that done please?

Assuming the posting software you're talking about appears in a
User-Agent header, I'd use User-Agent and ~Subject in the scoring
rule.

If you post the actual headers you're looking at, someone will probably
baby-step you through it.
 
> I cant find ANYTHING on how to do an exception anywhere.

You should read scoring.txt.

> Xnews = possibly the worst supported and most badly documented piece
> of software I have ever used.

Support happens here.  Keep disparaging it and it dries up, if it
hasn't already.
Re: Xnews query on exceptions in a score file entry
#240735
Author: XS11E
Date: Fri, 07 May 2010 01:47
14 lines
1485 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote:

> Xnews = possibly the worst supported and most badly documented
> piece of software I have ever used.

There goes your chance of any help here....
 



-- 
XS11E, Killing all posts from Google Groups
The Usenet Improvement Project:
http://twovoyagers.com/improve-usenet.org/
Re: Xnews query on exceptions in a score file entry
#240740
Author: John Wunderlich
Date: Fri, 07 May 2010 05:31
37 lines
2360 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote in
news:uhFEn.64203$rk4.15970@newsfe25.ams2: 

> I wanted to do a filter which scores a whole thing (which I
> already know works) but I want to add an exception rule to it to
> allow posts which include a particular word in the title.
> 
> Basically it would kill anything from posting software called
> Jbinup.local but would still allow posts that had WRESTLINGBAY in
> the subject even if they were from Jbinup.local
> 
> How is that done please?
> 
> I cant find ANYTHING on how to do an exception anywhere.
> 
> Xnews = possibly the worst supported and most badly documented
> piece of software I have ever used.
> 
> 

It depends on which header contains your "Jbinup.local" tag.  It could 
be "user-agent" or "X-newsreader".  Both are nonstandard headers for 
filtering, so your newsserver must support the XHDR command or it won't 
work.  Assuming it does, you probably are looking for a filter that 
looks like:

Score: -9999
  User-Agent: Jbinup.local
 ~Subject: wrestlingbay

Scores are logically "AND"-ed if there is a single ":" after "Score", 
so this filter will throw away all articles whose user-agent header 
contains Jbinup.local AND the subject does NOT contain "wrestlingbay" 
(NOT indicated by the "~" in front of Subject)

HTH,
  John
Re: Xnews query on exceptions in a score file entry
#240748
Author: Raymond Daley
Date: Fri, 07 May 2010 14:13
13 lines
1724 bytes
"»Q«" <boxcars@gmx.net> wrote in message 
news:20100506175748.48c13544@bellgrove.remarqs.net...
>> I cant find ANYTHING on how to do an exception anywhere.
> You should read scoring.txt.

I have. You need a degree in computer science to get anywhere with it.
I've got one and I STILL don't understand it.
Xnews documentation is god awful and not intended for novices.
The guy who wrote it pretty much may as well have not bothered, its THAT 
unhelpful. 

Re: Xnews query on exceptions in a score file entry
#240749
Author: Raymond Daley
Date: Fri, 07 May 2010 14:18
26 lines
2315 bytes
"John Wunderlich" <jwunderlich@lycos.com> wrote in message 
news:Xns9D70E50EBE89wunderpsdrscray@207.246.207.166...
> It depends on which header contains your "Jbinup.local" tag.  It could
> be "user-agent" or "X-newsreader".
its in the message id.

> so your newsserver must support the XHDR command
it does, i've seen it saying that when it grabs new headers ;-)

> Score: -9999
>  User-Agent: Jbinup.local
> ~Subject: wrestlingbay
> Scores are logically "AND"-ed if there is a single ":" after "Score",
> so this filter will throw away all articles whose user-agent header
> contains Jbinup.local AND the subject does NOT contain "wrestlingbay"
> (NOT indicated by the "~" in front of Subject)
> HTH,
>  John

so i can enter anything, its not case sensitive then?
thanks very much john, thats certainly going to help a lot ;-)

Am I the only person who thinks having read his documentation Luu Tran hates 
Xnews & regrets releasing it into the public domain? 

Re: Xnews query on exceptions in a score file entry
#240750
Author: Wader of Doom
Date: Fri, 07 May 2010 14:47
12 lines
2254 bytes
Raymond Daley <raymond.daley@ntlworld.com> wrote:

> Am I the only person who thinks having read his documentation Luu Tran hates
> Xnews & regrets releasing it into the public domain? 

What a prettily baited hook, if a little gaudy.

-- 
Darth Wader               <darth@notforspam.fsnet.co.uk>

Don't ask me 'bout the shape I'm in,
I can't sing, I ain't pretty and my legs are thin.
Re: Xnews query on exceptions in a score file entry
#240751
Author: XS11E
Date: Fri, 07 May 2010 15:07
23 lines
2004 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote:

> 
> "»Q«" <boxcars@gmx.net> wrote in message 
> news:20100506175748.48c13544@bellgrove.remarqs.net...
>>> I cant find ANYTHING on how to do an exception anywhere.
>> You should read scoring.txt.
> 
> I have. You need a degree in computer science to get anywhere with
> it. I've got one and I STILL don't understand it.
> Xnews documentation is god awful and not intended for novices.
> The guy who wrote it pretty much may as well have not bothered,
> its THAT unhelpful. 

Luu Tran expected people who read the documentation to have normal 
reading skills and IQs.



-- 
XS11E, Killing all posts from Google Groups
The Usenet Improvement Project:
http://twovoyagers.com/improve-usenet.org/
Re: Xnews query on exceptions in a score file entry
#240757
Author: »Q«
Date: Fri, 07 May 2010 19:30
27 lines
2087 bytes
In <news:heVEn.19807$Pf3.2255@newsfe16.ams2>,
Raymond Daley <raymond.daley@ntlworld.com> wrote:

> "»Q«" <boxcars@gmx.net> wrote in message 
> news:20100506175748.48c13544@bellgrove.remarqs.net...
> >> I cant find ANYTHING on how to do an exception anywhere.
> > You should read scoring.txt.
> 
> I have. You need a degree in computer science to get anywhere with it.

You shouldn't be using Xnews.

> I've got one and I STILL don't understand it.

I don't have a CS degree, and scoring.txt is pretty clear.  WRT your
specific question earlier, there are examples of the syntax.

> Xnews documentation is god awful and not intended for novices.

You shouldn't be using Xnews.

> The guy who wrote it pretty much may as well have not bothered, its
> THAT unhelpful. 

You shouldn't be using Xnews.  The documentation helps the rest of us.

Re: Xnews query on exceptions in a score file entry
#240760
Author: Raymond Daley
Date: Fri, 07 May 2010 21:47
10 lines
1671 bytes
"XS11E" <xs11eNO@SPAMyahoo.com> wrote in message 
news:Xns9D7152AB7F8A2xs11eyahoocom@127.0.0.1...
> Luu Tran expected people who read the documentation to have normal
> reading skills and IQs.

My reading skills are fine, my IQ is probably higher than yours.
And your a troll.

Re: Xnews query on exceptions in a score file entry
#240759
Author: Indi
Date: Fri, 07 May 2010 23:00
21 lines
1653 bytes
On 2010-05-07, Raymond Daley <raymond.daley@ntlworld.com> wrote:
>
> "XS11E" <xs11eNO@SPAMyahoo.com> wrote in message 
> news:Xns9D7152AB7F8A2xs11eyahoocom@127.0.0.1...
>> Luu Tran expected people who read the documentation to have normal
>> reading skills and IQs.
>
> My reading skills are fine, my IQ is probably higher than yours.
>

Almost certainly not. You appear to have delusions of adequacy.

> And your a troll.
>

See?

-- 
Caveat utilitor,
indi
Re: Xnews query on exceptions in a score file entry
#240764
Author: Raymond Daley
Date: Sat, 08 May 2010 00:03
10 lines
1790 bytes
"Indi" <indi@gaurahari.16x108.merseine.nu> wrote in message 
news:84jkd8FuulU1@mid.individual.net...
> See?

All I see is 1 helpful guy in a group populated by trolls.
You've done what I needed, bye.
Good luck with whatever you call lives.


Re: Xnews query on exceptions in a score file entry
#240765
Author: Wader of Doom
Date: Sat, 08 May 2010 00:44
17 lines
2401 bytes
Raymond Daley <raymond.daley@ntlworld.com> wrote:

> "Indi" <indi@gaurahari.16x108.merseine.nu> wrote in message 
> news:84jkd8FuulU1@mid.individual.net...
> > See?
> 
> All I see is 1 helpful guy in a group populated by trolls.
> You've done what I needed, bye.
> Good luck with whatever you call lives.

Was it me? I do hope so.

-- 
Darth Wader               <darth@notforspam.fsnet.co.uk>

Don't ask me 'bout the shape I'm in,
I can't sing, I ain't pretty and my legs are thin.
Re: Xnews query on exceptions in a score file entry
#240766
Author: me
Date: Sat, 08 May 2010 01:01
14 lines
1561 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote in
news:ejVEn.19867$Pf3.18926@newsfe16.ams2: 

> 
> Am I the only person who thinks having read his
> documentation Luu Tran hates Xnews & regrets releasing it
> into the public domain? 
> 

Yes.

J
-- 
Replies to: Nherr1professor2doktor31109(at)Oyahoo(dot)Tcom
Re: Xnews query on exceptions in a score file entry
#240771
Author: Nil
Date: Sat, 08 May 2010 04:23
9 lines
1407 bytes
On 07 May 2010, John Wunderlich <jwunderlich@lycos.com> wrote in
news.software.readers: 

> It depends on which header contains your "Jbinup.local" tag.  It
> could be "user-agent" or "X-newsreader".  Both are nonstandard
> headers for filtering, so your newsserver must support the XHDR
> command or it won't work. 

How can I determine if my news servers support XHDR?
Re: Xnews query on exceptions in a score file entry
#240772
Author: John F. Morse
Date: Sat, 08 May 2010 05:59
50 lines
2507 bytes
Nil wrote:
> On 07 May 2010, John Wunderlich <jwunderlich@lycos.com> wrote in
> news.software.readers: 
>
>   
>> It depends on which header contains your "Jbinup.local" tag.  It
>> could be "user-agent" or "X-newsreader".  Both are nonstandard
>> headers for filtering, so your newsserver must support the XHDR
>> command or it won't work. 
>>     
>
> How can I determine if my news servers support XHDR?
>   

Use your MacGyver, telnet:

john@hardy:~$ telnet individual.net 119
Trying 130.133.4.11...
Connected to individual.net.
Escape character is '^]'.
200 The server welcomes 12-345-67-89.my.net (12.345.67.89). 
Authorization required for reading and posting.
help
100 Legal commands
  authinfo user Name|pass Password|simple Name Password
  date
  help
  list [active|active.times|distributions|distrib.pats|moderators
       |motd|newsgroups|overview.fmt|schema|subscriptions]
  mode reader
  noop
  slave
  xuid
  xver
  quit
Report problems to <news@individual.net>.
..
xhdr
501 header [range|MessageID]
xhdr '<Xns9D72410D285Bnilch1@130.133.4.11>'
480 Authentication required.
quit
205 .
Connection closed by foreign host.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: Xnews query on exceptions in a score file entry
#240778
Author: XS11E
Date: Sat, 08 May 2010 17:38
24 lines
1929 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote:

> 
> "XS11E" <xs11eNO@SPAMyahoo.com> wrote in message 
> news:Xns9D7152AB7F8A2xs11eyahoocom@127.0.0.1...
>> Luu Tran expected people who read the documentation to have normal
>> reading skills and IQs. 
> 
> My reading skills are fine, my IQ is probably higher than yours.

Obviously not as your posts prove.

> And your a troll.

You're illiterate as well as low IQ and lack of reading skills?

 



-- 
XS11E, Killing all posts from Google Groups
The Usenet Improvement Project:
http://twovoyagers.com/improve-usenet.org/
Re: Xnews query on exceptions in a score file entry
#240782
Author: Mike Yetto
Date: Sun, 09 May 2010 00:21
20 lines
2254 bytes
Raymond Daley <raymond.daley@ntlworld.com> writes and having writ moves on.
>
> "XS11E" <xs11eNO@SPAMyahoo.com> wrote in message 
> news:Xns9D7152AB7F8A2xs11eyahoocom@127.0.0.1...
>> Luu Tran expected people who read the documentation to have normal
>> reading skills and IQs.
>
> My reading skills are fine, my IQ is probably higher than yours.
> And your a troll.
>

What about XS11E's a troll(sic)?

Anyway, now I'm convinced of your right to support from this ng.
Would you care to insult any more regulars and Xnews experts?

Mike "HTH & HAND" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: Xnews query on exceptions in a score file entry
#240784
Author: XS11E
Date: Sun, 09 May 2010 02:40
25 lines
2258 bytes
Mike Yetto <myetto1@nycap.invalid> wrote:

> Raymond Daley <raymond.daley@ntlworld.com> writes and having writ
> moves on. 
>>
>> "XS11E" <xs11eNO@SPAMyahoo.com> wrote in message 
>> news:Xns9D7152AB7F8A2xs11eyahoocom@127.0.0.1... 
>>> Luu Tran expected people who read the documentation to have
>>> normal reading skills and IQs. 
>>
>> My reading skills are fine, my IQ is probably higher than yours.
>> And your a troll.
>>
> 
> What about XS11E's a troll(sic)?

At least my reading skills include using Luu Tran's excellent 
documentation to find out how to plonk Raymond, the Illiterate Troll, I 
got that much from it. <G>


-- 
XS11E, Killing all posts from Google Groups
The Usenet Improvement Project:
http://twovoyagers.com/improve-usenet.org/
Re: Xnews query on exceptions in a score file entry
#240785
Author: John Wunderlich
Date: Sun, 09 May 2010 06:35
26 lines
2337 bytes
"Raymond Daley" <raymond.daley@ntlworld.com> wrote in
news:ejVEn.19867$Pf3.18926@newsfe16.ams2: 

> so i can enter anything, its not case sensitive then?
It's not case sensitive if there is a colon (:) after the heading 
name.
If you want it case sensitive, replace the ":" with "=".
as in " ~Subject= CaSe SeNsItIvE
There is more detailed scoring information in the file "scoring.txt"

> Am I the only person who thinks having read his documentation Luu
> Tran hates Xnews & regrets releasing it into the public domain? 
Having been around in the early days of Xnews when Luu frequented 
this newsgroup, it was clear that Luu wrote this program primarily 
for his own use.  What he released was in hopes that others who 
shared his philosophies in newsreaders would find it useful. Along 
the way, it developed quite a following. Support for what wasn't in 
the manual was addressed in this newsgroup.  He withdrew from this 
newsgroup as a result of some flame posts which he apparently took 
personally.  Aside from a quick "Xnews-64" update a year or two ago, 
it appears his life has gone in other directions and Xnews 
development has stopped.

-- John

Re: Xnews query on exceptions in a score file entry
#240786
Author: John Wunderlich
Date: Sun, 09 May 2010 06:40
25 lines
1887 bytes
Nil <rednoise@REMOVETHIScomcast.net> wrote in 
news:Xns9D72410D285Bnilch1@130.133.4.11:

> On 07 May 2010, John Wunderlich <jwunderlich@lycos.com> wrote in
> news.software.readers: 
> 
>> It depends on which header contains your "Jbinup.local" tag.  It
>> could be "user-agent" or "X-newsreader".  Both are nonstandard
>> headers for filtering, so your newsserver must support the XHDR
>> command or it won't work. 
> 
> How can I determine if my news servers support XHDR?

You can use a telnet connection but I find that the quickest way is 
simply write a scoring entry that calls out a non-standard header 
such as:

Score: 3000
User-Agent: Xnews

Then, if articles posted from Xnews are scored as +3000, then it is 
supported.

HTH,
  John
Re: Xnews query on exceptions in a score file entry
#240796
Author: Nil
Date: Sun, 09 May 2010 19:02
32 lines
2533 bytes
On 09 May 2010, John Wunderlich <jwunderlich@lycos.com> wrote in 
news.software.readers:

> You can use a telnet connection but I find that the quickest way is 
> simply write a scoring entry that calls out a non-standard header 
> such as:
> 
> Score: 3000
> User-Agent: Xnews
> 
> Then, if articles posted from Xnews are scored as +3000, then it is 
> supported.

Thanks very much for the tips. I tried the telnet trick, but I not sure 
what commands the server expects to see and it times out quickly while 
I decide, or disconnects me if I choose wrong or make a typo. So I 
tried your second suggestion and I found that both the servers I 
usually use, individual.net and eternal-september, both respond to the 
non-standard header entries in my score file. I can even notice an XHDR 
message flash by in the status bar.

It's a little difficult to test because once the header has been 
retrieved, the non-standard score ingredients don't seem to trigger the 
next time. But at least I know they work... and I will definitely use 
them!

If I go back to the telnet trick, is there a single command to ask the 
server to tell me all at once all the headers I can use for this?

My main use for this will be to identify trolls who change their handle 
in ways that the standard headers won't catch, but who leave other 
markers in the headers, such as Posting Host, User-Agent, etc.
Re: Xnews query on exceptions in a score file entry
#240797
Author: Guy
Date: Sun, 09 May 2010 19:20
15 lines
2006 bytes
Nil wrote:

> If I go back to the telnet trick, is there a single command to ask
> the server to tell me all at once all the headers I can use for
> this? 
> 


No, you'll need to just try headers.

telnet server port
group groupname
xhdr header

Re: Xnews query on exceptions in a score file entry
#240800
Author: Nil
Date: Sun, 09 May 2010 21:44
11 lines
1581 bytes
On 09 May 2010, Guy <Use-Reply-To-Address-Header@[127.1]> wrote in 
news.software.readers:

> No, you'll need to just try headers.
> 
> telnet server port
> group groupname
> xhdr header

OK, thanks. I guess the easiest thing to do is just test them out in my 
Xnews score file and see if they work.
Re: Xnews query on exceptions in a score file entry
#240812
Author: Gene E. Bloch
Date: Tue, 11 May 2010 00:56
14 lines
1847 bytes
On Sat, 08 May 2010 23:35:05 -0700, John Wunderlich wrote:

>> Am I the only person who thinks having read his documentation Luu
>> Tran hates Xnews & regrets releasing it into the public domain? 
> Having been around in the early days of Xnews when Luu frequented 
> this newsgroup, it was clear that Luu wrote this program primarily 
> for his own use.

In fact, he said as much.

He seems to think that honesty is the best policy :-)

-- 
Gene E. Bloch
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