🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #181224

Re: [slrn] macro to search message-id

#181224
From: Troy Piggins
Date: Fri, 03 Mar 2006 08:26
61 lines
2938 bytes
* SINNER wrote:
> * Troy Piggins wrote in news.software.readers:
>> * SINNER wrote:
>
> [...]
>
>>> Cool. I have a request. Can you make it use the value from
>
>>> set non_Xbrowser 
>>> set Xbrowser 
>
>>> instead of hard coding to a browser?
>
>> I just surprised myself by getting it to work so quickly - I am getting
>> cocky now ;-)
>
> Deservedly so ;)
>
>> I didn't look at Xbrowser because I would never use a Xbrowser from
>> slrn.
>
> You dont run X?

Not for a while now, anyway.  At work we use WinXP so I ssh in to my
home box using puTTY.

At home I find I'm using XP a lot there also so just puTTY in there too.
In fact, my XP desktop at home still only has RedHat 9 on it's dual
boot.  I was going to install Ubuntu on it and use it a bit more at xmas
time but didn't get around to it.

Maybe Easter?

>> define mid_search ()
>> {
>>   variable browser_url = sprintf ( get_variable_value ( "non_Xbrowser"),
>>     "http://groups.google.com/groups?as_umsgid=");
>>   variable mid = read_mini ( "Enter Message-ID : ", "", "");
>>   () = system (sprintf (browser_url+"%s", mid));
>> }
>
>> definekey ("mid_search", "L", "article");
>
> Thanks!

NP - BTW in another sub-thread here Whiskers pointed me to a link where
there was a macro that searched the article for you to detect M-IDs and
provides them in a selection box, then when you select one it opens that
message.  Cool.

I am working on combining that with my one, so if the article is on the
spool it will get it for you with slrn, but if not it will go to web
like the above macro.

Stay tuned.

-- 
Troy Piggins
Ubuntu 5.10  pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
                      vim 6.4
Technical Details
Message-ID: <20060303182130@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20060301162322@usenet.piggo.com> <7gfkd3xdoi.ln2@news.gates-of-hell.com> <20060303113807@usenet.piggo.com> <n7tkd3xi2m.ln2@news.gates-of-hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <20060303182130@usenet.piggo.com>
Subject: Re: [slrn] macro to search message-id
Date: Fri, 03 Mar 2006 08:26:49 +0000
From: Troy Piggins <usenet-0603@piggo.com>
References: <20060301162322@usenet.piggo.com> <7gfkd3xdoi.ln2@news.gates-of-hell.com> <20060303113807@usenet.piggo.com> <n7tkd3xi2m.ln2@news.gates-of-hell.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0603@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 61
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1141374409 per-qv1-newsreader-01.iinet.net.au 21848 203.206.74.180