Thread View: news.software.readers
9 messages
9 total messages
Started by Adam Funk
Tue, 20 Jun 2006 13:32
[slrn] How to add a custom header for specific groups only?
Author: Adam Funk
Date: Tue, 20 Jun 2006 13:32
Date: Tue, 20 Jun 2006 13:32
18 lines
1455 bytes
1455 bytes
I'd like to customize slrn so that when I post or follow-up and any of the groups in the Newsgroups-header match a specified list, slrn runs an external program to get the value of a custom header, which it inserts before launching the $EDITOR. Unfortunately I have very little experience with s-lang, so I'd appreciate pointers on how to start, in particular: 1. What's the best way to test the Newsgroups header against a list? 2. How do I add a header before the editor is launched? 3. Does a hook registered with post_hook run before the editor is launched? -- Thanks, Adam
[OT] Troll Spotting (was: [slrn] How to add a custom header for specific groups only?)
Author: Alan Connor
Date: Tue, 20 Jun 2006 17:27
Date: Tue, 20 Jun 2006 17:27
76 lines
3710 bytes
3710 bytes
On news.software.readers, in <f0alm3-ilu.ln1@news.ducksburg.com>, "Adam Funk" wrote: > Path: text.usenetserver.com!atl-c01.usenetserver.com!news.usenetserver.com!news2.euro.net!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail > From: Adam Funk <a24061@yahoo.com> Throwaway and anonymous mail account. Throwaway name. > Newsgroups: news.software.readers > Subject: [slrn] How to add a custom header for specific groups only? That's standard troll sockpuppet-creating technique: Make the headers look different for each one to fool the more advanced users who look the headers over. > Date: Tue, 20 Jun 2006 14:32:31 +0100 > Lines: 18 > Message-ID: <f0alm3-ilu.ln1@news.ducksburg.com> You can create any MID you want with any decent newsreader. > X-Trace: individual.net xd3xlK8rR66tkDiU0BwQEAXjsKt75prS/OJqjgZ+mBKeVoRSam > X-Orig-Path: news.ducksburg.com!news news.ducksburg.com would be in the "Path:" header at the beginning if that was anything but bullschitt. $ host news.ducksburg.com news.ducksburg.com does not exist, try again $ host ducksburg.com ducksburg.com A record currently not present That means it has no IP address and is therefore not on the Internet. For the newbies: "host" is a DNS tool for querying nameservers (DNS servers) about domain names and IP addresses. All Internet-capable computers have it. On Windoze, go to the DOS prompt or "run command" window while you are connected to the Internet. > User-Agent: slrn/0.9.8.1pl1 (Debian) Sure. But you can change that at will to read anything you want. Could say OE or Xnews. I'm sure that's what this fellow wants to do with the macro he seeks, among other things. Different apparent newsreader adds credibility to a sockpuppet. But he still gets to use the most excellent slrn. Which I certainly am not going to help him get better with. I wonder how many other sockpuppets of his have shown up here looking for help. > Xref: usenetserver.com news.software.readers:313434 > X-Received-Date: Tue, 20 Jun 2006 09:44:04 EDT (text.usenetserver.com) <article not downloaded: http://slrn.sourceforge.net/docs/README.offline> http://groups.google.com/groups?selm=slrne9ff08.161.i3x9mdw@b29x3m.invalid Note: I will not be downloading any articles on this thread. Alan -- http://home.earthlink.net/~alanconnor/contact.html Other URLs of possible interest in my headers.
Re: [OT] Troll Spotting (was: [slrn] How to add a custom header for specific groups only?)
Author: Alan Connor
Date: Tue, 20 Jun 2006 19:14
Date: Tue, 20 Jun 2006 19:14
43 lines
2858 bytes
2858 bytes
Postscript: On news.software.readers, in <slrne9gbe2.1bv.i3x9mdw@b29x3m.invalid>, "Alan Connor" wrote: > > > On news.software.readers, in <f0alm3-ilu.ln1@news.ducksburg.com>, "Adam Funk" wrote: >> Path: text.usenetserver.com!atl-c01.usenetserver.com!news.usenetserver.com!news2.euro.net!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail I did forget to point out for the newbies that individual.net is an _anonymous_ newsserver. There are no identifiers in the headers usable by anyone but their newsadmins. These are a favorite of trolls for obvious reasons. Because individual.net has a low tolerance for abuse, trolls usually use them for their "nice-guy aliases": When they want help and don't dare use their other aliases because you've probably already killfiled them or their posting history makes it obvious that they are Usenet vermin that you wouldn't help. Some of the regulars here (there aren't anywhere near as many of them as their seems to be, of course) ARE trolls and are delighted to help their fellow trolls. To strut their stuff. Fortunately, they really aren't very good, because they spend too much time running their mouths on scores of groups under dozens of aliases to do their homework. Not to mention the IRC network and the web forums. And people like me won't help them get any better. :-) <snip> Note: I will not be downloading any articles on this thread. Alan -- http://home.earthlink.net/~alanconnor/contact.html Other URLs of possible interest in my headers.
Re: [slrn] How to add a custom header for specific groups only?
Author: Troy Piggins
Date: Tue, 20 Jun 2006 22:04
Date: Tue, 20 Jun 2006 22:04
59 lines
3157 bytes
3157 bytes
* Adam Funk wrote:
> I'd like to customize slrn so that when I post or follow-up and any of
> the groups in the Newsgroups-header match a specified list, slrn runs
> an external program to get the value of a custom header, which it
> inserts before launching the $EDITOR.
>
> Unfortunately I have very little experience with s-lang, so I'd
> appreciate pointers on how to start, in particular:
>
> 1. What's the best way to test the Newsgroups header against a list?
>
> 2. How do I add a header before the editor is launched?
>
> 3. Does a hook registered with post_hook run before the editor is
> launched?
Yes.
Not sure exactly what headers you want to include etc, but this may
help:
define post_hook ()
{
set_string_variable ("custom_headers", "X-Custom: custom info");
}
But that does not help customise based on what group you are in.
Here's another one where you can change your sig depending on what group
you are in. It's not based on post_hook, but article_mode_hook. Note
that it is not exactly what you asked for, since it doesn't scan for
the Newsgroups: headers as such, but rather uses the current_group
function once you are in a group. This works for me because I don't
post from group mode.
define make_group_specific_settings ()
{
if (is_substr (current_newsgroup (), "alt.specific.group"))
{
sig = "/home/troy/.signature/specific.signature";
set_string_variable ("custom_headers", "X-Custom: custom info1");
}
else
{
sig = "/home/troy/.signature/default.signature";
set_string_variable ("custom_headers", "X-Custom: custom info2");
}
set_string_variable ("signature", sig);
}
() = register_hook ("article_mode_hook", "make_group_specific_settings");
Look at the slrnfuns.txt file (/usr/local/share/docs/slrn/slrnfuns.txt
here I think). It has fairly good explanations of the above.
--
Troy Piggins : "My karma just ran over my dogma"
,-o
o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org
`-o uptime: 07:50:11 up 17 days,4:57,2 users,load average:0.00,0.00,0.00
Re: [OT] Beavis Spotting (was: [slrn] How to add a custom header for specific groups only?)
Author: Sam
Date: Wed, 21 Jun 2006 00:42
Date: Wed, 21 Jun 2006 00:42
144 lines
6531 bytes
6531 bytes
This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_mimegpg-commodore.email-scan.com-11528-1150850569-0003 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Usenet Beavis writes: > On news.software.readers, in <f0alm3-ilu.ln1@news.ducksburg.com>, "Adam Funk" wrote: >> Path: text.usenetserver.com!atl-c01.usenetserver.com!news.usenetserver.com!news2.euro.net!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail >> From: Adam Funk <a24061@yahoo.com> > > Throwaway and anonymous mail account. Indeed, Beavis. On the other hand, your own mail account of <i3x9mdw@j9n35c.invalid> is as good as a passport. > Throwaway name. And "Usenet Beavis" isn't? >> Newsgroups: news.software.readers >> Subject: [slrn] How to add a custom header for specific groups only? > > That's standard Usenet Beavis kookfart generation technique: Have a > cow about absolutely nothing of substance, to fool the more naive > users into believing that Beavis actually knows something. Fortunately, I'm always around to set the record straight. >> Date: Tue, 20 Jun 2006 14:32:31 +0100 >> Lines: 18 >> Message-ID: <f0alm3-ilu.ln1@news.ducksburg.com> > > You can create any MID you want with any decent newsreader. HOLD THE PRESSES!!! Beavis maybe onto something, here. >> X-Trace: individual.net xd3xlK8rR66tkDiU0BwQEAXjsKt75prS/OJqjgZ+mBKeVoRSam >> X-Orig-Path: news.ducksburg.com!news > > news.ducksburg.com would be in the "Path:" header at the > beginning if that was anything but bullschitt. Usenet Beavis would actually learn about how NNTP works, if he was anything but full of bullschitt > $ host news.ducksburg.com > news.ducksburg.com does not exist, try again $ brain usenet-beavis usenet-beavis's brain does not exist, try again > $ host ducksburg.com > ducksburg.com A record currently not present $ brain beavis beavis's brain is currently not present > That means it has no IP address and is therefore not > on the Internet. That means that the Usenet Beavis is kookfarting again. > For the newbies: "Usenet Beavis" is a well-known kookbag, whose most > famous achievement to date was striking a friendship with Bigfoot. A Google search on "Usenet Beavis" is very enlightening. > All Internet-capable computers have it. On Windoze, go to the DOS > prompt or "run command" window while you are connected to the > Internet. Then go to www.google.com, and search for "Usenet Beavis". >> User-Agent: slrn/0.9.8.1pl1 (Debian) > > Sure. But you can change that at will to read anything you > want. Could say OE or Xnews. Or "Sasquatch 2000". > I'm sure that's what this fellow wants to do with the macro > he seeks, among other things. And I'm sure that the old adage, "whatever conclusion the Beavis reaches, the correct answer always lies 180 degrees to the opposite", still holds true. > Different apparent newsreader adds credibility to a sockpuppet. Trying to vary slightly the same basic kookfart adds more desperation to Beavis's daily spewage. > But he still gets to use the most excellent slrn. slrn is out of date, and does not support many modern Internet standards. > Which I certainly am not going to help him get better with. *Phew* what a relief. > I wonder how many other kookfarts of mine have shown up > here looking for any gullible souls. Beavis, your kookfart output has slackened a little bit over the last couple of days. It's time to pick up the pace, and hold your end of the bargain. > >> Xref: usenetserver.com news.software.readers:313434 >> X-Received-Date: Tue, 20 Jun 2006 09:44:04 EDT (text.usenetserver.com) > > <article downloaded and read: http://www.geocities.com/suhatrasabib> > > http://groups.google.com/group/misc.survivalism/browse_frm/thread/ffcbee94102456d7/48d5df3096f876df?tvc=1#48d5df3096f876df Thanks for the reminder, Beavis. > Note: I will be downloading every article in this thread. And you will love every byte of each and every one. > Beavis --=_mimegpg-commodore.email-scan.com-11528-1150850569-0003 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEmJYJx9p3GYHlUOIRAg/BAJ4+C1V3XDd6JN2Wc0U0BTMKfKL3KQCfSCB0 d9qJKmoUfNWobPex6dxOP8Y= =j+WU -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-11528-1150850569-0003--
Re: [OT] Troll Spotting (was: [slrn] How to add a custom header for specific groups only?)
Author: Sam
Date: Wed, 21 Jun 2006 00:49
Date: Wed, 21 Jun 2006 00:49
102 lines
5176 bytes
5176 bytes
This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_mimegpg-commodore.email-scan.com-11528-1150850948-0004 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Usenet Beavis writes: > Postscript: > > On news.software.readers, in <slrne9gbe2.1bv.i3x9mdw@b29x3m.invalid>, "Alan Connor" wrote: >> >> >> On news.software.readers, in <f0alm3-ilu.ln1@news.ducksburg.com>, "Adam Funk" wrote: >>> Path: text.usenetserver.com!atl-c01.usenetserver.com!news.usenetserver.com!news2.euro.net!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail > > I did forget to point out for the newbies that I, the Usenet Beavis, have > a major kookfart almost every day. I think the newbies can figure it out by themselves. > There are no identifiers in the headers usable by anyone but > their newsadmins. And everyone else, except Beavis. > These are a favorite of my mental superiors for obvious reasons. Because > individual.net has a low tolerance for abuse, my masters usually > use them for their "nice-guy aliases": We don't need a "nice-guy" alias, Beavis. We're all just lovable, huggable, harmless little fuzzballs. > When they want to > laugh at my stale kookfarts, together with everyone else, > it makes it very obvious that the whole world things that I'm a > first-class moron. And you _just_ figured it out? > Some of the regulars here (there aren't anywhere near as many > of them as their seems to be, of course) >From the Beavis FAQ: 8) How many different individuals do you believe really post to Usenet? What is the evidence for your paranoid belief that everyone, except you, who posts here is some unknown arch-nemesis of yours? > ARE much smarter than > me and are happy to laugh at my worthless self. Just consider it a public service to humanity, Beavis. > Fortunately, they are really very smart, because they spend all > of their times being productive members of the society, and only > occasionally posting in here when they have some free time, instead > of kookfarting here all day long, like me. Right, Beavis. If it weren't for us, whose headers would you have a hard-on about, every 30 minutes? > Not to mention the IRC network and the web forums. Yes, Beavis. There's so much of useful content out there. Too bad you'll never get it. > And people like me won't help them get any better. Lucky for them. > > :-) > > <snip> > > Note: I will be downloading every article in this thread. And you will love every byte of each and every one. > Beavis --=_mimegpg-commodore.email-scan.com-11528-1150850948-0004 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEmJeEx9p3GYHlUOIRAg2zAJ98ZY24cGGTFbWW3QRwUr1VKFz1jwCdGMr4 0r659yQeL1tzgo/O9QTW07g= =+Z0V -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-11528-1150850948-0004--
[OT] Troy Helps the Trolls Again (was: [slrn] How to add a custom header for specific groups only?)
Author: Alan Connor
Date: Wed, 21 Jun 2006 01:58
Date: Wed, 21 Jun 2006 01:58
51 lines
3086 bytes
3086 bytes
On news.software.readers, in <20060621075011@usenet.piggo.com>, "Troy Piggins" wrote: <article not downloaded: http://slrn.sourceforge.net/docs/README.offline> This is current: #From: "Raymond Karczewski" <arkent3@yahoo.com> #Newsgroups: comp.os.linux.misc,rec.motorcycles.harley,soc.culture.jewish,alt.pro-wrestling.wwf,alt.guitar #Subject: INCREMENTAL ESCALATION OF SATANIC CENSORSHIP BY PAROCHIAL BIBLE THUMPING FORUM MODERATORS #Message-ID: <1150839383.766285.39900@i40g2000cwc.googlegroups.com> The guy you are helping could well be responsible for the above, and many more like it. He's obviously a troll. But so what? You knowingly help obvious trolls all the time. No. I don't know for sure. What I _do_ know is that they are both trolls. But I've never seen that sockpuppet on that group until "Adam Funk" showed up on this group... I can see you standing before the Court facing charges of Aiding and Abetting a Fugitive (5 years in the pen): "Yes, Your Honor, I did see the bright orange prison coveralls with the prisoner ID number and the name of the prison on the back. Yes, I saw the blood on his sleeve and noticed that he was dirty and frightened and exhausted and that he was obviously trying to stay out of sight." "But he was so _polite_ and charming and pleasant. How could I refuse his simple request for a ride in my trunk to the next big city and a few old clothes?" -------------------------------------------------- I know how to do what the fellow wants. There are several approaches. With slrn, you can do it this way: http://<URL deleted> Note: I won't be downloading any articles on this thread. Alan -- http://home.earthlink.net/~alanconnor/contact.html Other URLs of possible interest in my headers.
Re: [OT] Troy Helps the Beavis Again (was: [slrn] How to add a custom header for specific groups only?)
Author: Sam
Date: Wed, 21 Jun 2006 02:33
Date: Wed, 21 Jun 2006 02:33
93 lines
4902 bytes
4902 bytes
This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_mimegpg-commodore.email-scan.com-12998-1150857222-0001 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Usenet Beavis writes: > On news.software.readers, in <20060621075011@usenet.piggo.com>, "Troy Piggins" wrote: > > <article downloaded and read: http://www.geocities.com/suhatrasabib> Thank you, Beavis, for following my marching orders, to post more kookfarts. > The guy you are helping could well be responsible for the above, > and many more like it. He's obviously my mental superior. Everyone is your mental superior, Beavis. > But so what? You knowingly make fun of me all the time. Stop being a Beavis, and people will stop making fun of you. > No. I don't know for sure. What I _do_ know is that they are > both much smarter than I could ever hope to be. The same could be said about a sack of potatos. Big deal. > But I've never seen that intelligent person on that group until > "Adam Funk" showed up on this group... You've seen many intelligent people, Beavis, you're just too stupid to recognize them. > I can see you standing before the Court facing charges of > making fun of a Beavis (5 years in the pen): Since when is that a crime? > "Yes, Your Honor, I did see the bright orange kookfarts flying > overhead, hear loud noises, and sounds of uncontrollable fits of > laughter. Yes, I saw the distorted look on their faces, as they > read my latest kookfart, which obviously took its tall on their > weak bladders." Guilty! Beavis is sentenced to two years in jail, and ordered to pay their medical bills. > "But it was not my fault, your honor. My kookfarts come naturally. > I refuse to control my bowel movements on Usenet, just because people > lose all control of their own, when they read one of my own?" Plea for leniency denied. Sentence raised to three years in jail, and one year of watching old Barney the Dinosaur reruns. > -------------------------------------------------- > > I know how to do what the fellow wants. There are several > approaches. 1. Cut down on the amount of beans in your diet. > With slrn, you can do it this way: > > http://www.geocities.com/suhatrasabib Whatever. > Note: I will be downloading every article in this thread. And you will love every byte of each and every one. > Beavis --=_mimegpg-commodore.email-scan.com-12998-1150857222-0001 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEmLAGx9p3GYHlUOIRAiaSAJ9Ra0Ck1LP0YNrRML0xFuFg3HNU5gCffrP9 v5UiQxpt/fVo9ZCnu/ALqmU= =fOfq -----END PGP SIGNATURE----- --=_mimegpg-commodore.email-scan.com-12998-1150857222-0001--
Re: [slrn] How to add a custom header for specific groups only?
Author: Adam Funk
Date: Fri, 30 Jun 2006 20:52
Date: Fri, 30 Jun 2006 20:52
18 lines
1790 bytes
1790 bytes
On 2006-06-20, Troy Piggins <usenet-0606@piggo.com> wrote: > But that does not help customise based on what group you are in. > Here's another one where you can change your sig depending on what group > you are in. It's not based on post_hook, but article_mode_hook. Note > that it is not exactly what you asked for, since it doesn't scan for > the Newsgroups: headers as such, but rather uses the current_group > function once you are in a group. This works for me because I don't > post from group mode. ... > Look at the slrnfuns.txt file (/usr/local/share/docs/slrn/slrnfuns.txt > here I think). It has fairly good explanations of the above. I'm (obviously) not familiar with s-lang programming and I've been having some trouble connecting the s-lang language documentation with the stuff that's directly available within slrn. Thanks for the suggestions.
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