🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
19 messages
19 total messages Started by Troy Piggins Wed, 01 Mar 2006 06:35
[slrn] macro to search message-id
#181144
Author: Troy Piggins
Date: Wed, 01 Mar 2006 06:35
31 lines
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
Re: [slrn] macro to search message-id
#181152
Author: Whiskers
Date: Wed, 01 Mar 2006 23:40
71 lines
3729 bytes
On 2006-03-01, Troy Piggins <usenet-0603@piggo.com> wrote:
> 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.

This is one to be added to my 'must try' stock of slrn goodies  :))

It seems to be doing something similar to the second one on this page 
<http://strcat.neessen.net/dotfiles/slrn/my_macros.sl>, beginning 

.-----
| % msg_id search macro for google modified from:
| % de_spy v0.5 [by Tomasz 'tsca' Sienicki, <tsca@edb.dk>      ]
| %             [<http://www.geocities.com/tsca.geo/slang.html>]
| % Modified by Keith Wyatt n6jpa_spam@attbi.com 
'-----

Note that the Message ID, with <>, should be enclosed in "" thus:

    links http://message-id.net/"<20060301162322@usenet.piggo.com>"

to avoid the /<...> combination being interpreted as a 'newline' by the 
OS; but cutting out the middle-man and the <>, works without the "":

    links http://groups.google.com/groups?as_umsgid=20060301162322@usenet.piggo.com

(Note also that slrn can be told which browser to use via the 'set
Xbrowser' and 'set non_Xbrowser' lines in your ~/.slrnrc).  

Lynx doesn't work for me with Google; I get 

.-----[ error from Google using Lynx ]
|                                                                400 Bad 
| Request
|    Google                                                                  
|     
|             Error
| 
|                                   Bad Request
|                                              
|     Your client has issued a malformed or illegal request.
'-----

but Links does work.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] macro to search message-id
#181158
Author: Troy Piggins
Date: Thu, 02 Mar 2006 03:23
89 lines
4436 bytes
* Whiskers wrote:
> On 2006-03-01, Troy Piggins <usenet-0603@piggo.com> wrote:
>> 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 %%%%%

I changed the system call line to this:

() = system (sprintf ("elinks http://groups.google.com/groups?as_umsgid=%s", mid));

It seems to play better with lynx if you use that as a browser.

>> 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.
>
> This is one to be added to my 'must try' stock of slrn goodies  :))
>
> It seems to be doing something similar to the second one on this page 
><http://strcat.neessen.net/dotfiles/slrn/my_macros.sl>, beginning 
>
> .-----
>| % msg_id search macro for google modified from:
>| % de_spy v0.5 [by Tomasz 'tsca' Sienicki, <tsca@edb.dk>      ]
>| %             [<http://www.geocities.com/tsca.geo/slang.html>]
>| % Modified by Keith Wyatt n6jpa_spam@attbi.com 
> '-----

Had a bit of a look - not sure exactly just by reading the code, but it
looks like it extracts the Message-ID from the current article.  Why
would you want to do that?

Mine you actually enter the msg_id - like if someone quotes one in a
post and it's not on your spool.

> Note that the Message ID, with <>, should be enclosed in "" thus:
>
>     links http://message-id.net/"<20060301162322@usenet.piggo.com>"
>
> to avoid the /<...> combination being interpreted as a 'newline' by the 
> OS; but cutting out the middle-man and the <>, works without the "":
>
>     links http://groups.google.com/groups?as_umsgid=20060301162322@usenet.piggo.com
>
> (Note also that slrn can be told which browser to use via the 'set
> Xbrowser' and 'set non_Xbrowser' lines in your ~/.slrnrc).  
>
> Lynx doesn't work for me with Google; I get 
>
> .-----[ error from Google using Lynx ]
>|                                                                400 Bad 
>| Request
>|    Google                                                                  
>|     
>|             Error
>| 
>|                                   Bad Request
>|                                              
>|     Your client has issued a malformed or illegal request.
> '-----
>
> but Links does work.
>

It works with my script/macro ;-)

-- 
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
Re: [slrn] macro to search message-id
#181168
Author: Whiskers
Date: Thu, 02 Mar 2006 12:17
39 lines
2398 bytes
On 2006-03-02, Troy Piggins <usenet-0603@piggo.com> wrote:
> * Whiskers wrote:

snip

>> It seems to be doing something similar to the second one on this page 
>><http://strcat.neessen.net/dotfiles/slrn/my_macros.sl>, beginning 
>>
>> .-----
>>| % msg_id search macro for google modified from:
>>| % de_spy v0.5 [by Tomasz 'tsca' Sienicki, <tsca@edb.dk>      ]
>>| %             [<http://www.geocities.com/tsca.geo/slang.html>]
>>| % Modified by Keith Wyatt n6jpa_spam@attbi.com 
>> '-----
>
> Had a bit of a look - not sure exactly just by reading the code, but it
> looks like it extracts the Message-ID from the current article.  Why
> would you want to do that?
> 
> Mine you actually enter the msg_id - like if someone quotes one in a
> post and it's not on your spool.

That's why tsca's script extracts the MID for you  ;))

snip

>> Lynx doesn't work for me with Google; I get 

snip

> It works with my script/macro ;-)

Mandriva does strange things to Lynx for its own internal purposes; 
perhaps the version of Lynx in Ubuntu is more to Google's liking?

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] macro to search message-id
#181185
Author: Troy Piggins
Date: Thu, 02 Mar 2006 22:14
50 lines
2826 bytes
* Whiskers wrote:
> On 2006-03-02, Troy Piggins <usenet-0603@piggo.com> wrote:
>> * Whiskers wrote:
>
> snip
>
>>> It seems to be doing something similar to the second one on this page 
>>><http://strcat.neessen.net/dotfiles/slrn/my_macros.sl>, beginning 
>>>
>>> .-----
>>>| % msg_id search macro for google modified from:
>>>| % de_spy v0.5 [by Tomasz 'tsca' Sienicki, <tsca@edb.dk>      ]
>>>| %             [<http://www.geocities.com/tsca.geo/slang.html>]
>>>| % Modified by Keith Wyatt n6jpa_spam@attbi.com 
>>> '-----
>>
>> Had a bit of a look - not sure exactly just by reading the code, but it
>> looks like it extracts the Message-ID from the current article.  Why
>> would you want to do that?
>> 
>> Mine you actually enter the msg_id - like if someone quotes one in a
>> post and it's not on your spool.
>
> That's why tsca's script extracts the MID for you  ;))

But it only extracts it from the headers of the post you are reading!
ie it googles for the very post you are reading already (by default)!

Although you can edit the default one it proposes, I have no idea why
that one is even made the default...

> snip
>
>>> Lynx doesn't work for me with Google; I get 
>
> snip
>
>> It works with my script/macro ;-)
>
> Mandriva does strange things to Lynx for its own internal purposes; 
> perhaps the version of Lynx in Ubuntu is more to Google's liking?

I tried tsca's script and lynx didn't agree with it either.  Didn't try
elinks.

-- 
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
Re: [slrn] macro to search message-id
#181203
Author: SINNER
Date: Fri, 03 Mar 2006 00:38
27 lines
2162 bytes
* Troy Piggins wrote in news.software.readers:
> 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));
> }

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?

-- 
David
Quente como frigideira sem cabo.
Re: [slrn] macro to search message-id
#181207
Author: Whiskers
Date: Fri, 03 Mar 2006 01:06
50 lines
3359 bytes
On 2006-03-02, Troy Piggins <usenet-0603@piggo.com> wrote:
> * Whiskers wrote:
>> On 2006-03-02, Troy Piggins <usenet-0603@piggo.com> wrote:
>>> * Whiskers wrote:
>>
>> snip
>>
>>>> It seems to be doing something similar to the second one on this page 
>>>><http://strcat.neessen.net/dotfiles/slrn/my_macros.sl>, beginning 
>>>>
>>>> .-----
>>>>| % msg_id search macro for google modified from:
>>>>| % de_spy v0.5 [by Tomasz 'tsca' Sienicki, <tsca@edb.dk>      ]
>>>>| %             [<http://www.geocities.com/tsca.geo/slang.html>]
>>>>| % Modified by Keith Wyatt n6jpa_spam@attbi.com 
>>>> '-----
>>>
>>> Had a bit of a look - not sure exactly just by reading the code, but it
>>> looks like it extracts the Message-ID from the current article.  Why
>>> would you want to do that?
>>> 
>>> Mine you actually enter the msg_id - like if someone quotes one in a
>>> post and it's not on your spool.
>>
>> That's why tsca's script extracts the MID for you  ;))
>
> But it only extracts it from the headers of the post you are reading!
> ie it googles for the very post you are reading already (by default)!

snip

Hmmm - I see on close inspection that that script does indeed google for 
the MID of the current article; strange!  I meant to post a link to a 
different script, which is linked on that same page 
<http://strcat.neessen.net/dotfiles/#slrn> as "slrn/msgid.sl" rather than 
the adjacent "slrn/my_macros.sl".  Sorry about that  :((

On actually testing the script I meant, which does indeed scan the message 
body for possible MIDs (and also picks up email addresses, perhaps 
inevitably), that is all it does - display them, in a 'list' similar to 
the one that the U key produces for http:// URLs - but it does no more; I 
think I may take this as a sign that I should learn a bit of S-Lang so 
that I can join up the two ends of the exercise - choose an MID /and/ 
google for it!  Unless you get there first ... 


-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] macro to search message-id
#181210
Author: Troy Piggins
Date: Fri, 03 Mar 2006 01:40
47 lines
2656 bytes
* SINNER wrote:
> * Troy Piggins wrote in news.software.readers:
>> 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));
>> }
>
> 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 ;-)

I didn't look at Xbrowser because I would never use a Xbrowser from
slrn.

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");


-- 
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
Re: [slrn] macro to search message-id
#181220
Author: SINNER
Date: Fri, 03 Mar 2006 04:28
37 lines
2120 bytes
* 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?

> 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!

-- 
David
Quente como frigideira sem cabo.
Re: [slrn] macro to search message-id
#181224
Author: 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
Re: [slrn] macro to search message-id
#181227
Author: SINNER
Date: Fri, 03 Mar 2006 13:48
25 lines
2092 bytes
* Troy Piggins wrote in news.software.readers:
> * SINNER wrote:

[...]

>> 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.

The first post I typed before sending the above asked for something
similar but I thought I was being a bit overzealous, now I see we think
alike :) Cant wait!

-- 
David
Quente como frigideira sem cabo.
Re: [slrn] macro to search message-id
#181417
Author: Jean-Rene David
Date: Sun, 05 Mar 2006 07:11
12 lines
1623 bytes
* Troy Piggins [2006.03.01 06:35]:
> So in article I press 'L', enter the M-ID at the prompt
> and hit enter, and elinks opens the message.

Neat, but how is that different from the 'message-id
browser' script already up on slrn's website?

-> Add-ons for slrn
http://www.slrn.org/links.html 

-- 
JR
Re: [slrn] macro to search message-id
#181427
Author: Troy Piggins
Date: Sun, 05 Mar 2006 13:52
23 lines
1901 bytes
* Jean-Rene David wrote:
> * Troy Piggins [2006.03.01 06:35]:
>> So in article I press 'L', enter the M-ID at the prompt
>> and hit enter, and elinks opens the message.
>
> Neat, but how is that different from the 'message-id
> browser' script already up on slrn's website?
>
> -> Add-ons for slrn
> http://www.slrn.org/links.html 

Never seen that one.  Just been trying it, but can't get the part of it
that calls up google to work, same the addition to my macro.  The part
that finds the message ids in the message works, and the select box part
works, but the browser part doesn't seem to for me.

Any ideas on that?  Yours working?

-- 
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
Re: [slrn] macro to search message-id
#181457
Author: Jean-Rene David
Date: Mon, 06 Mar 2006 05:36
20 lines
1942 bytes
* Troy Piggins [2006.03.05 13:52]:
> * Jean-Rene David wrote:
> > Neat, but how is that different from the 'message-id
> > browser' script already up on slrn's website?
>
> Never seen that one.  Just been trying it, but can't get the part of it
> that calls up google to work, same the addition to my macro.
> [...]
> Any ideas on that?  Yours working?

Mine is working fine. 

Do you prefix the call with ESC-2? The script behaves like
the normal "locate_article" function by default if no prefix
is given.

How does yours fail?

-- 
JR
Re: [slrn] macro to search message-id
#181456
Author: Troy Piggins
Date: Mon, 06 Mar 2006 06:20
51 lines
2981 bytes
* Jean-Rene David wrote:
> * Troy Piggins [2006.03.05 13:52]:
>> * Jean-Rene David wrote:
>> > Neat, but how is that different from the 'message-id
>> > browser' script already up on slrn's website?
>>
>> Never seen that one.  Just been trying it, but can't get the part of it
>> that calls up google to work, same the addition to my macro.
>> [...]
>> Any ideas on that?  Yours working?
>
> Mine is working fine. 
>
> Do you prefix the call with ESC-2? The script behaves like
> the normal "locate_article" function by default if no prefix
> is given.

Yes, I am prefixing it by hitting ESC-2-L.
This is the key binding in my .slrnrc :

setkey article GetByMid->get_article    "\el"

> How does yours fail?

Well, as I mentioned I get the select_list_box correctly with the
article's detected msg ids.  If the article is on my spool (I use
slrnpull) then the cursor correctly jumps to that article/message.

But if the msg id is not on the spool (eg I posted in alt.test with a
body containing an old msg id from a while ago and I know it's not on my
spool) then nothing happens.

The status/command line[1] at the bottom of the screen goes blank - like
slrn is trying to do something, but nothing happens and no error
message.  If I then hit any key it just returns to normal article pager
view.

For the record I use elinks as my browser and changed the default google
url to one I know works and have set this is the
macro:

Prefs["browser_call"] = "elinks '%s'";
Prefs["deja_url"]     = "http://groups.google.com/groups?as_umsgid=%s";

[1] - the line that starts "SPC:Pgdn  B:PgUp  u:Un-Mark-as-Read..."

-- 
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
Re: [slrn] macro to search message-id
#181463
Author: Jean-Rene David
Date: Mon, 06 Mar 2006 13:53
15 lines
1785 bytes
* Troy Piggins [2006.03.06 06:20]:
> Yes, I am prefixing it by hitting ESC-2-L.
> This is the key binding in my .slrnrc :
>
> setkey article GetByMid->get_article    "\el"

Is this how you usually use prefixes? Because I have the
same key binding and I have to type:

ESC-2-ESC-L 

for it to work.

-- 
JR
Re: [slrn] macro to search message-id
#181474
Author: Troy Piggins
Date: Tue, 07 Mar 2006 03:06
34 lines
2285 bytes
* Jean-Rene David wrote:
> * Troy Piggins [2006.03.06 06:20]:
>> Yes, I am prefixing it by hitting ESC-2-L.
>> This is the key binding in my .slrnrc :
>>
>> setkey article GetByMid->get_article    "\el"
>
> Is this how you usually use prefixes? Because I have the
> same key binding and I have to type:
>
> ESC-2-ESC-L 
>
> for it to work.

Aah, ok.

Just ESC-L seems to work fine in that I can enter a msg id manually and
it locates it, but if not on spool it says "not available...". I think
this is what it is supposed to do.

ESC-2-ESC-L seems to work fine also, in that I can enter a msg id
manually and w3m fetches the article from google and displays it
correctly if it's not on my spool.

ESC-1-ESC-L however does not seem to work with the w3m/google combo.

I will look at the macro more closely now I think I know what it's
supposed to do.

-- 
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
Re: [slrn] macro to search message-id
#181479
Author: Jean-Rene David
Date: Tue, 07 Mar 2006 14:09
14 lines
1904 bytes
* Troy Piggins [2006.03.07 03:06]:
> ESC-1-ESC-L however does not seem to work with the
> w3m/google combo.

Does not *seem* to work? Then what does it *seem*
to do?

The only difference between ESC-1-ESC-L and
ESC-2-ESC-L is how the message-id to fetch is
obtained. Once that is done they both use the same
function to fetch the message.

-- 
JR
Re: [slrn] macro to search message-id
#181489
Author: Troy Piggins
Date: Tue, 07 Mar 2006 21:45
42 lines
2700 bytes
* Jean-Rene David wrote:
> * Troy Piggins [2006.03.07 03:06]:
>> ESC-1-ESC-L however does not seem to work with the
>> w3m/google combo.
>
> Does not *seem* to work? Then what does it *seem*
> to do?
>
> The only difference between ESC-1-ESC-L and
> ESC-2-ESC-L is how the message-id to fetch is
> obtained. Once that is done they both use the same
> function to fetch the message.

Here's my test:

I posted on alt.test this message <news:20060307125744@usenet.piggo.com>
whose body was simply a message id of a post from a while ago that I
know is not on my spool : 

slrnd6168f.a0t.usenet@piggo.com

If I hit ESC-L, and enter the msg id manually I get this error:

"Article <slrnd6168f.a0t.usenet@piggo.com> not available."

If I hit ESC-1-ESC-L, a select box comes up with the msg ids detected, I
scroll down the select box to the message id that is not on my spool and
press enter and I get this error:

"article <slrnd6168f.a0t.usenet@piggo.com> not found on deja.com."

If I hit ESC-2-ESC-L, and enter the msg id manually the message is
displayed correctly.

If I go to a more recent post like <news:du37dh$3m6$1@emma.aioe.org>
all 3 of the above methods work correctly.

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