Thread View: news.software.readers
17 messages
17 total messages
Started by Len Philpot
Fri, 21 Jul 2006 01:20
[Dialog] Action based on body content ?
Author: Len Philpot
Date: Fri, 21 Jul 2006 01:20
Date: Fri, 21 Jul 2006 01:20
25 lines
2218 bytes
2218 bytes
I'm using Dialog 2.0.15.1 and have a couple of questions : Is there any way to trigger an action (say, delete) based on a regex match within the /body/ of an article? I've read a lot about evaluating the content of headers, but not the body. There's talk of scoring, but scoring is of no use for me (in Dialog nor any other usenet reader), best I can tell. Where can I find information, example, etc. of implementing a bozo bin / killfile or equivalent? I can add them manually, e.g., [x.y.z] !delete From "Joe Annoying" but I've seen no way to do this automatically with a keypress or mouse click. ...and just out of curiosity, is there any way to disable smooth-scrolling in the article pane? Very nice program, but I've been unable to find answers for these. Thanks. -- ---- Len Philpot -------- l e n @ p h i l p o t . o r g (no spaces) ------- ><> ------------- http://members.cox.net/lenphilpot/
Re: [Dialog] Action based on body content ?
Author: Eggs Zachtly
Date: Fri, 21 Jul 2006 01:42
Date: Fri, 21 Jul 2006 01:42
54 lines
3507 bytes
3507 bytes
Len Philpot said: > I'm using Dialog 2.0.15.1 and have a couple of questions : > > Is there any way to trigger an action (say, delete) based on a regex > match within the /body/ of an article? I've read a lot about evaluating > the content of headers, but not the body. I'm trying to think of a reason to delete a post, via a rule, on body content. I can't think of one. =( If someone's posting something I don't want to see, I don't see their posts. Could you elaborate a bit? Is this about vulgar language, or something similar? Dialog's rules and scoring are based on Hamster, IINM. Perhaps, though, only loosely. I think Hamster has the ability to score on the body, tho. > There's talk of scoring, but > scoring is of no use for me (in Dialog nor any other usenet reader), > best I can tell. There's plenty of uses for scoring. You just haven't played with it enough to see that. =) > > Where can I find information, example, etc. of implementing a bozo bin / > killfile or equivalent? I can add them manually, e.g., > [x.y.z] > !delete From "Joe Annoying" > but I've seen no way to do this automatically with a keypress or mouse > click. "Automatically" would be doing it in the background, as the rule dictates, and as Dialog currently functions. Pressing a key or mouse button adds an extra step. Why would you want to add extra steps? > > ...and just out of curiosity, is there any way to disable > smooth-scrolling in the article pane? I believe that's a global, Windows setting. > > Very nice program, but I've been unable to find answers for these. Not to be mean, but some of the things you appear to ask for are inefficient, and/or not related to Dialog. -- Eggs - Listen: Strange women lying in ponds distributing swords is no basis for a system of government! Supreme executive power derives from a mandate from the masses, not from some... farcical aquatic ceremony!
Re: [Dialog] Action based on body content ?
Author: Blinky the Shark
Date: Fri, 21 Jul 2006 01:58
Date: Fri, 21 Jul 2006 01:58
22 lines
1956 bytes
1956 bytes
Eggs Zachtly wrote: > Len Philpot said: >> Where can I find information, example, etc. of implementing a bozo bin / >> killfile or equivalent? I can add them manually, e.g., >> [x.y.z] >> !delete From "Joe Annoying" >> but I've seen no way to do this automatically with a keypress or mouse >> click. > > "Automatically" would be doing it in the background, as the rule dictates, > and as Dialog currently functions. Pressing a key or mouse button adds an > extra step. Why would you want to add extra steps? I think he wants to be able to *create* a rule like that with a keypress or click, rather than having to go in and write the rule manually. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [Dialog] Action based on body content ?
Author: Eggs Zachtly
Date: Fri, 21 Jul 2006 02:01
Date: Fri, 21 Jul 2006 02:01
30 lines
2630 bytes
2630 bytes
Blinky the Shark said: > Eggs Zachtly wrote: >> Len Philpot said: > >>> Where can I find information, example, etc. of implementing a bozo bin / >>> killfile or equivalent? I can add them manually, e.g., >>> [x.y.z] >>> !delete From "Joe Annoying" >>> but I've seen no way to do this automatically with a keypress or mouse >>> click. >> >> "Automatically" would be doing it in the background, as the rule dictates, >> and as Dialog currently functions. Pressing a key or mouse button adds an >> extra step. Why would you want to add extra steps? > > I think he wants to be able to *create* a rule like that with a keypress > or click, rather than having to go in and write the rule manually. Ahh! Then a simple right click on the vile poster's name will reveal a menu that should be self-eggsplainatoree. =) Thanks for the clarification. I swear I read that for 10 minutes before replying, just to be sure. =/ -- Eggs Can you be a closet claustrophobic?
Re: [Dialog] Action based on body content ?
Author: foxidrive
Date: Fri, 21 Jul 2006 02:12
Date: Fri, 21 Jul 2006 02:12
27 lines
2066 bytes
2066 bytes
On Thu, 20 Jul 2006 20:20:57 -0500, Len Philpot wrote: > I'm using Dialog 2.0.15.1 and have a couple of questions : > > Is there any way to trigger an action (say, delete) based on a regex > match within the /body/ of an article? I've read a lot about evaluating > the content of headers, but not the body. There's talk of scoring, but > scoring is of no use for me (in Dialog nor any other usenet reader), > best I can tell. > > Where can I find information, example, etc. of implementing a bozo bin / > killfile or equivalent? I can add them manually, e.g., > [x.y.z] > !delete From "Joe Annoying" > but I've seen no way to do this automatically with a keypress or mouse > click. Message menu, scoring and actions, add PLONK rule. > ...and just out of curiosity, is there any way to disable > smooth-scrolling in the article pane? You can change the scrolling delay in the article pane. > Very nice program, but I've been unable to find answers for these. HTH
Re: [Dialog] Action based on body content ?
Author: Ted S.
Date: Fri, 21 Jul 2006 02:53
Date: Fri, 21 Jul 2006 02:53
33 lines
2206 bytes
2206 bytes
Somebody claiming to be Eggs Zachtly <re@d.thereplyto.header> wrote at Fri, 21 Jul 2006 01:42:38 GMT: > I'm trying to think of a reason to delete a post, via a rule, on body > content. I can't think of one. =( If someone's posting something I don't > want to see, I don't see their posts. Could you elaborate a bit? Is this > about vulgar language, or something similar? I can't speak about Usenet posts, but in my experience, I get copies of certain spam email that defy my kill-file attempts, since the Subject: line keeps changing, as well as the sender and the Message-ID. They all look somewhat like this: <snip> Sensationall revoolution in medicine! E''nlarge your p''enis up to 10 cm or up to 4 inches! Its h'erbal solution what hasnt side effect, but has 100% guaranted results! </snip> They're all slightly different, but I could find enough similarities to cook up a regex. (I haven't gotten Body: killing in Hamster to work very well.) -- Ted <fedya at bestweb dot net> TV Announcer: It's 11:00. Do you know where your children are? Homer: I told you last night, *no*! <http://www.snpp.com/episodes/4F06.html>
Re: [Dialog] Action based on body content ?
Author: Len Philpot
Date: Fri, 21 Jul 2006 02:53
Date: Fri, 21 Jul 2006 02:53
80 lines
4610 bytes
4610 bytes
On Thu, 20 Jul 2006 20:42:38 -0500, Eggs Zachtly wrote: > Len Philpot said: > >> I'm using Dialog 2.0.15.1 and have a couple of questions : >> >> Is there any way to trigger an action (say, delete) based on a regex >> match within the /body/ of an article? I've read a lot about evaluating >> the content of headers, but not the body. > > I'm trying to think of a reason to delete a post, via a rule, on body > content. I can't think of one. =( If someone's posting something I don't > want to see, I don't see their posts. Could you elaborate a bit? Is this > about vulgar language, or something similar? Along those lines. What prompted me to think about it most recently are the articles from a known loon in sci.astro.amateur (and elsewhere) who always has "PGP SIGNED MESSAGE" (or somesuch) in his posts. They're of absolutely no value and I don't want to even see them. He changes his identity frequently, but (so far) that string is in every post he makes. There are other examples, as well. This question and the next (bozo bin) are basically two sides of the same coin. Some of the reasoning may arise from how I prefer to read news. I follow a small number of groups, download all new headers and their bodies automatically. Then, I read what I want. That approach caches all the info offline so that there's less sporadic network access while reading. >> There's talk of scoring, but >> scoring is of no use for me (in Dialog nor any other usenet reader), >> best I can tell. > > There's plenty of uses for scoring. You just haven't played with it enough > to see that. =) If I were reading a large number of groups, yes. Typically, I read 6 to 8 several times daily and that's about it. > "Automatically" would be doing it in the background, as the rule dictates, > and as Dialog currently functions. Pressing a key or mouse button adds an > extra step. Why would you want to add extra steps? [elsethread] > Ahh! Then a simple right click on the vile poster's name will reveal a > menu that should be self-eggsplainatoree. =) I presume you mean 'Add PLONK rule'... Don't know how I overlooked that one. :-) >> ...and just out of curiosity, is there any way to disable >> smooth-scrolling in the article pane? > > I believe that's a global, Windows setting. For IE, Explorer, etc., it is, but for Dialog (as pointed out elsethread), 'Scroll window delay' is what I was looking for. I had seen it before, but for some reason didn't put 2 + 2 together. Setting it to zero makes things nice. >> Very nice program, but I've been unable to find answers for these. > > Not to be mean, but some of the things you appear to ask for are > inefficient, and/or not related to Dialog. I understand what you're saying, but then again... what's more efficient, allowing a program (Dialog or otherwise) to make automatic but possibly flawed decisions (in regard to what I might want at the moment), or providing a way for me to make the decision manually, very quickly... ? Who knows. Thanks for the help. -- ---- Len Philpot -------- l e n @ p h i l p o t . o r g (no spaces) ------- ><> ------------- http://members.cox.net/lenphilpot/
Re: [Dialog] Action based on body content ?
Author: Gember Breuk
Date: Fri, 21 Jul 2006 04:24
Date: Fri, 21 Jul 2006 04:24
30 lines
2333 bytes
2333 bytes
On Thu, 20 Jul 2006 21:53:29 -0500, Len Philpot wrote: > On Thu, 20 Jul 2006 20:42:38 -0500, Eggs Zachtly wrote: > >> Len Philpot said: >> >>> I'm using Dialog 2.0.15.1 and have a couple of questions : >>> >>> Is there any way to trigger an action (say, delete) based on a regex >>> match within the /body/ of an article? I've read a lot about evaluating >>> the content of headers, but not the body. >> >> I'm trying to think of a reason to delete a post, via a rule, on body >> content. I can't think of one. =( If someone's posting something I don't >> want to see, I don't see their posts. Could you elaborate a bit? Is this >> about vulgar language, or something similar? > > Along those lines. What prompted me to think about it most recently are > the articles from a known loon in sci.astro.amateur (and elsewhere) who > always has "PGP SIGNED MESSAGE" (or somesuch) in his posts. They're of > absolutely no value and I don't want to even see them. He changes his > identity frequently, but (so far) that string is in every post he makes. > There are other examples, as well. You might find this Dialog script useful: http://www.40tude.com/dialog/wiki/index.php/ScriptNukePGP -- Gem
Re: [Dialog] Action based on body content ?
Author: Blinky the Shark
Date: Fri, 21 Jul 2006 04:49
Date: Fri, 21 Jul 2006 04:49
33 lines
2481 bytes
2481 bytes
Eggs Zachtly wrote: > Blinky the Shark said: > >> Eggs Zachtly wrote: >>> Len Philpot said: >> >>>> Where can I find information, example, etc. of implementing a bozo bin / >>>> killfile or equivalent? I can add them manually, e.g., >>>> [x.y.z] >>>> !delete From "Joe Annoying" >>>> but I've seen no way to do this automatically with a keypress or mouse >>>> click. >>> >>> "Automatically" would be doing it in the background, as the rule dictates, >>> and as Dialog currently functions. Pressing a key or mouse button adds an >>> extra step. Why would you want to add extra steps? >> >> I think he wants to be able to *create* a rule like that with a keypress >> or click, rather than having to go in and write the rule manually. > > Ahh! Then a simple right click on the vile poster's name will reveal a menu > that should be self-eggsplainatoree. =) > > Thanks for the clarification. I swear I read that for 10 minutes before > replying, just to be sure. =/ That's okay. Cousin Stinky was a slow reader, too. Of course, when you're a shark, you *can't* flunk out of the school. :) -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [Dialog] Action based on body content ?
Author: Frank Slootweg
Date: Fri, 21 Jul 2006 10:05
Date: Fri, 21 Jul 2006 10:05
20 lines
2017 bytes
2017 bytes
Len Philpot <len@philpot.org> wrote: > I'm using Dialog 2.0.15.1 and have a couple of questions : > > Is there any way to trigger an action (say, delete) based on a regex > match within the /body/ of an article? I've read a lot about evaluating > the content of headers, but not the body. There's talk of scoring, but > scoring is of no use for me (in Dialog nor any other usenet reader), > best I can tell. As others have mentioned, if you want to *kill* (i.e. never see an article) on body content, then adding Hamster [1] to your setup is probably the best solution. Hamster is a 'small' 'personal' News server which sits between your newsreader (any newsreader) and your real News server. Besides offline capability, Hamster offers the advanced body killing/filtering/scoring capability you are looking for. FYI, I use Hamster with the tin newsreader. [deleted] [1] <http://www.tglsoft.de/misc/hamster_en.htm>
Re: [Dialog] Action based on body content ?
Author: Len Philpot
Date: Fri, 21 Jul 2006 12:43
Date: Fri, 21 Jul 2006 12:43
31 lines
2848 bytes
2848 bytes
On 21 Jul 2006 10:05:45 GMT, Frank Slootweg wrote: > As others have mentioned, if you want to *kill* (i.e. never see an > article) on body content, then adding Hamster [1] to your setup is > probably the best solution. Hamster is a 'small' 'personal' News server > which sits between your newsreader (any newsreader) and your real News > server. Besides offline capability, Hamster offers the advanced body > killing/filtering/scoring capability you are looking for. FYI, I use > Hamster with the tin newsreader. Sounds like it does for usenet what fetchmail does for mail. I may check it out. When I was running Linux at home a few years back, I settled on tin after spending a bit of time in knode and pan. In a lot of ways, it was by far the best newsreader I've ever used (although I missed having archival folders for keeping articles). Fast, easy and configurable. One BIG advantage is the way it uses vi(m) for editing, which is /far/ superior to the message editors I've seen in any other newsreaders or email clients on any platform. Plus, it's a console app, which is always nice. Giving up mutt and tin when I ended up on Windows again at home was tough. :-) I looked at Dialog's plonk rule and unfortunately, it's defaults to ignore, not delete. Maybe I can figure a way around it, though. Thanks! -- ---- Len Philpot -------- l e n @ p h i l p o t . o r g (no spaces) ------- ><> ------------- http://members.cox.net/lenphilpot/
Re: [Dialog] Action based on body content ?
Author: Frank Slootweg
Date: Fri, 21 Jul 2006 13:20
Date: Fri, 21 Jul 2006 13:20
23 lines
2069 bytes
2069 bytes
Len Philpot <len@philpot.org> wrote: [much deleted] > Giving up mutt and tin when I ended up on Windows again at home was > tough. :-) Just in case I wasn't clear: I use tin with Hamster on the *same* system, i.e. on (MS-)Windows. tin runs on top of Cygwin [1], which is a Linux-like environment for (MS-)Windows. You can run all kinds of UNIX/Linux software on Cygwin. mutt is also available [3], and so are tons of other packages. See the Cygwin Package List at [4]. So even on (MS-)Windows you don't have to miss out on any of your favorite UNIX/Linux software! [1] Cygwin: <http://cygwin.com> [2] tin package for Cygwin: <http://cygwin.com/cgi-bin2/package-grep.cgi?grep=A+News+Reader> [3] mutt package for Cygwin: <http://cygwin.com/cgi-bin2/package-grep.cgi?grep=A+text+mode+mail+user+agent> [4] Cygwin Package List: <http://cygwin.com/packages>
Re: [Dialog] Action based on body content ?
Author: Neil Woods
Date: Fri, 21 Jul 2006 16:04
Date: Fri, 21 Jul 2006 16:04
22 lines
2106 bytes
2106 bytes
Len Philpot <len@philpot.org> writes: > Along those lines. What prompted me to think about it most recently are > the articles from a known loon in sci.astro.amateur (and elsewhere) who > always has "PGP SIGNED MESSAGE" (or somesuch) in his posts. They're of > absolutely no value and I don't want to even see them. He changes his > identity frequently, but (so far) that string is in every post he makes. > There are other examples, as well. If that's the same person I'm thinking of (Min), then AFAIK he only posts through anonymous remailers. Since there don't seem to be any valid reasons why one would want to post anonymously to a technical or scientific news group, then it's pretty safe to assume that all such posts are those of trolls/kooks. Adding a rule to Dialog to filter out all posts coming from anonymous remailers should solve your problem. -- Neil. What on earth would a man do with himself if something did not stand in his way? -- H. G. Wells
Re: [Dialog] Action based on body content ?
Author: Oliver Cromm
Date: Fri, 21 Jul 2006 21:57
Date: Fri, 21 Jul 2006 21:57
33 lines
2641 bytes
2641 bytes
* Len Philpot wrote:
> I'm using Dialog 2.0.15.1 and have a couple of questions :
>
> Is there any way to trigger an action (say, delete) based on a regex
> match within the /body/ of an article?
There is a script to do that.
<http://www.40tude.com/dialog/wiki/index.php/ScriptXBody>
It adds one or more custom X-headers to a message, when the body matches
your patterns, and then you can score (or perform actions) on those
headers.
But it is one of the most complex scripts around and needs one or more
include files, see
<http://www.40tude.com/dialog/wiki/index.php/Script_Library>.
It would be good to have experience with Dialog scripts or at least with
programming in general.
> Where can I find information, example, etc. of implementing a bozo bin /
> killfile or equivalent? I can add them manually, e.g.,
> [x.y.z]
> !delete From "Joe Annoying"
> but I've seen no way to do this automatically with a keypress or mouse
> click.
It has been mentioned, you can also assign your favorite key to any menu
action in the settings menu ("configure buttons/shortcuts" or what the
English version is).
--
Smith & Wesson--the original point and click interface
Re: [Dialog] Action based on body content ?
Author: Oliver Cromm
Date: Fri, 21 Jul 2006 22:03
Date: Fri, 21 Jul 2006 22:03
21 lines
2244 bytes
2244 bytes
* Len Philpot wrote:
[Hamster]
> Sounds like it does for usenet what fetchmail does for mail. I may check
> it out.
Recently someone asked in a Hamster group what would be the Unix
equivalent of Hamster. The answer goes:
Postfix + Dovecot + procmail + fetchmail + formail
+ leafnode + fetchnews + ...
Hamster is a POP3/IMAP/SMTP/NNTP server *and* POP3/NNTP client (in order
to fetch your stuff from the outside world) with integrated filtering
functions and scripting, plus there are plugins.
Now if you need only NNTP, you can go a long way with Dialog.
--
Strategy: A long-range plan whose merit cannot be evaluated until
sometime after those creating it have left the organization.
Re: [Dialog] Action based on body content ?
Author: Len Philpot
Date: Fri, 21 Jul 2006 22:28
Date: Fri, 21 Jul 2006 22:28
18 lines
2261 bytes
2261 bytes
On 21 Jul 2006 13:20:30 GMT, Frank Slootweg wrote: > I use tin with Hamster on the *same* system, i.e. on (MS-)Windows. tin > runs on top of Cygwin [1], which is a Linux-like environment for > (MS-)Windows. You can run all kinds of UNIX/Linux software on Cygwin. I've /played/ with Cygwin a bit, but never really tried to use it all that much. Somewhere I have a copy of Microsoft's SFU (services for unix), which allegedly provides a Cygwin-like environment, but I've not investigated it. Now that someone else mentioned it, I recall using leafnode on Linux, but it was occasionally flaky. Of course, all this was 3+ years ago. Thanks for the info. -- ---- Len Philpot -------- l e n @ p h i l p o t . o r g (no spaces) ------- ><> ------------- http://members.cox.net/lenphilpot/
Re: [Dialog] Action based on body content ?
Author: Len Philpot
Date: Fri, 21 Jul 2006 22:32
Date: Fri, 21 Jul 2006 22:32
10 lines
1839 bytes
1839 bytes
On Fri, 21 Jul 2006 17:04:40 +0100, Neil Woods wrote: > If that's the same person I'm thinking of (Min), then AFAIK he only > posts through anonymous remailers. Since there don't seem to be any That's him. One of several there and elsewhere, alas. -- ---- Len Philpot -------- l e n @ p h i l p o t . o r g (no spaces) ------- ><> ------------- http://members.cox.net/lenphilpot/
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