Article View: news.software.readers
Article #108696Re: Scripting for slrn
From: Tim Hammerquist
Date: Mon, 02 Sep 2002 22:15
Date: Mon, 02 Sep 2002 22:15
34 lines
2232 bytes
2232 bytes
Dave Sizemore <sizemored**__**@earthlink.net>:
> Does anyone have/know of a place to get a script to use as a
> signature changer-fortune reader for slrn? I just want to be
> able to use a group of .sigs/BSD fortunes in the signature.
G. Wolfe Woodbury graced us by uttering:
> There is floating around the net a solution to the problem for
> *NIX type systems (supporting named pipes is the main
> requirement.)
I started using a perl script using the above technique written
by Tom Christiansen. The code can be found in "The Perl
Cookbook" (ORA).
Recently, I've ported the code to Ruby (and greatly customized
it). After a few touch-ups, I'll post it on my website. If
anyone's interested in the Ruby code, or doesn't have a copy of
Perl Cookbook handy, email me. :)
> I don't know if anyone has solved it for MS or Mac based
> systems.
Me neither. The scripts I mention above also use fork(), but
this is optional in both cases and can be removed with no other
modifications.
Named pipes are an issue though. Do these work in cygwin yet?
Tim Hammerquist
--
I'll keep him as an insurance policy, since,
unfortunately, I can't kill him twice.
-- Scaroth
Technical Details
Message-ID:
<slrnan7cnn.mip.tim@vegeta.ath.cx>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.greatbasin.netReferences:
<aRBc9.1177$LI2.70895@newsread2.prod.itd.earthlink.net> <2002-09-02T04-34-12@guckes.net> <slrnan5vo6.kaq.ggw_@wolves.homeip.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnan7cnn.mip.tim@vegeta.ath.cx> Subject: Re: Scripting for slrn Date: Mon, 02 Sep 2002 22:15:34 +0000 From: Tim Hammerquist <tim@vegeta.ath.cx> References: <aRBc9.1177$LI2.70895@newsread2.prod.itd.earthlink.net> <2002-09-02T04-34-12@guckes.net> <slrnan5vo6.kaq.ggw_@wolves.homeip.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.greatbasin.net Newsgroups: news.software.readers Reply-To: timmy@cpan.org Mail-Followup-To: timmy@cpan.org Mail-Copies-To: nobody X-Editor: Vim-601 http://www.vim.org/ User-Agent: slrn/0.9.7.4 (Linux) NNTP-Posting-Host: csn-max0-24.gbis.net X-Trace: news.greatbasin.net 1031004934 csn-max0-24.gbis.net (2 Sep 2002 15:15:34 -0700) Lines: 33