🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
27 messages
27 total messages Started by George Orwell Mon, 03 Mar 2008 19:09
[slrn] colourise headers?
#217380
Author: George Orwell
Date: Mon, 03 Mar 2008 19:09
20 lines
1427 bytes
Hello all,

Can I colourise certain headers perhaps by scoring in a sort of reverse
killfile? If there are certain posters or topics I'm interested in. Is
there any way to make these headers show in a different colour etc.

Thanks to the authors of slrn its really brilliant and topping the list
of favourite apps.

Cheers!

Andy UK

Il mittente di questo messaggio|The sender address of this
non corrisponde ad un utente   |message is not related to a real
reale ma all'indirizzo fittizio|person but to a fake address of an
di un sistema anonimizzatore   |anonymous system
Per maggiori informazioni      |For more info
                  https://www.mixmaster.it
Re: [slrn] colourise headers?
#217384
Author: Troy Piggins
Date: Mon, 03 Mar 2008 20:40
50 lines
3384 bytes
* George Orwell wrote:
> Hello all,
>
> Can I colourise certain headers perhaps by scoring in a sort of reverse
> killfile? If there are certain posters or topics I'm interested in. Is
> there any way to make these headers show in a different colour etc.
>
> Thanks to the authors of slrn its really brilliant and topping the list
> of favourite apps.
>
> Cheers!
>
> Andy UK

Not in vanilla slrn.  But you can with the score-color patch by Rudy
Taraschi http://www.taraschi.net/slrn

I haven't gotten around to writing a howto yet, but basically you
apply the patch to source, compile and install as usual.

Then, I include a file in my .slrnrc file like this:

  include "/home/troy/.slrn/score-color.sl"

And that score-color.sl file contains entries like this:

  score_color  7500  9999 "yellow"        "default"
  score_color  5000  7499 "brightgreen"   "default"
  score_color  2000  4999 "green"         "default"
  score_color  1000  1999 "brown"         "default"
  score_color   500   999 "brightcyan"    "default"
  score_color   200   499 "white"         "default"
  score_color   100   199 "cyan"          "default"
  score_color     1    99 "lightgray"     "default"
  score_color     0     0 "lightgray"     "default"
  score_color   -10    -1 "brightred"     "default"
  score_color   -50   -11 "red"           "default"
  score_color  -100   -51 "gray"          "default"
  score_color -1000  -101 "blue"          "default"
  score_color -9999 -1001 "blue"          "default"

You can have a different colour for any score range.

Hope that helps.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
* Updated macro: 14/2/08 - create_msg_id.sl                   ___| | |    |   |
                           now includes random char generation           
Re: [slrn] colourise headers?
#217385
Author: Peter J Ross
Date: Mon, 03 Mar 2008 20:53
17 lines
1828 bytes
In news.software.readers on Mon,  3 Mar 2008 20:09:30 +0100 (CET),
George Orwell <nobody@mixmaster.it> wrote:

> Hello all,
>
> Can I colourise certain headers perhaps by scoring in a sort of reverse
> killfile? If there are certain posters or topics I'm interested in. Is
> there any way to make these headers show in a different colour etc.

I think Rudy Taraschi has a patch that does what you want:
<http://www.taraschi.net/slrn>


-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
Re: [slrn] colourise headers?
#217387
Author: andrew
Date: Mon, 03 Mar 2008 21:19
17 lines
1837 bytes
On 2008-03-03, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Mon,  3 Mar 2008 20:09:30 +0100 (CET),
> George Orwell <nobody@mixmaster.it> wrote:

>> Can I colourise certain headers perhaps by scoring in a sort of reverse
>> killfile? If there are certain posters or topics I'm interested in. Is
>> there any way to make these headers show in a different colour etc.
>
> I think Rudy Taraschi has a patch that does what you want:
><http://www.taraschi.net/slrn>

Congrats PJR on having your work incorporated into slrn!

             Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217390
Author: Peter J Ross
Date: Mon, 03 Mar 2008 22:44
14 lines
1818 bytes
In news.software.readers on Tue, 04 Mar 2008 08:19:19 +1100, andrew
<andrew@ilium.invalid> wrote:

> Congrats PJR on having your work incorporated into slrn!

I don't think a higher Usenet honour is conceivable. Being mentioned
in the slrn changelog for my small efforts is as good as it gets.

I'd like to thank my agent, my promoter, and my cat.

-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
Re: [slrn] colourise headers?
#217399
Author: Blinky the Shark
Date: Tue, 04 Mar 2008 00:37
20 lines
2057 bytes
Peter J Ross wrote:

> In news.software.readers on Tue, 04 Mar 2008 08:19:19 +1100, andrew
> <andrew@ilium.invalid> wrote:
> 
>> Congrats PJR on having your work incorporated into slrn!
> 
> I don't think a higher Usenet honour is conceivable. Being mentioned
> in the slrn changelog for my small efforts is as good as it gets.
> 
> I'd like to thank my agent, my promoter, and my cat.

I'm in the Xnews changelog.  Wanna start a club?  :)

-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: [slrn] colourise headers?
#217401
Author: andrew
Date: Tue, 04 Mar 2008 01:58
17 lines
1836 bytes
On 2008-03-03, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Tue, 04 Mar 2008 08:19:19 +1100, andrew
><andrew@ilium.invalid> wrote:
>
>> Congrats PJR on having your work incorporated into slrn!
>
> I don't think a higher Usenet honour is conceivable. Being mentioned
> in the slrn changelog for my small efforts is as good as it gets.

I agree completely. But I am sure that this will in fact spur you on
to become even more involved?

          Andrew


-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217403
Author: Blinky the Shark
Date: Tue, 04 Mar 2008 04:04
13 lines
1767 bytes
andrew wrote:

> But I am sure that this will in fact spur you on to become even more
> involved?

Hard to say.  Are you?

-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: [slrn] colourise headers?
#217405
Author: andrew
Date: Tue, 04 Mar 2008 04:27
24 lines
2170 bytes
On 2008-03-04, Blinky the Shark <no.spam@box.invalid> wrote:
> andrew wrote:
>
>> But I am sure that this will in fact spur you on to become even more
>> involved?
>
> Hard to say.  Are you?

Well I am a relative newcomer to slrn but I have always been pretty
keen. But yes, I am probably /more/ motivated to contribute these
days. slrn and its small community has been good to me and I like to
repay. I have no skills with writing code so I make my contribution
with these 3:

http://ubuntuforums.org/showthread.php?t=475246
http://www.andrews-corner.org/slrn.html
http://ubuntuforums.org/showthread.php?t=676837

Are you not tempted Blinky to rejoin the fold?

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217409
Author: Blinky the Shark
Date: Tue, 04 Mar 2008 07:25
37 lines
2874 bytes
andrew wrote:

> On 2008-03-04, Blinky the Shark <no.spam@box.invalid> wrote:
>> andrew wrote:
>>
>>> But I am sure that this will in fact spur you on to become even more
>>> involved?
>>
>> Hard to say.  Are you?

Ack, Shirley, I was poking you for putting a question mark on the end of
your declarative statement, making it read either as a poorly formed
question or as something from one of today's young girls with the
up-speak affectation where every sentence ends with a very annoying
rise in pitch.  :)
 
> Well I am a relative newcomer to slrn but I have always been pretty
> keen. But yes, I am probably /more/ motivated to contribute these days.
> slrn and its small community has been good to me and I like to repay. I
> have no skills with writing code so I make my contribution with these 3:
> 
> http://ubuntuforums.org/showthread.php?t=475246
> http://www.andrews-corner.org/slrn.html
> http://ubuntuforums.org/showthread.php?t=676837
> 
> Are you not tempted Blinky to rejoin the fold?

Not at this time.  Sure, I miss being a proud part of the slrn mafia; I
used it for years.


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: [slrn] colourise headers?
#217426
Author: andrew
Date: Tue, 04 Mar 2008 22:23
12 lines
1584 bytes
On 2008-03-04, Blinky the Shark <no.spam@box.invalid> wrote:

> I'm in the Xnews changelog.  Wanna start a club?  :)

Does this count:

http://slackbuilds.org/ChangeLog.txt

    Andrew

-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217427
Author: Blinky the Shark
Date: Tue, 04 Mar 2008 23:25
20 lines
1974 bytes
andrew wrote:

> On 2008-03-04, Blinky the Shark <no.spam@box.invalid> wrote:
> 
>> I'm in the Xnews changelog.  Wanna start a club?  :)
> 
> Does this count:
> 
> http://slackbuilds.org/ChangeLog.txt

Works for me.

But the club is becoming less exclusive...  :)

-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: [slrn] colourise headers?
#217429
Author: Troy Piggins
Date: Tue, 04 Mar 2008 23:48
26 lines
2494 bytes
* Blinky the Shark wrote:
> andrew wrote:
>
>> On 2008-03-04, Blinky the Shark <no.spam@box.invalid> wrote:
>> 
>>> I'm in the Xnews changelog.  Wanna start a club?  :)
>> 
>> Does this count:
>> 
>> http://slackbuilds.org/ChangeLog.txt
>
> Works for me.
>
> But the club is becoming less exclusive...  :)

This is the best I can do :(

http://dev.mutt.org/trac/ticket/2452

Can I join with that pitiful effort?  :)

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
* Updated macro: 14/2/08 - create_msg_id.sl                   ___| | |    |   |
                           now includes random char generation           
Re: [slrn] colourise headers?
#217433
Author: Blinky the Shark
Date: Wed, 05 Mar 2008 02:51
34 lines
2480 bytes
Troy Piggins wrote:

> * Blinky the Shark wrote:
>> andrew wrote:
>>
>>> On 2008-03-04, Blinky the Shark <no.spam@box.invalid> wrote:
>>> 
>>>> I'm in the Xnews changelog.  Wanna start a club?  :)
>>> 
>>> Does this count:
>>> 
>>> http://slackbuilds.org/ChangeLog.txt
>>
>> Works for me.
>>
>> But the club is becoming less exclusive...  :)
> 
> This is the best I can do :(
> 
> http://dev.mutt.org/trac/ticket/2452
> 
> Can I join with that pitiful effort?  :)

I'll have to submit your request to the Executive Committee For
Admissions, since that's not really a changelog entry.  There's a slim
chance that you might be admitted with an asterisk.


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: [slrn] colourise headers?
#217439
Author: Rudy Taraschi
Date: Wed, 05 Mar 2008 05:02
55 lines
3663 bytes
[major snippage]

Troy Piggins wrote:

> * George Orwell wrote:
> >
> > If there are certain posters or topics I'm interested in. Is
> > there any way to make these headers show in a different colour
> > etc.
> 
> Not in vanilla slrn.  But you can with the score-color patch by
> Rudy Taraschi http://www.taraschi.net/slrn
> 
> I haven't gotten around to writing a howto yet, but basically
> you apply the patch to source, compile and install as usual.

I just beat you to it ... check out the URL 5 lines up

> And that score-color.sl file contains entries like this:
> 
>   score_color  7500  9999 "yellow"        "default"
>   score_color  5000  7499 "brightgreen"   "default"
>   score_color  2000  4999 "green"         "default"
>   score_color  1000  1999 "brown"         "default"
>   score_color   500   999 "brightcyan"    "default"
>   score_color   200   499 "white"         "default"
>   score_color   100   199 "cyan"          "default"
>   score_color     1    99 "lightgray"     "default"
>   score_color     0     0 "lightgray"     "default"
>   score_color   -10    -1 "brightred"     "default"
>   score_color   -50   -11 "red"           "default"
>   score_color  -100   -51 "gray"          "default"
>   score_color -1000  -101 "blue"          "default"
>   score_color -9999 -1001 "blue"          "default"

That's a fine plate of angry fruit salad you have there ;-)

In the 1984 author's OP, he wants to highlight certain posters,
but your recipe doesn't quite do it because you're not using
overlapping scores.  If, for instance, I thought that Troy was an
interesting poster, I would add a scorefile entry for Troy that
assignes a score of =7777 to his posts, then add the following
line to the recipe above without changing anything else:

  score_color  7777  7777 "white"    "blue"

All scores in the 7500-9999 range would still get yellow, except
for 7777, which will get a reverse video highlight.  Similarly, I
use the onekey-score macro to score watched threads =8888, and use
a striking colo(u)r combination to highlight it.

Cheers!

/rudy
Re: [slrn] colourise headers?
#217441
Author: Troy Piggins
Date: Wed, 05 Mar 2008 05:17
52 lines
3522 bytes
* Rudy Taraschi wrote:
> [major snippage]
>
> Troy Piggins wrote:
>
>> * George Orwell wrote:
>> >
>> > If there are certain posters or topics I'm interested in. Is
>> > there any way to make these headers show in a different colour
>> > etc.
>> 
>> Not in vanilla slrn.  But you can with the score-color patch by
>> Rudy Taraschi http://www.taraschi.net/slrn
>> 
>> I haven't gotten around to writing a howto yet, but basically
>> you apply the patch to source, compile and install as usual.
>
> I just beat you to it ... check out the URL 5 lines up

Oh excellent.  That wasn't there a couple of days ago when I
wrote that.  You tryin to make me look silly?  :)

>> And that score-color.sl file contains entries like this:
>> 
>>   score_color  7500  9999 "yellow"        "default"
<snip />

> That's a fine plate of angry fruit salad you have there ;-)

:)  It works for me

> In the 1984 author's OP, he wants to highlight certain posters,
> but your recipe doesn't quite do it because you're not using
> overlapping scores.  If, for instance, I thought that Troy was an
> interesting poster, I would add a scorefile entry for Troy that
> assignes a score of =7777 to his posts, then add the following
> line to the recipe above without changing anything else:
>
>   score_color  7777  7777 "white"    "blue"
>
> All scores in the 7500-9999 range would still get yellow, except
> for 7777, which will get a reverse video highlight.  Similarly, I
> use the onekey-score macro to score watched threads =8888, and use
> a striking colo(u)r combination to highlight it.

Good stuff Rudy!  I like the new slrn pages!

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
* Updated macro: 14/2/08 - create_msg_id.sl                   ___| | |    |   |
                           now includes random char generation           
Re: [slrn] colourise headers?
#217443
Author: Rudy Taraschi
Date: Wed, 05 Mar 2008 05:46
11 lines
1976 bytes
Troy Piggins wrote:

> Oh excellent.  That wasn't there a couple of days ago when I
> wrote that.  You tryin to make me look silly?  :)

Nope - I just put it up about an hour or so ago as an exercise
to learn a nifty CMS (Content Management System) called CMSimple.

Cheers!

/rudy
Re: [slrn] colourise headers?
#217445
Author: andrew
Date: Wed, 05 Mar 2008 06:06
32 lines
2543 bytes
On 2008-03-05, Rudy Taraschi <rudy@this.address.is.invalid> wrote:
> Troy Piggins wrote:
>
>> Oh excellent.  That wasn't there a couple of days ago when I
>> wrote that.  You tryin to make me look silly?  :)
>
> Nope - I just put it up about an hour or so ago as an exercise
> to learn a nifty CMS (Content Management System) called CMSimple.

I see that you have been working on that SlackBuild script that I saw
a while ago. Good to see it 'formally' published online. My own script
has been relegated to domestic use only as it works but lacks a
considerable amount of polish :-)

Have you given any thought to the slang.h problem seen in Slackware
12? Specifically the wrongly reported version in:

/usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h

In my own script I have the following rather ugly:

if [ -e /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h ]; then
mv /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h \
/usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h_bak
fi

/before/ compiling. I know this is a Slackware /12/ problem but it is
a compile-killer for that version.

          Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217453
Author: Rudy Taraschi
Date: Wed, 05 Mar 2008 14:51
35 lines
3033 bytes
Hi andrew,

andrew wrote:

> Have you given any thought to the slang.h problem seen in Slackware
> 12? Specifically the wrongly reported version in:
> 
> /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h
> 
> In my own script I have the following rather ugly:
> 
> if [ -e /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h ]; then
> mv /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h \
> /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h_bak
> fi
> 
> /before/ compiling. I know this is a Slackware /12/ problem but it is
> a compile-killer for that version.

I still haven't upgraded to Slackware 12 on my main machines, but
my comment on your work-around is please don't do it!  I may be
old school, but philosophically, a SlackBuild script should
never *alter* system files.  What if your power cord get neatly
severed by a meteorite in the middle of the build?  Once you've
gone out and bought that lottery ticket (and a new power cord),
you'll have a broken system.

I know I'm splitting hairs, but a SlackBuild should tread lightly.

BTW, a Slack 12 install is probably coming this weekend on my
son's new computer, so I'll take a look soon.

/rudy

PS, I haven't forgotten to answer your email
Re: [slrn] colourise headers?
#217464
Author: andrew
Date: Wed, 05 Mar 2008 20:26
44 lines
3103 bytes
On 2008-03-05, Rudy Taraschi <rudy@this.address.is.invalid> wrote:
> Hi andrew,
>
> andrew wrote:
>
>> Have you given any thought to the slang.h problem seen in Slackware
>> 12? Specifically the wrongly reported version in:
>> 
>> /usr/lib/gcc/i486-slackware-linux/4.1.2/include/slang.h

> I still haven't upgraded to Slackware 12 on my main machines, but
> my comment on your work-around is please don't do it!  I may be
> old school, but philosophically, a SlackBuild script should
> never *alter* system files.  What if your power cord get neatly
> severed by a meteorite in the middle of the build?  Once you've
> gone out and bought that lottery ticket (and a new power cord),
> you'll have a broken system.
>
> I know I'm splitting hairs, but a SlackBuild should tread lightly.

Of course but this actually sidesteps a bug in Slackware 12 itself
where PV upgraded to slang-2.0.7 from slang-2.0.6 on Tue Apr  3
15:57:41 CDT 2007:

ftp://ftp.slackware.com/pub/slackware/slackware-12.0/ChangeLog.txt

When I planned on making my script a little more public I had this
reversed at the other end of the compilation. But yes it is ugly and
against the idea of a SlackBuild script so it lives with my other
'personal' scripts instead :-)

> BTW, a Slack 12 install is probably coming this weekend on my
> son's new computer, so I'll take a look soon.

I will be very interested to see how you go with installing slrn on
this computer. I had a frustrating time getting any of the Slackware
people interested in this problem other than acknowledging it as a
bug.

 All the best,

   Andrew
-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217477
Author: andrew
Date: Thu, 06 Mar 2008 09:40
26 lines
2292 bytes
On 2008-03-04, Troy Piggins <usenet-0803@piggo.com> wrote:

> This is the best I can do :(
>
> http://dev.mutt.org/trac/ticket/2452
>
> Can I join with that pitiful effort?  :)

Of course. But can I trump you all perhaps with the inclusion of a
patch of mine in the svn  mplayer:

http://svn.mplayerhq.hu/mplayer?view=rev&revision=26181

It is the smallest patch in the world: it adds 3 lines to a configure
script that generates html documentation from xml. These lines allow
Slackware to natively generate the pages rather than being forced to
hack the script or do without (the latter being more common I
suspect). 

It is pretty cool leaving even the smallest imprint on such a program.
Now for my next patch .....

   Andrew

-- 
http://www.andrews-corner.org
Building slrn on Slackware 12.0 (was: [slrn] colourise headers)
#217506
Author: Rudy Taraschi
Date: Fri, 07 Mar 2008 05:55
49 lines
3828 bytes
andrew wrote:

> > BTW, a Slack 12 install is probably coming this weekend on my
> > son's new computer, so I'll take a look soon.
> 
> I will be very interested to see how you go with installing slrn
> on this computer. I had a frustrating time getting any of the
> Slackware people interested in this problem other than
> acknowledging it as a bug.

I can confirm your findings.  Basically, there's an older
slang.h in one of the gcc directories.  If you do a "cpp -v"
you'll see the default search path.

Basically, we have two viable options, both of which affect system
files.  I think both are legitimate as they fix the system
permanentlys, although my choice is Option 1.  There is no reason
to sentimentally try to keep a broken system.

  Option 1) permanently delete the slang.h file in the gcc directory

  Option 2) cp /usr/include/slang.h /usr/local/include

Note that Option 2 is not very different from installing a local
copy of slang.

My humble suggestion for your personal SlackBuild is first fix
your system permanently using one of the above choices, then
remove those few lines that skirt around the problem in your build
script.

If you *really* want to keep the system as-delivered, then you
have two other options.  Both will work, but are not recommended!

  Option 3) patch chkslang.c so as not to fail if it receives a
  mismatch, but only print a warning.  The rest of the build will
  happen with the 2.0.6 slang.h, but it's so close to the 2.0.7
  version that slrn will compile and link without fatal errors.

  Option 4) add the following to your SlackBuild (1) cp
  /usr/include/slang.h to the slrn src directory (2) ./configure
  --with-slanginc=./ and (3) patch the code to change all instances
  of #include <slang.h> to #include "slang.h" - not elegant at all.

I hope this inconsistency is fixed in slackware-current, which uses
s-lang 2.1.3.

-- 
R/T
Re: Building slrn on Slackware 12.0 (was: [slrn] colourise headers)
#217509
Author: andrew
Date: Fri, 07 Mar 2008 09:28
26 lines
2536 bytes
On 2008-03-07, Rudy Taraschi <rudy@this.address.is.invalid> wrote:

> I can confirm your findings.  Basically, there's an older
> slang.h in one of the gcc directories.  If you do a "cpp -v"
> you'll see the default search path.
>
> Basically, we have two viable options, both of which affect system
> files.  I think both are legitimate as they fix the system
> permanentlys, although my choice is Option 1.  There is no reason
> to sentimentally try to keep a broken system.
>
>   Option 1) permanently delete the slang.h file in the gcc directory

To tell the truth that is exactly what I have done on my own personal
system. The problem arose when I tried to publish an installation
script for slrn under Slackware that was then required to deal with
the error in Slackware 12. My solution was to /not/ publish this
script :-).

I hope as you do that Slackware ?13 will not have a similar error.

             Andrew


-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217681
Author: andrew
Date: Wed, 12 Mar 2008 11:51
18 lines
1937 bytes
On 2008-03-05, Rudy Taraschi <rudy@this.address.is.invalid> wrote:

> PS, I haven't forgotten to answer your email

The scripting for 'For the God Who Sings'; I have put a working copy
online at:

http://www.andrews-corner.org/ftgws.html

Like most of my scripts it is ugly but it works:-). I would appreciate
any thoughts on it, email address is on the page. Plus of course
anybody in this group who wants to sink the boot into an amateur
scripter!

      Andrew

-- 
http://www.andrews-corner.org
[OT] Re: [slrn] colourise headers?
#217703
Author: Peter J Ross
Date: Wed, 12 Mar 2008 23:03
43 lines
2979 bytes
In news.software.readers on Wed, 12 Mar 2008 22:51:04 +1100, andrew
<andrew@ilium.invalid> wrote:

> On 2008-03-05, Rudy Taraschi <rudy@this.address.is.invalid> wrote:
>
>> PS, I haven't forgotten to answer your email
>
> The scripting for 'For the God Who Sings'; I have put a working copy
> online at:
>
> http://www.andrews-corner.org/ftgws.html
>
> Like most of my scripts it is ugly but it works:-). I would appreciate
> any thoughts on it, email address is on the page. Plus of course
> anybody in this group who wants to sink the boot into an amateur
> scripter!

What's wrong with saving the .ram file, extracting the URI of the .ra
file from it, and doing something like 

$ mplayer -noframedrop -dumpstream -dumpfile foo.ra rtsp://path/to/bar.ra

It makes the conversion to .wav and .ogg optional.


Incidentally, Windows users who are tired of RealPlayer's bloatedness
and tendency to phone home might be interested in this:

<http://www.free-codecs.com/download/Real_Alternative.htm>

And if mplayer is too complicated to use for other multimedia files,
try this:

<http://www.videolan.org/vlc/>

I installed both of these for a Win2k-using friend last week, and the
need for about a dozen crappy specialised media players seems to have
been eliminated.

-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
Re: [OT] Re: [slrn] colourise headers?
#217715
Author: andrew
Date: Thu, 13 Mar 2008 04:10
25 lines
2336 bytes
On 2008-03-12, Peter J Ross <pjr@example.invalid> wrote:

> What's wrong with saving the .ram file, extracting the URI of the .ra
> file from it, and doing something like 
>
> $ mplayer -noframedrop -dumpstream -dumpfile foo.ra rtsp://path/to/bar.ra
>
> It makes the conversion to .wav and .ogg optional.

Absolutely nothing wrong with it of course :-) But for this
partticular program I wanted to be able to transfer it to the iRiver
X20 I searched out especially for its ability to read ogg files.

Plus I have spent some considerable time with the little script that
now neatly performs the download and conversion every Monday for me
and I am a little unwilling to start again.

All the best,

   Andrew

PS -noframedrop is for a video/audio stream?

-- 
http://www.andrews-corner.org
Re: [slrn] colourise headers?
#217728
Author: Anonymous Sender
Date: Thu, 13 Mar 2008 19:34
7 lines
965 bytes
Thanks loads, Rudy! It's a brilliant patch! Thanks to all who advised
how to use it.

Cheers!

Andy UK
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