🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195572

Re: [slrn]How to...?

#195572
From: 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
Technical Details
Message-ID: <20070214222055@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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <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> <slrnet5e59.c93.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <20070214222055@usenet.piggo.com>
Subject: Re: [slrn]How to...?
Date: Wed, 14 Feb 2007 22:24:27 +1000
From: Troy Piggins <usenet-0702@piggo.com>
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> <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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0702@piggo.com
X-NNTP-Proxy: Leafnode v2 (http://leafnode.sourceforge.net/)
User-Agent: slrn/0.9.8.1pl1/rt (Linux)
Lines: 53
NNTP-Posting-Host: 203.206.121.193
X-Trace: 1171455956 per-qv1-newsreader-01.iinet.net.au 31883 203.206.121.193