🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195566

Re: [slrn]How to...?

#195566
From: 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
Technical Details
Message-ID: <slrnet5e59.c93.no.spam@thurston.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnet33lg.a2u.chrisgame@URANUS.example.net> <20070213121650.59D7.0.NOFFLE@ID-107770.user.individual.net> <slrnet40d1.5p6.chrisgame@URANUS.example.net> <20070214074207@usenet.piggo.com> <slrnet57cl.alo.no.spam@thurston.blinkynet.net> <20070214154555@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnet5e59.c93.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn]How to...?
Date: Wed, 14 Feb 2007 07:23:10 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <slrnet33lg.a2u.chrisgame@URANUS.example.net> <20070213121650.59D7.0.NOFFLE@ID-107770.user.individual.net> <slrnet40d1.5p6.chrisgame@URANUS.example.net> <20070214074207@usenet.piggo.com> <slrnet57cl.alo.no.spam@thurston.blinkynet.net> <20070214154555@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 64
X-Trace: individual.net 61XKl3ipiVLQlclGOjDueg/MUgqICT8NF5XrZ3xyEPcQfLiKXZ
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva 2006 Linux; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1 (Linux)