Article View: news.software.readers
Article #181144[slrn] macro to search message-id
From: Troy Piggins
Date: Wed, 01 Mar 2006 06:35
Date: Wed, 01 Mar 2006 06:35
31 lines
2169 bytes
2169 bytes
Don't know if there is a better way to do this, but some may find this
useful:
I read from a local spool (provided by slrnpull) that only has limited
messages/posts on it. Occassionally I see a Message-ID referred to in a
post that is not in my spool. Rather than copying and pasting this M-ID
into a browser and searching google groups or http://message-id.net I
wrote this little macro to do it all from within slrn using elinks.
%%%%% macro - copy into a file and interpret that file in .slrnrc %%%%%
define mid_search ()
{
variable mid = read_mini ( "Enter Message-ID : ", "", "");
() = system (sprintf ("elinks http://message-id.net/%s", mid));
}
definekey ("mid_search", "L", "article");
%%%%% end code %%%%%
So in article I press 'L', enter the M-ID at the prompt and hit enter,
and elinks opens the message.
I guess you could do the same if you only had lynx, just change the
appropriate command, although lynx doesn't do frames so you'll need to
follow the 'noframes' link.
--
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:
<20060301162322@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-mailShow Full Headers
Complete Article Headers
Message-ID: <20060301162322@usenet.piggo.com> Subject: [slrn] macro to search message-id Date: Wed, 01 Mar 2006 06:35:48 +0000 From: Troy Piggins <usenet-0603@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 Newsgroups: news.software.readers Reply-To: usenet-0603@piggo.com User-Agent: slrn/0.9.8.1/rt (Linux) Lines: 31 NNTP-Posting-Host: 203.206.74.180 X-Trace: 1141194948 per-qv1-newsreader-01.iinet.net.au 30853 203.206.74.180