🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
85 messages
85 total messages Page 1 of 2 Started by Chris Game Tue, 13 Feb 2007 10:10
Page 1 of 2 • 85 total messages
[slrn]How to...?
#195536
Author: Chris Game
Date: Tue, 13 Feb 2007 10:10
7 lines
972 bytes
How to display saved posts or sent posts in slrn? I can't see an 
option for that in the help screens.

-- 
Chris Game

Gotta run, the cat's caught in the printer.
Re: [slrn]How to...?
#195529
Author: Blinky the Shark
Date: Tue, 13 Feb 2007 10:27
12 lines
1314 bytes
Chris Game wrote:

> How to display saved posts or sent posts in slrn? I can't see an 
> option for that in the help screens.

I use mutt.


-- 
Blinky
Killfiling all posts from Google Groups
Details: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195528
Author: Whiskers
Date: Tue, 13 Feb 2007 12:16
16 lines
1748 bytes
On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
> How to display saved posts or sent posts in slrn? I can't see an 
> option for that in the help screens.

There isn't one.

You can find them as 'mailbox' files, probably in ~/News if you have a 
standard set-up.  Use an email program to read them.  I have those files 
set up in KMail as 'local files' for 'Accounts - Receiving' - KMail itself 
clears the files created by slrn and incorporates the posts into one of 
its own 'folders'.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195531
Author: Chris Game
Date: Tue, 13 Feb 2007 18:21
17 lines
1444 bytes
On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>> How to display saved posts or sent posts in slrn? I can't see an 
>> option for that in the help screens.
>
> There isn't one.
>
> You can find them as 'mailbox' files, probably in ~/News if you have a 
> standard set-up.  Use an email program to read them. 

Eh? They *cannot be serious*!

-- 
Chris Game

"Imagination is more important than knowledge."
		-- Albert Einstein
Re: [slrn]How to...?
#195532
Author: Blinky the Shark
Date: Tue, 13 Feb 2007 18:31
23 lines
2038 bytes
Whiskers wrote:
> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>> How to display saved posts or sent posts in slrn? I can't see an 
>> option for that in the help screens.
>
> There isn't one.
>
> You can find them as 'mailbox' files, probably in ~/News if you have a 
> standard set-up.  Use an email program to read them.  I have those files 
> set up in KMail as 'local files' for 'Accounts - Receiving' - KMail itself 
> clears the files created by slrn and incorporates the posts into one of 
> its own 'folders'.

Hmmmmmmm.  I'm thinkin' that's pretty clever.  Hmmmmmmmm.

I've used mutt, and that's all I've ever used it for; and I use Kmail as
my mail client here.  Hmmmmmmmm.  :)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195533
Author: Blinky the Shark
Date: Tue, 13 Feb 2007 18:32
19 lines
1856 bytes
Chris Game wrote:
> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>> How to display saved posts or sent posts in slrn? I can't see an 
>>> option for that in the help screens.
>>
>> There isn't one.
>>
>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>> standard set-up.  Use an email program to read them. 
>
> Eh? They *cannot be serious*!

Now, nuclear war -- that's serious.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195534
Author: Whiskers
Date: Tue, 13 Feb 2007 19:34
34 lines
2614 bytes
On 2007-02-13, Blinky the Shark <no.spam@box.invalid> wrote:
> Whiskers wrote:
>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>> How to display saved posts or sent posts in slrn? I can't see an 
>>> option for that in the help screens.
>>
>> There isn't one.
>>
>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>> standard set-up.  Use an email program to read them.  I have those files 
>> set up in KMail as 'local files' for 'Accounts - Receiving' - KMail itself 
>> clears the files created by slrn and incorporates the posts into one of 
>> its own 'folders'.
>
> Hmmmmmmm.  I'm thinkin' that's pretty clever.  Hmmmmmmmm.
>
> I've used mutt, and that's all I've ever used it for; and I use Kmail as
> my mail client here.  Hmmmmmmmm.  :)

Go on, you know you want to  :))

It may not be as good as having them in a 'folder' inside slrn, in the way 
that some GUI newsreaders seem to do it.  It may be better  :))

I have toyed with the idea of trying to get them into a 'local newsgroup'
which Leafnode or Noffle could incorporate into the local feed.  That's 
as far as I've taken the idea, though.

(The latest version of KMail can even send and display X-Faces).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195535
Author: Adam Funk
Date: Tue, 13 Feb 2007 20:03
54 lines
2395 bytes
On 2007-02-13, Chris Game wrote:

> How to display saved posts or sent posts in slrn? I can't see an 
> option for that in the help screens.

As far as I know (but I'd be interested if this is wrong) slrn itself
has no built-in facility for doing that.  You have to use an external
editor or pager to look at them.


By the way, I didn't like the way slrn catenated all my sent posts
into one file, so I put this in my ~/.slrnrc


interpret ".slrn/macros.sl"


and the following in the file it refers to:


define post_hook ()
{
    variable tm = localtime (_time ());

    set_string_variable ("save_posts",
       sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
          tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
          tm.tm_hour, tm.tm_min, tm.tm_sec));
}

define followup_hook ()
{
    variable tm = localtime (_time ());

    set_string_variable ("save_posts",
       sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
          tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
          tm.tm_hour, tm.tm_min, tm.tm_sec));
}

define post_file_hook ()
{
    variable tm = localtime (_time ());

    set_string_variable ("save_posts",
       sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
          tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
          tm.tm_hour, tm.tm_min, tm.tm_sec));
}


so that each post gets saved in one file named after its timestamp.
(Of course if you send two in the same second they'd be catenated into
one file!)
Re: [slrn]How to...?
#195537
Author: Frank Slootweg
Date: Tue, 13 Feb 2007 20:14
18 lines
1879 bytes
Chris Game <chrisgame@example.net> wrote:
> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
> > On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
> >> How to display saved posts or sent posts in slrn? I can't see an 
> >> option for that in the help screens.
> >
> > There isn't one.
> >
> > You can find them as 'mailbox' files, probably in ~/News if you have a 
> > standard set-up.  Use an email program to read them. 
> 
> Eh? They *cannot be serious*!

  Well, that's how Outlook Express does it. I.e. you save/read *News
articles* in/from *email folders* and use the *email part* of OE to do
it.

  If OE does it that way, that must be the right way, right?
Re: [slrn]How to...?
#195538
Author: SINNER
Date: Tue, 13 Feb 2007 20:26
37 lines
2639 bytes
* Whiskers wrote in news.software.readers:

> On 2007-02-13, Blinky the Shark <no.spam@box.invalid> wrote:
>> Whiskers wrote:
>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>> How to display saved posts or sent posts in slrn? I can't see an 
>>>> option for that in the help screens.
>>>
>>> There isn't one.
>>>
>>> You can find them as 'mailbox' files, probably in ~/News if you have
>>> a standard set-up.  Use an email program to read them.  I have those
>>> files set up in KMail as 'local files' for 'Accounts - Receiving' -
>>> KMail itself clears the files created by slrn and incorporates the
>>> posts into one of its own 'folders'.
>>
>> Hmmmmmmm.  I'm thinkin' that's pretty clever.  Hmmmmmmmm.
>>
>> I've used mutt, and that's all I've ever used it for; and I use Kmail
>> as my mail client here.  Hmmmmmmmm.  :)
> 
> Go on, you know you want to  :))
> 
> It may not be as good as having them in a 'folder' inside slrn, in the
> way that some GUI newsreaders seem to do it.  It may be better  :))
> 
> I have toyed with the idea of trying to get them into a 'local
> newsgroup' which Leafnode or Noffle could incorporate into the local
> feed.  That's as far as I've taken the idea, though.

NOW youve got me thinking...

Weekend Project me thinks ;)

Unless the boss has a better one...
-- 
David
Re: [slrn]How to...?
#195539
Author: SINNER
Date: Tue, 13 Feb 2007 20:27
21 lines
1733 bytes
* Adam Funk wrote in news.software.readers:

> On 2007-02-13, Chris Game wrote:
> 
>> How to display saved posts or sent posts in slrn? I can't see an 
>> option for that in the help screens.
> 
> As far as I know (but I'd be interested if this is wrong) slrn itself
> has no built-in facility for doing that.  You have to use an external
> editor or pager to look at them.
> 
> 
> By the way, I didn't like the way slrn catenated all my sent posts
> into one file, so I put this in my ~/.slrnrc

Why dont you like it?

Mutt makes this a favorable method IMO.

-- 
David
Re: [slrn]How to...?
#195543
Author: Troy Piggins
Date: Tue, 13 Feb 2007 21:47
34 lines
2520 bytes
* Chris Game is quoted & my replies are inline below :
> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>> How to display saved posts or sent posts in slrn? I can't see an 
>>> option for that in the help screens.
>>
>> There isn't one.
>>
>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>> standard set-up.  Use an email program to read them. 
>
> Eh? They *cannot be serious*!

Do you use mutt?  With macros like this[1] you can call mutt and
view them from within slrn, no mess no fuss.  Just hit ctrl-t to
view your posts, ctrl-r to view replies.  Change keybindings to
taste.

[1]
-----8<-----
define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
definekey ("view_my_posts", "^T", "article");
definekey ("view_my_posts", "^T", "group");

define view_my_res() { () = system ("mutt -f /home/troy/news/My_Replies"); } 
definekey ("view_my_posts", "^R", "article");
definekey ("view_my_posts", "^R", "group");
-----8<-----

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to [use mutt to read My_Posts and My_Replies]
#195556
Author: SINNER
Date: Wed, 14 Feb 2007 00:49
37 lines
2752 bytes
* Troy Piggins wrote in news.software.readers:
> * Chris Game is quoted & my replies are inline below :
>> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>> How to display saved posts or sent posts in slrn? I can't see an 
>>>> option for that in the help screens.

>>> There isn't one.

>>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>>> standard set-up.  Use an email program to read them. 

>> Eh? They *cannot be serious*!

> Do you use mutt?  With macros like this[1] you can call mutt and
> view them from within slrn, no mess no fuss.  Just hit ctrl-t to
> view your posts, ctrl-r to view replies.  Change keybindings to
> taste.

> [1]
> -----8<-----
> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
> definekey ("view_my_posts", "^T", "article");
> definekey ("view_my_posts", "^T", "group");

> define view_my_res() { () = system ("mutt -f /home/troy/news/My_Replies"); } 
> definekey ("view_my_posts", "^R", "article");
> definekey ("view_my_posts", "^R", "group");
> -----8<-----

Bwahahahah! Implimented. Awesome little hack, thanks Troy :)

-- 
David
Drinking coffee for instant relaxation?  That's like drinking alcohol for
instant motor skills.
		-- Marc Price
Re: [slrn]How to...?
#195557
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 00:49
43 lines
2837 bytes
Whiskers wrote:
> On 2007-02-13, Blinky the Shark <no.spam@box.invalid> wrote:
>> Whiskers wrote:
>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>> How to display saved posts or sent posts in slrn? I can't see an
>>>> option for that in the help screens.
>>>
>>> There isn't one.
>>>
>>> You can find them as 'mailbox' files, probably in ~/News if you have
>>> a standard set-up.  Use an email program to read them.  I have those
>>> files set up in KMail as 'local files' for 'Accounts - Receiving' -
>>> KMail itself clears the files created by slrn and incorporates the
>>> posts into one of its own 'folders'.
>>
>> Hmmmmmmm.  I'm thinkin' that's pretty clever.  Hmmmmmmmm.
>>
>> I've used mutt, and that's all I've ever used it for; and I use Kmail
>> as my mail client here.  Hmmmmmmmm.  :)
>
> Go on, you know you want to  :))

It's twue!  It's twue!

> It may not be as good as having them in a 'folder' inside slrn, in the
> way that some GUI newsreaders seem to do it.  It may be better  :))
>
> I have toyed with the idea of trying to get them into a 'local
> newsgroup' which Leafnode or Noffle could incorporate into the local
> feed.  That's as far as I've taken the idea, though.

Like /var/spool/news ?

> (The latest version of KMail can even send and display X-Faces).

Probably even before the last one; I'm using them and I'm rarely Mr.
Latest Version.  :)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195558
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 00:51
24 lines
1835 bytes
Adam Funk wrote:

<snip>

>     variable tm = localtime (_time ());
>
>     set_string_variable ("save_posts",
>        sprintf ("/home/adam/News/sent/%d%02d%02d-%02d%02d%02d.news",
>           tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
>           tm.tm_hour, tm.tm_min, tm.tm_sec));
> }
>
>
> so that each post gets saved in one file named after its timestamp.
> (Of course if you send two in the same second they'd be catenated into
> one file!)

If you're posting like that, you're definitely one of
post-without-thinking Usenetters.  :)

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195559
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 00:52
27 lines
1982 bytes
SINNER wrote:
> * Adam Funk wrote in news.software.readers:
>
>> On 2007-02-13, Chris Game wrote:
>> 
>>> How to display saved posts or sent posts in slrn? I can't see an 
>>> option for that in the help screens.
>> 
>> As far as I know (but I'd be interested if this is wrong) slrn itself
>> has no built-in facility for doing that.  You have to use an external
>> editor or pager to look at them.
>> 
>> 
>> By the way, I didn't like the way slrn catenated all my sent posts
>> into one file, so I put this in my ~/.slrnrc
>
> Why dont you like it?
>
> Mutt makes this a favorable method IMO.

So I'm not the only mutter for this.  :)


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195564
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 05:27
33 lines
2442 bytes
Troy Piggins wrote:
> * Chris Game is quoted & my replies are inline below :
>> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>> How to display saved posts or sent posts in slrn? I can't see an 
>>>> option for that in the help screens.
>>>
>>> There isn't one.
>>>
>>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>>> standard set-up.  Use an email program to read them. 
>>
>> Eh? They *cannot be serious*!
>
> Do you use mutt?  With macros like this[1] you can call mutt and
> view them from within slrn, no mess no fuss.  Just hit ctrl-t to
> view your posts, ctrl-r to view replies.  Change keybindings to
> taste.
>
> [1]
> -----8<-----
> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
> definekey ("view_my_posts", "^T", "article");
> definekey ("view_my_posts", "^T", "group");

Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
but it doesn't do anything there.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195565
Author: Troy Piggins
Date: Wed, 14 Feb 2007 05:54
51 lines
3207 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> * Chris Game is quoted & my replies are inline below :
>>> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
>>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>>> How to display saved posts or sent posts in slrn? I can't see an 
>>>>> option for that in the help screens.
>>>>
>>>> There isn't one.
>>>>
>>>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>>>> standard set-up.  Use an email program to read them. 
>>>
>>> Eh? They *cannot be serious*!
>>
>> Do you use mutt?  With macros like this[1] you can call mutt and
>> view them from within slrn, no mess no fuss.  Just hit ctrl-t to
>> view your posts, ctrl-r to view replies.  Change keybindings to
>> taste.
>>
>> [1]
>> -----8<-----
>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>> definekey ("view_my_posts", "^T", "article");
>> definekey ("view_my_posts", "^T", "group");
>
> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
> but it doesn't do anything there.

Put it either in an existing macro file or create a new one, make
sure you include the line "interpret file.sl" in your .slrnrc
file.

Make sure the key binding isn't superseded somewhere else with
another binding or macro.

Then you either need to eval the macro from within slrn with
"ctrl-x esc" to get to commandline interpreter, then type
"interpret file.sl" or just exit slrn and restart it.

If that doesn't work, something else is going on, let me know.

If you were anyone else, I'd ask if you changed the mutt mailbox
path from the one I posted to suit your setup, but I'm sure you
would've done that ;)

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195566
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 07:23
64 lines
3787 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>>> * Chris Game is quoted & my replies are inline below :
>>>> On 2007-02-13, Whiskers <catwheezel@operamail.com> wrote:
>>>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>>>> How to display saved posts or sent posts in slrn? I can't see an 
>>>>>> option for that in the help screens.
>>>>>
>>>>> There isn't one.
>>>>>
>>>>> You can find them as 'mailbox' files, probably in ~/News if you have a 
>>>>> standard set-up.  Use an email program to read them. 
>>>>
>>>> Eh? They *cannot be serious*!
>>>
>>> Do you use mutt?  With macros like this[1] you can call mutt and
>>> view them from within slrn, no mess no fuss.  Just hit ctrl-t to
>>> view your posts, ctrl-r to view replies.  Change keybindings to
>>> taste.
>>>
>>> [1]
>>> -----8<-----
>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>> definekey ("view_my_posts", "^T", "article");
>>> definekey ("view_my_posts", "^T", "group");
>>
>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>> but it doesn't do anything there.
>
> Put it either in an existing macro file or create a new one, make
> sure you include the line "interpret file.sl" in your .slrnrc
> file.

I did both, and for the try at saving it as muttview.sl, in the
directory with my other macros (pointed to in .slrnrc) I included the
interpret command in .slrnrc.  Nothing worked.

> Make sure the key binding isn't superseded somewhere else with
> another binding or macro.

Wasn't.  Naturally, I tried the keybinding I wanted, live, first, to
make sure it did nothing.

> Then you either need to eval the macro from within slrn with
> "ctrl-x esc" to get to commandline interpreter, then type
> "interpret file.sl" or just exit slrn and restart it.

Many tests, all with restarts.

> If that doesn't work, something else is going on, let me know.
>
> If you were anyone else, I'd ask if you changed the mutt mailbox
> path from the one I posted to suit your setup, but I'm sure you
> would've done that ;)

Of course.  When I run it with an -f switch it works fine from a console
and from the desktop shortcut I created for it.  Just not within slrn.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195567
Author: Adam Funk
Date: Wed, 14 Feb 2007 10:56
10 lines
1316 bytes
On 2007-02-14, Blinky the Shark wrote:

>> so that each post gets saved in one file named after its timestamp.
>> (Of course if you send two in the same second they'd be catenated into
>> one file!)
>
> If you're posting like that, you're definitely one of
> post-without-thinking Usenetters.  :)

That comment was purely theoretical!
Re: [slrn]How to...?
#195568
Author: Adam Funk
Date: Wed, 14 Feb 2007 10:57
16 lines
1450 bytes
On 2007-02-13, SINNER wrote:

>> By the way, I didn't like the way slrn catenated all my sent posts
>> into one file, so I put this in my ~/.slrnrc
>
> Why dont you like it?

Personal taste?  Easier to grep, like maildir format.


> Mutt makes this a favorable method IMO.

I've considered switching to mutt because (1) KMail doesn't let you
delete or detach attachments and (2) Thunderbird doesn't support
maildir.  But I haven't yet been able to face the prospect of the
temporary big jump in cognitive load.
Re: [slrn]How to...?
#195569
Author: Chris Game
Date: Wed, 14 Feb 2007 11:06
23 lines
1736 bytes
On 2007-02-13, Adam Funk <a24061@yahoo.com> wrote:
> On 2007-02-13, Chris Game wrote:
>
>> How to display saved posts or sent posts in slrn? I can't see an 
>> option for that in the help screens.
>
> As far as I know (but I'd be interested if this is wrong) slrn itself
> has no built-in facility for doing that.  You have to use an external
> editor or pager to look at them.
>
>
> By the way, I didn't like the way slrn catenated all my sent posts
> into one file, so I put this in my ~/.slrnrc
>...

Thanks to Adam, Troy and others for the ideas, I guess I was looking 
for something I'd overlooked rather than a major project, but thanks 
anyway!

-- 
Chris Game

Calm down -- it's only ones and zeroes
Re: [slrn]How to...?
#195571
Author: Adam Funk
Date: Wed, 14 Feb 2007 11:14
11 lines
1346 bytes
On 2007-02-14, Chris Game wrote:

>>> How to display saved posts or sent posts in slrn? I can't see an 
>>> option for that in the help screens.
...
> Thanks to Adam, Troy and others for the ideas, I guess I was looking 
> for something I'd overlooked rather than a major project, but thanks 
> anyway!

The main thing is that they're just human-readable text files, in the
great Unix tradition.
Re: [slrn]How to...?
#195572
Author: Troy Piggins
Date: Wed, 14 Feb 2007 12:24
53 lines
3462 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>> definekey ("view_my_posts", "^T", "article");
>>>> definekey ("view_my_posts", "^T", "group");
>>>
>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>> but it doesn't do anything there.
>>
>> Put it either in an existing macro file or create a new one, make
>> sure you include the line "interpret file.sl" in your .slrnrc
>> file.
>
> I did both, and for the try at saving it as muttview.sl, in the
> directory with my other macros (pointed to in .slrnrc) I included the
> interpret command in .slrnrc.  Nothing worked.

Bizarre.  There's nothing tricky to the macro itself.  You got
all the closing brackets and semi-colons in the cut&paste?

>> Make sure the key binding isn't superseded somewhere else with
>> another binding or macro.
>
> Wasn't.  Naturally, I tried the keybinding I wanted, live, first, to
> make sure it did nothing.
>
>> Then you either need to eval the macro from within slrn with
>> "ctrl-x esc" to get to commandline interpreter, then type
>> "interpret file.sl" or just exit slrn and restart it.
>
> Many tests, all with restarts.
>
>> If that doesn't work, something else is going on, let me know.
>>
>> If you were anyone else, I'd ask if you changed the mutt mailbox
>> path from the one I posted to suit your setup, but I'm sure you
>> would've done that ;)
>
> Of course.  When I run it with an -f switch it works fine from a console
> and from the desktop shortcut I created for it.  Just not within slrn.

Not sure there, mate.  Out of my depth unfortunately.  I'll get
back to you if anything else occurs to me.

Sinner reported it worked fine for him.  Haven't heard of it not
working for anyone else.

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195573
Author: SINNER
Date: Wed, 14 Feb 2007 13:39
55 lines
3550 bytes
* Blinky the Shark wrote in news.software.readers:
> Troy Piggins wrote:

[...]

>>>> -----8<-----
>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>> definekey ("view_my_posts", "^T", "article");
>>>> definekey ("view_my_posts", "^T", "group");

>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>> but it doesn't do anything there.

>> Put it either in an existing macro file or create a new one, make
>> sure you include the line "interpret file.sl" in your .slrnrc
>> file.

> I did both, and for the try at saving it as muttview.sl, in the
> directory with my other macros (pointed to in .slrnrc) I included the
> interpret command in .slrnrc.  Nothing worked.

If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
I have done the exact same thing with the exception of the name of the
file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
new tab in my terminal so I thought it wasnt working either. For giggles
I left off the shift and Voila.

>> Make sure the key binding isn't superseded somewhere else with
>> another binding or macro.

> Wasn't.  Naturally, I tried the keybinding I wanted, live, first, to
> make sure it did nothing.

Heh, I hadnt thought of doing that Doh!

>> Then you either need to eval the macro from within slrn with
>> "ctrl-x esc" to get to commandline interpreter, then type
>> "interpret file.sl" or just exit slrn and restart it.

> Many tests, all with restarts.

>> If that doesn't work, something else is going on, let me know.

>> If you were anyone else, I'd ask if you changed the mutt mailbox
>> path from the one I posted to suit your setup, but I'm sure you
>> would've done that ;)

> Of course.  When I run it with an -f switch it works fine from a console
> and from the desktop shortcut I created for it.  Just not within slrn.

Odd, only thing I can think of is the UPPERCASE.

-- 
David
"They ought to make butt-flavored cat food."   --Gallagher
Re: [slrn]How to...?
#195574
Author: Whiskers
Date: Wed, 14 Feb 2007 15:14
38 lines
2671 bytes
On 2007-02-14, Blinky the Shark <no.spam@box.invalid> wrote:
> Whiskers wrote:
>> On 2007-02-13, Blinky the Shark <no.spam@box.invalid> wrote:
>>> Whiskers wrote:
>>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>>>>> How to display saved posts or sent posts in slrn? I can't see an
>>>>> option for that in the help screens.
>>>>
>>>> There isn't one.

snip

>> I have toyed with the idea of trying to get them into a 'local
>> newsgroup' which Leafnode or Noffle could incorporate into the local
>> feed.  That's as far as I've taken the idea, though.
>
> Like /var/spool/news ?

Sort of thing.  There would have to be a way of giving each article a 
valid article number for the local spool, probably best done by the 
news-server.  Noffle has its own compacted .gdbm files instead of a text 
spool, which is an added complication.

I have heard of people getting mailing-lists into their news-readers, so 
there must be a way  (and I don't mean using gmane to read the 
mailing-list).

>> (The latest version of KMail can even send and display X-Faces).
>
> Probably even before the last one; I'm using them and I'm rarely Mr.
> Latest Version.  :)

Perhaps I'm a slow explorer.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195575
Author: Frank Slootweg
Date: Wed, 14 Feb 2007 16:26
44 lines
3326 bytes
Whiskers <catwheezel@operamail.com> wrote:
> On 2007-02-14, Blinky the Shark <no.spam@box.invalid> wrote:
> > Whiskers wrote:
> >> On 2007-02-13, Blinky the Shark <no.spam@box.invalid> wrote:
> >>> Whiskers wrote:
> >>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
> >>>>> How to display saved posts or sent posts in slrn? I can't see an
> >>>>> option for that in the help screens.
> >>>>
> >>>> There isn't one.
> 
> snip
> 
> >> I have toyed with the idea of trying to get them into a 'local
> >> newsgroup' which Leafnode or Noffle could incorporate into the local
> >> feed.  That's as far as I've taken the idea, though.
> >
> > Like /var/spool/news ?
> 
> Sort of thing.  There would have to be a way of giving each article a 
> valid article number for the local spool, probably best done by the 
> news-server.  Noffle has its own compacted .gdbm files instead of a text 
> spool, which is an added complication.
> 
> I have heard of people getting mailing-lists into their news-readers, so 
> there must be a way  (and I don't mean using gmane to read the 
> mailing-list).

  I think that should indeed be possible. Afterall, there are mail2news
gateways, aren't there? :-)

  But seriously: On (MS-)Windows, Hamster can do that. The procedure is
described in the FAQ item "Convert mailing-lists into newsgroups". The
procedure uses Korrnews to 'massage'/convert the e-mail messages before
inserting them into the local newsgroup.

  If I try to translate this procedure to UNIX/Linux equivalents, then I
think procmail can do the massaging/conversion and something like
leafnode should be able to fetch the converted 'emails'. The only
unclear point is how the 'fetching' works, i.e. the converted emails are
already in local files, so NNTP 'can not' be used to fetch them.
(Aparently with Hamster this is not a problem, because Hamster can POP
from itself and Hamster does both email and News and (apparently) can
POP News.)
Re: [slrn]How to...?
#195578
Author: Whiskers
Date: Wed, 14 Feb 2007 18:43
56 lines
3823 bytes
On 2007-02-14, Frank Slootweg <this@ddress.is.invalid> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>> On 2007-02-14, Blinky the Shark <no.spam@box.invalid> wrote:
>> > Whiskers wrote:
>> >> On 2007-02-13, Blinky the Shark <no.spam@box.invalid> wrote:
>> >>> Whiskers wrote:
>> >>>> On 2007-02-13, Chris Game <chrisgame@example.net> wrote:
>> >>>>> How to display saved posts or sent posts in slrn? I can't see an
>> >>>>> option for that in the help screens.
>> >>>>
>> >>>> There isn't one.
>> 
>> snip
>> 
>> >> I have toyed with the idea of trying to get them into a 'local
>> >> newsgroup' which Leafnode or Noffle could incorporate into the local
>> >> feed.  That's as far as I've taken the idea, though.
>> >
>> > Like /var/spool/news ?
>> 
>> Sort of thing.  There would have to be a way of giving each article a 
>> valid article number for the local spool, probably best done by the 
>> news-server.  Noffle has its own compacted .gdbm files instead of a text 
>> spool, which is an added complication.
>> 
>> I have heard of people getting mailing-lists into their news-readers, so 
>> there must be a way  (and I don't mean using gmane to read the 
>> mailing-list).
>
>   I think that should indeed be possible. Afterall, there are mail2news
> gateways, aren't there? :-)
>
>   But seriously: On (MS-)Windows, Hamster can do that. The procedure is
> described in the FAQ item "Convert mailing-lists into newsgroups". The
> procedure uses Korrnews to 'massage'/convert the e-mail messages before
> inserting them into the local newsgroup.
>
>   If I try to translate this procedure to UNIX/Linux equivalents, then I
> think procmail can do the massaging/conversion and something like
> leafnode should be able to fetch the converted 'emails'. The only
> unclear point is how the 'fetching' works, i.e. the converted emails are
> already in local files, so NNTP 'can not' be used to fetch them.

I'm not convinced af that; I'm sure that different local servers could be 
run using different 'ports'.

> (Aparently with Hamster this is not a problem, because Hamster can POP
> from itself and Hamster does both email and News and (apparently) can
> POP News.)

Hamster is a nifty thing.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195579
Author: Adam Funk
Date: Wed, 14 Feb 2007 19:12
7 lines
1245 bytes
On 2007-02-14, Whiskers wrote:

> I have heard of people getting mailing-lists into their news-readers, so 
> there must be a way  (and I don't mean using gmane to read the 
> mailing-list).

But gmane's probably the easiest way to do it. ;-)
Re: [slrn]How to...?
#195582
Author: Frank Slootweg
Date: Wed, 14 Feb 2007 19:51
47 lines
3664 bytes
Whiskers <catwheezel@operamail.com> wrote:
> On 2007-02-14, Frank Slootweg <this@ddress.is.invalid> wrote:
> > Whiskers <catwheezel@operamail.com> wrote:
[deleted]

> >> I have heard of people getting mailing-lists into their news-readers, so 
> >> there must be a way  (and I don't mean using gmane to read the 
> >> mailing-list).
> >
> >   I think that should indeed be possible. Afterall, there are mail2news
> > gateways, aren't there? :-)
> >
> >   But seriously: On (MS-)Windows, Hamster can do that. The procedure is
> > described in the FAQ item "Convert mailing-lists into newsgroups". The
> > procedure uses Korrnews to 'massage'/convert the e-mail messages before
> > inserting them into the local newsgroup.
> >
> >   If I try to translate this procedure to UNIX/Linux equivalents, then I
> > think procmail can do the massaging/conversion and something like
> > leafnode should be able to fetch the converted 'emails'. The only
> > unclear point is how the 'fetching' works, i.e. the converted emails are
> > already in local files, so NNTP 'can not' be used to fetch them.
> 
> I'm not convinced af that; I'm sure that different local servers could be 
> run using different 'ports'.

  I see. You mean running multiple instances of something like leafnode
on the same machine? If so, can slrn handle multiple News servers as if
they're one, or isn't that a requirement? (Note: With 'my' newsreader,
tin, one can use multiple News servers, but not at the same time and not
as if they're one. That's, amongst other reasons, why I use Hamster, to
give a one-server local view of multiple real/remote News servers.)

  OTOH, if the local News 'server' has the functionality of a 'real'
one, perhaps it also has something to insert articles from a_file/files,
i.e. like rnews and, to a certain extent, inews does for INN.

> > (Aparently with Hamster this is not a problem, because Hamster can POP
> > from itself and Hamster does both email and News and (apparently) can
> > POP News.)
> 
> Hamster is a nifty thing.

  Yeah, they should port it to UNIX/Linux! [1]

[1] I have, professionally, run The Real Thing (tm), INN, for a decade,
so I think this is a *big* compliment for Hamster.
Re: [slrn]How to...?
#195590
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 20:59
18 lines
1761 bytes
Adam Funk wrote:
> On 2007-02-14, Blinky the Shark wrote:
>
>>> so that each post gets saved in one file named after its timestamp.
>>> (Of course if you send two in the same second they'd be catenated into
>>> one file!)
>>
>> If you're posting like that, you're definitely one of
>> post-without-thinking Usenetters.  :)
>
> That comment was purely theoretical!

Accentuate The Hypothetical

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195591
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 21:01
33 lines
2708 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>>> definekey ("view_my_posts", "^T", "article");
>>>>> definekey ("view_my_posts", "^T", "group");
>>>>
>>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>>> but it doesn't do anything there.
>>>
>>> Put it either in an existing macro file or create a new one, make
>>> sure you include the line "interpret file.sl" in your .slrnrc
>>> file.
>>
>> I did both, and for the try at saving it as muttview.sl, in the
>> directory with my other macros (pointed to in .slrnrc) I included the
>> interpret command in .slrnrc.  Nothing worked.
>
> Bizarre.  There's nothing tricky to the macro itself.  You got
> all the closing brackets and semi-colons in the cut&paste?

Yep.

And I also tried it tweaked a little, to conform its format to a macro
already present in my_hooks.  Still no go.

Not a big deal.  I'm happy running mutt from a shortcut.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195592
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 21:03
62 lines
3690 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:
>> Troy Piggins wrote:
>
> [...]
>
>>>>> -----8<-----
>>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>>> definekey ("view_my_posts", "^T", "article");
>>>>> definekey ("view_my_posts", "^T", "group");
>
>>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>>> but it doesn't do anything there.
>
>>> Put it either in an existing macro file or create a new one, make
>>> sure you include the line "interpret file.sl" in your .slrnrc
>>> file.
>
>> I did both, and for the try at saving it as muttview.sl, in the
>> directory with my other macros (pointed to in .slrnrc) I included the
>> interpret command in .slrnrc.  Nothing worked.
>
> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
> I have done the exact same thing with the exception of the name of the
> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
> new tab in my terminal so I thought it wasnt working either. For giggles
> I left off the shift and Voila.

I changed the keybinding to ^o (as a memory aid, since Save is o).

>>> Make sure the key binding isn't superseded somewhere else with
>>> another binding or macro.
>
>> Wasn't.  Naturally, I tried the keybinding I wanted, live, first, to
>> make sure it did nothing.
>
> Heh, I hadnt thought of doing that Doh!
>
>>> Then you either need to eval the macro from within slrn with
>>> "ctrl-x esc" to get to commandline interpreter, then type
>>> "interpret file.sl" or just exit slrn and restart it.
>
>> Many tests, all with restarts.
>
>>> If that doesn't work, something else is going on, let me know.
>
>>> If you were anyone else, I'd ask if you changed the mutt mailbox
>>> path from the one I posted to suit your setup, but I'm sure you
>>> would've done that ;)
>
>> Of course.  When I run it with an -f switch it works fine from a console
>> and from the desktop shortcut I created for it.  Just not within slrn.
>
> Odd, only thing I can think of is the UPPERCASE.

I'm not using uppercase.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195593
Author: Troy Piggins
Date: Wed, 14 Feb 2007 21:15
38 lines
2804 bytes
* SINNER is quoted & my replies are inline below :
> * Blinky the Shark wrote in news.software.readers:
>> Troy Piggins wrote:
>
> [...]
>
>>>>> -----8<-----
>>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>>> definekey ("view_my_posts", "^T", "article");
>>>>> definekey ("view_my_posts", "^T", "group");
>
>>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>>> but it doesn't do anything there.
>
>>> Put it either in an existing macro file or create a new one, make
>>> sure you include the line "interpret file.sl" in your .slrnrc
>>> file.
>
>> I did both, and for the try at saving it as muttview.sl, in the
>> directory with my other macros (pointed to in .slrnrc) I included the
>> interpret command in .slrnrc.  Nothing worked.
>
> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
> I have done the exact same thing with the exception of the name of the
> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
> new tab in my terminal so I thought it wasnt working either. For giggles
> I left off the shift and Voila.

<slaps forehead> - that hadn't even occured to me.  That could be
his problem.

[snip]

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195595
Author: Troy Piggins
Date: Wed, 14 Feb 2007 21:18
40 lines
2930 bytes
* Blinky the Shark is quoted & my replies are inline below :
> SINNER wrote:
>> * Blinky the Shark wrote in news.software.readers:
>>> Troy Piggins wrote:
>>
>> [...]
>>
>>>>>> -----8<-----
>>>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>>>> definekey ("view_my_posts", "^T", "article");
>>>>>> definekey ("view_my_posts", "^T", "group");
>>
>>>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>>>> but it doesn't do anything there.
>>
>>>> Put it either in an existing macro file or create a new one, make
>>>> sure you include the line "interpret file.sl" in your .slrnrc
>>>> file.
>>
>>> I did both, and for the try at saving it as muttview.sl, in the
>>> directory with my other macros (pointed to in .slrnrc) I included the
>>> interpret command in .slrnrc.  Nothing worked.
>>
>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>> I have done the exact same thing with the exception of the name of the
>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>> new tab in my terminal so I thought it wasnt working either. For giggles
>> I left off the shift and Voila.
>
> I changed the keybinding to ^o (as a memory aid, since Save is o).

Bugger - thought we'd found it.

[snip]

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195594
Author: Whiskers
Date: Wed, 14 Feb 2007 21:22
28 lines
2516 bytes
On 2007-02-14, Adam Funk <a24061@yahoo.com> wrote:
> On 2007-02-14, Whiskers wrote:
>
>> I have heard of people getting mailing-lists into their news-readers, so 
>> there must be a way  (and I don't mean using gmane to read the 
>> mailing-list).
>
> But gmane's probably the easiest way to do it. ;-)

Only if the mailing list is available that way - some lists might well 
prefer not to be included.  (My own feeling is that if a list is OK with 
being available via gmane, why not just have a moderated newsgroup 
instead?).

A link from <http://slrn.sourceforge.net/wishlist.html> took me to 
<http://www.survex.com/~olly/slrnmail.html> which might be of interest.

There is also sn <http://www.iki.fi/patrik/sn/> "sn is flexible. You can 
subscribe to newsgroups on several upstream sites, and you can create 
local newsgroups that are not propagated upstream. sn can make mailing 
lists look like newsgroups transparently."  (I've just downloaded the 
tarball, and see that instructions for interfacing with a mailing list are 
in INSTALL.notes).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195597
Author: Whiskers
Date: Wed, 14 Feb 2007 21:35
37 lines
3119 bytes
On 2007-02-14, Frank Slootweg <this@ddress.is.invalid> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>> On 2007-02-14, Frank Slootweg <this@ddress.is.invalid> wrote:
>> > Whiskers <catwheezel@operamail.com> wrote:

snip

>> I'm not convinced af that; I'm sure that different local servers could be 
>> run using different 'ports'.
>
>   I see. You mean running multiple instances of something like leafnode
> on the same machine? If so, can slrn handle multiple News servers as if
> they're one, or isn't that a requirement? (Note: With 'my' newsreader,
> tin, one can use multiple News servers, but not at the same time and not
> as if they're one. That's, amongst other reasons, why I use Hamster, to
> give a one-server local view of multiple real/remote News servers.)

I'm not sure about running two leafnodes on one machine.  I was thinking 
rather of 'some sort of something' providing an NNTP feed on a 
non-standard port which leafnode (or something of the sort) could read 
from as a feed like an upstream server.

Slrn can only handle one server at a time, which is at least partly why
leafnode et al are so useful.

>   OTOH, if the local News 'server' has the functionality of a 'real'
> one, perhaps it also has something to insert articles from a_file/files,
> i.e. like rnews and, to a certain extent, inews does for INN.

I've just found that sn has such a feature <http://www.iki.fi/patrik/sn/>.

snip

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195600
Author: Blinky the Shark
Date: Wed, 14 Feb 2007 21:47
41 lines
3089 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> SINNER wrote:
>>> * Blinky the Shark wrote in news.software.readers:
>>>> Troy Piggins wrote:
>>>
>>> [...]
>>>
>>>>>>> -----8<-----
>>>>>>> define view_my_posts() { () = system ("mutt -f /home/troy/news/My_Posts"); }
>>>>>>> definekey ("view_my_posts", "^T", "article");
>>>>>>> definekey ("view_my_posts", "^T", "group");
>>>
>>>>>> Okay, whaddaya do with that?  It looks like it should go in my_hooks.sl,
>>>>>> but it doesn't do anything there.
>>>
>>>>> Put it either in an existing macro file or create a new one, make
>>>>> sure you include the line "interpret file.sl" in your .slrnrc
>>>>> file.
>>>
>>>> I did both, and for the try at saving it as muttview.sl, in the
>>>> directory with my other macros (pointed to in .slrnrc) I included the
>>>> interpret command in .slrnrc.  Nothing worked.
>>>
>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>> I have done the exact same thing with the exception of the name of the
>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>> I left off the shift and Voila.
>>
>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>
> Bugger - thought we'd found it.

Why would upper/lower matter, as long as I used the binding assigned?


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195601
Author: SINNER
Date: Wed, 14 Feb 2007 21:49
13 lines
1744 bytes
* Whiskers wrote in news.software.readers:

[sn functinality]

> You can 
> subscribe to newsgroups on several upstream sites, and you can create 
> local newsgroups that are not propagated upstream.

Leafnode does have this functionality but converting My_Posts to single 
articles and passing msgid's to leafnode would prove difficult me thinks.

-- 
David
Re: [slrn]How to...?
#195603
Author: SINNER
Date: Wed, 14 Feb 2007 21:52
46 lines
3323 bytes
* Blinky the Shark wrote in news.software.readers:

> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> SINNER wrote:
>>>> * Blinky the Shark wrote in news.software.readers:
>>>>> Troy Piggins wrote:
>>>>
>>>> [...]
>>>>
>>>>>>>> -----8<-----
>>>>>>>> define view_my_posts() { () = system ("mutt -f
>>>>>>>> /home/troy/news/My_Posts"); } definekey ("view_my_posts", "^T",
>>>>>>>> "article"); definekey ("view_my_posts", "^T", "group");
>>>>
>>>>>>> Okay, whaddaya do with that?  It looks like it should go in
>>>>>>> my_hooks.sl, but it doesn't do anything there.
>>>>
>>>>>> Put it either in an existing macro file or create a new one, make
>>>>>> sure you include the line "interpret file.sl" in your .slrnrc
>>>>>> file.
>>>>
>>>>> I did both, and for the try at saving it as muttview.sl, in the
>>>>> directory with my other macros (pointed to in .slrnrc) I included
>>>>> the interpret command in .slrnrc.  Nothing worked.
>>>>
>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open
>>>> mutt as I have done the exact same thing with the exception of the
>>>> name of the file. The UPPERCASE threw me off, in gnome terminal CTL
>>>> + SHIFT + t = new tab in my terminal so I thought it wasnt working
>>>> either. For giggles I left off the shift and Voila.
>>>
>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>
>> Bugger - thought we'd found it.
> 
> Why would upper/lower matter, as long as I used the binding assigned?
> 
> 

Normally it wouldn't, but if you took it as posted and kept in mind that 
slrn is indeed case sensitive, it would make sense that you would try T 
and not t, at least it did to me, hence my useless revelation.

-- 
David
Re: [slrn]How to...?
#195604
Author: Troy Piggins
Date: Wed, 14 Feb 2007 22:23
34 lines
2842 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>
>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>> I have done the exact same thing with the exception of the name of the
>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>> I left off the shift and Voila.
>>>
>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>
>> Bugger - thought we'd found it.
>
> Why would upper/lower matter, as long as I used the binding assigned?

I was thinking that if, e.g., you had bound ^O but were keying
ctrl-shift-o it may not be working.  No matter.

Another thought - can you invoke mutt by invoking the
interpretter (ctrl-x esc) and typing the command:

system ("mutt")

Or do you get an error?

Another, another thought - silly, but user permissions?  You run
slrn as same user as mutt?

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195610
Author: Whiskers
Date: Wed, 14 Feb 2007 23:38
20 lines
2212 bytes
On 2007-02-14, SINNER <arcade.master@gmail.com> wrote:
> * Whiskers wrote in news.software.readers:
>
> [sn functinality]
>
>> You can 
>> subscribe to newsgroups on several upstream sites, and you can create 
>> local newsgroups that are not propagated upstream.
>
> Leafnode does have this functionality but converting My_Posts to single 
> articles and passing msgid's to leafnode would prove difficult me thinks.

sn includes a utility 'snmail' to which the instructions are to 'pipe'
email from within the email program used for receiving the emails.  This 
seems to be the key to converting the email messages into a news-spool.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn]How to...?
#195612
Author: Blinky the Shark
Date: Thu, 15 Feb 2007 00:03
51 lines
3628 bytes
SINNER wrote:
> * Blinky the Shark wrote in news.software.readers:
>
>> Troy Piggins wrote:
>>> * Blinky the Shark is quoted & my replies are inline below :
>>>> SINNER wrote:
>>>>> * Blinky the Shark wrote in news.software.readers:
>>>>>> Troy Piggins wrote:
>>>>>
>>>>> [...]
>>>>>
>>>>>>>>> -----8<-----
>>>>>>>>> define view_my_posts() { () = system ("mutt -f
>>>>>>>>> /home/troy/news/My_Posts"); } definekey ("view_my_posts", "^T",
>>>>>>>>> "article"); definekey ("view_my_posts", "^T", "group");
>>>>>
>>>>>>>> Okay, whaddaya do with that?  It looks like it should go in
>>>>>>>> my_hooks.sl, but it doesn't do anything there.
>>>>>
>>>>>>> Put it either in an existing macro file or create a new one, make
>>>>>>> sure you include the line "interpret file.sl" in your .slrnrc
>>>>>>> file.
>>>>>
>>>>>> I did both, and for the try at saving it as muttview.sl, in the
>>>>>> directory with my other macros (pointed to in .slrnrc) I included
>>>>>> the interpret command in .slrnrc.  Nothing worked.
>>>>>
>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open
>>>>> mutt as I have done the exact same thing with the exception of the
>>>>> name of the file. The UPPERCASE threw me off, in gnome terminal CTL
>>>>> + SHIFT + t = new tab in my terminal so I thought it wasnt working
>>>>> either. For giggles I left off the shift and Voila.
>>>>
>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>
>>> Bugger - thought we'd found it.
>> 
>> Why would upper/lower matter, as long as I used the binding assigned?
>
> Normally it wouldn't, but if you took it as posted and kept in mind that 
> slrn is indeed case sensitive, it would make sense that you would try T 
> and not t, at least it did to me, hence my useless revelation.

Ah!  I see.  No, I'm careful to note case when I'm mucking about with
software.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195613
Author: Blinky the Shark
Date: Thu, 15 Feb 2007 00:05
43 lines
3004 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>
>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>> I have done the exact same thing with the exception of the name of the
>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>> I left off the shift and Voila.
>>>>
>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>
>>> Bugger - thought we'd found it.
>>
>> Why would upper/lower matter, as long as I used the binding assigned?
>
> I was thinking that if, e.g., you had bound ^O but were keying
> ctrl-shift-o it may not be working.  No matter.

Gotcha.  That's what SINNER was getting at, too, it turns out.

No, I understand case and am careful to use it correctly.

> Another thought - can you invoke mutt by invoking the
> interpretter (ctrl-x esc) and typing the command:
>
> system ("mutt")
>
> Or do you get an error?

Will send this and report back....

> Another, another thought - silly, but user permissions?  You run
> slrn as same user as mutt?

Yes.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195614
Author: Blinky the Shark
Date: Thu, 15 Feb 2007 00:05
32 lines
2721 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>
>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>> I have done the exact same thing with the exception of the name of the
>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>> I left off the shift and Voila.
>>>>
>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>
>>> Bugger - thought we'd found it.
>>
>> Why would upper/lower matter, as long as I used the binding assigned?
>
> I was thinking that if, e.g., you had bound ^O but were keying
> ctrl-shift-o it may not be working.  No matter.
>
> Another thought - can you invoke mutt by invoking the
> interpretter (ctrl-x esc) and typing the command:
>
> system ("mutt")

Yes.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195615
Author: Blinky the Shark
Date: Thu, 15 Feb 2007 00:08
34 lines
2813 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>
>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>> I have done the exact same thing with the exception of the name of the
>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>> I left off the shift and Voila.
>>>>
>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>
>>> Bugger - thought we'd found it.
>>
>> Why would upper/lower matter, as long as I used the binding assigned?
>
> I was thinking that if, e.g., you had bound ^O but were keying
> ctrl-shift-o it may not be working.  No matter.
>
> Another thought - can you invoke mutt by invoking the
> interpretter (ctrl-x esc) and typing the command:
>
> system ("mutt")

And this works, too, doing what the macro is supposed to do:

system ("mutt -f ~/News/slrn/saves")


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195617
Author: Troy Piggins
Date: Thu, 15 Feb 2007 00:34
43 lines
3051 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> Troy Piggins wrote:
>>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>>
>>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>>> I have done the exact same thing with the exception of the name of the
>>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>>> I left off the shift and Voila.
>>>>>
>>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>>
>>>> Bugger - thought we'd found it.
>>>
>>> Why would upper/lower matter, as long as I used the binding assigned?
>>
>> I was thinking that if, e.g., you had bound ^O but were keying
>> ctrl-shift-o it may not be working.  No matter.
>>
>> Another thought - can you invoke mutt by invoking the
>> interpretter (ctrl-x esc) and typing the command:
>>
>> system ("mutt")
>
> And this works, too, doing what the macro is supposed to do:
>
> system ("mutt -f ~/News/slrn/saves")

Next step, try this at the interpreter:

view_my_posts

And try: 

evalfile("mutthook.sl")

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195619
Author: SINNER
Date: Thu, 15 Feb 2007 00:39
23 lines
2472 bytes
* Whiskers wrote in news.software.readers:
> On 2007-02-14, SINNER <arcade.master@gmail.com> wrote:
>> * Whiskers wrote in news.software.readers:

>> [sn functinality]

>>> You can 
>>> subscribe to newsgroups on several upstream sites, and you can create 
>>> local newsgroups that are not propagated upstream.

>> Leafnode does have this functionality but converting My_Posts to single 
>> articles and passing msgid's to leafnode would prove difficult me thinks.

> sn includes a utility 'snmail' to which the instructions are to 'pipe'
> email from within the email program used for receiving the emails.  This 
> seems to be the key to converting the email messages into a news-spool.

Nice! I imagine a perl script or similar could be written to breakdown
slrns file, but its beyond my knowledge.

-- 
David
Elliptic paraboloids for sale.
Re: [slrn]How to...?
#195620
Author: Blinky the Shark
Date: Thu, 15 Feb 2007 01:06
62 lines
3834 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>>> * Blinky the Shark is quoted & my replies are inline below :
>>>> Troy Piggins wrote:
>>>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>>>
>>>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>>>> I have done the exact same thing with the exception of the name of the
>>>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>>>> I left off the shift and Voila.
>>>>>>
>>>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>>>
>>>>> Bugger - thought we'd found it.
>>>>
>>>> Why would upper/lower matter, as long as I used the binding assigned?
>>>
>>> I was thinking that if, e.g., you had bound ^O but were keying
>>> ctrl-shift-o it may not be working.  No matter.
>>>
>>> Another thought - can you invoke mutt by invoking the
>>> interpretter (ctrl-x esc) and typing the command:
>>>
>>> system ("mutt")
>>
>> And this works, too, doing what the macro is supposed to do:
>>
>> system ("mutt -f ~/News/slrn/saves")

First, here is my customization of your macro:

define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves); }
definekey ("view_my_saves", "^o", "article");
definekey ("view_my_saves", "^o", "group");

I have it both in my_hooks.sl and in the new muttview.sl

I tried it in my_hooks.sl because there was one definition in there that
had almost the same format as yours, so I figured perhaps that's where
it is supposed to go.  I also tried, as you know, making a new .sl for
it.

> Next step, try this at the interpreter:
>
> view_my_posts

S-Lang Error: Undefined Name: view_my_saves is undefined

> And try: 
>
> evalfile("mutthook.sl")

S-Lang Error: Syntax Error: Expecting quote-character: found '??',
line 1, file: /usr/share/slrn/macros/muttview.sl


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [slrn]How to...?
#195622
Author: Troy Piggins
Date: Thu, 15 Feb 2007 01:36
70 lines
4211 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> Troy Piggins wrote:
>>>> * Blinky the Shark is quoted & my replies are inline below :
>>>>> Troy Piggins wrote:
>>>>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>>>>
>>>>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>>>>> I have done the exact same thing with the exception of the name of the
>>>>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>>>>> I left off the shift and Voila.
>>>>>>>
>>>>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>>>>
>>>>>> Bugger - thought we'd found it.
>>>>>
>>>>> Why would upper/lower matter, as long as I used the binding assigned?
>>>>
>>>> I was thinking that if, e.g., you had bound ^O but were keying
>>>> ctrl-shift-o it may not be working.  No matter.
>>>>
>>>> Another thought - can you invoke mutt by invoking the
>>>> interpretter (ctrl-x esc) and typing the command:
>>>>
>>>> system ("mutt")
>>>
>>> And this works, too, doing what the macro is supposed to do:
>>>
>>> system ("mutt -f ~/News/slrn/saves")
>
> First, here is my customization of your macro:
>
> define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves); }
                                                                     ^^^^ 

That second error you posted seems to tell the story.  You are missing a
closing " after 'saves'.

> definekey ("view_my_saves", "^o", "article");
> definekey ("view_my_saves", "^o", "group");
>
> I have it both in my_hooks.sl and in the new muttview.sl
>
> I tried it in my_hooks.sl because there was one definition in there that
> had almost the same format as yours, so I figured perhaps that's where
> it is supposed to go.  I also tried, as you know, making a new .sl for
> it.
>
>> Next step, try this at the interpreter:
>>
>> view_my_posts
>
> S-Lang Error: Undefined Name: view_my_saves is undefined
>
>> And try: 
>>
>> evalfile("mutthook.sl")
>
> S-Lang Error: Syntax Error: Expecting quote-character: found '??',
> line 1, file: /usr/share/slrn/macros/muttview.sl

Hope that's it :)

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Re: [slrn]How to...?
#195624
Author: Blinky the Shark
Date: Thu, 15 Feb 2007 02:12
107 lines
5165 bytes
Troy Piggins wrote:
> * Blinky the Shark is quoted & my replies are inline below :
>> Troy Piggins wrote:
>>> * Blinky the Shark is quoted & my replies are inline below :
>>>> Troy Piggins wrote:
>>>>> * Blinky the Shark is quoted & my replies are inline below :
>>>>>> Troy Piggins wrote:
>>>>>> [---=| Quote block shrinked by t-prot: 22 lines snipped |=---]
>>>>>>>>>
>>>>>>>>> If you have changed nothing CTL + t (NOT UPPERCASE) should open mutt as
>>>>>>>>> I have done the exact same thing with the exception of the name of the
>>>>>>>>> file. The UPPERCASE threw me off, in gnome terminal CTL + SHIFT + t =
>>>>>>>>> new tab in my terminal so I thought it wasnt working either. For giggles
>>>>>>>>> I left off the shift and Voila.
>>>>>>>>
>>>>>>>> I changed the keybinding to ^o (as a memory aid, since Save is o).
>>>>>>>
>>>>>>> Bugger - thought we'd found it.
>>>>>>
>>>>>> Why would upper/lower matter, as long as I used the binding assigned?
>>>>>
>>>>> I was thinking that if, e.g., you had bound ^O but were keying
>>>>> ctrl-shift-o it may not be working.  No matter.
>>>>>
>>>>> Another thought - can you invoke mutt by invoking the
>>>>> interpretter (ctrl-x esc) and typing the command:
>>>>>
>>>>> system ("mutt")
>>>>
>>>> And this works, too, doing what the macro is supposed to do:
>>>>
>>>> system ("mutt -f ~/News/slrn/saves")
>>
>> First, here is my customization of your macro:
>>
>> define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves); }
>                                                                      ^^^^ 
>
> That second error you posted seems to tell the story.  You are missing a
> closing " after 'saves'.
>
>> definekey ("view_my_saves", "^o", "article");
>> definekey ("view_my_saves", "^o", "group");
>>
>> I have it both in my_hooks.sl and in the new muttview.sl
>>
>> I tried it in my_hooks.sl because there was one definition in there that
>> had almost the same format as yours, so I figured perhaps that's where
>> it is supposed to go.  I also tried, as you know, making a new .sl for
>> it.
>>
>>> Next step, try this at the interpreter:
>>>
>>> view_my_posts
>>
>> S-Lang Error: Undefined Name: view_my_saves is undefined
>>
>>> And try: 
>>>
>>> evalfile("mutthook.sl")
>>
>> S-Lang Error: Syntax Error: Expecting quote-character: found '??',
>> line 1, file: /usr/share/slrn/macros/muttview.sl
>
> Hope that's it :)

Added the doublequotes to each file

my_hook.sl
----------_

% This macro will bind slrn help to <F1>. 

define view_manual ()
{
   system ("zless /usr/share/doc/slrn/manual.txt.gz");
}
definekey ("view_manual", "<F1>", "article");
definekey ("view_manual", "<F1>", "group");

% Allows reading slrn-saved posts with Mutt - within slrn 
% DOESN'T WORK

define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves)"; }
definekey ("view_my_saves", "^o", "article");
definekey ("view_my_saves", "^o", "group");

muttview.sl
-----------

define view_my_saves() { () = system ("mutt -f /home/blinky/News/saves"); }
definekey ("view_my_saves", "^o", "article");
definekey ("view_my_saves", "^o", "group");


Results:

view_my_posts  does nothing

evalfile("mutthook.sl")  does nothing



-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Page 1 of 2 • 85 total messages
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