Article View: news.software.readers
Article #195592Re: [slrn]How to...?
From: Blinky the Shark
Date: Wed, 14 Feb 2007 21:03
Date: Wed, 14 Feb 2007 21:03
62 lines
3690 bytes
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
Technical Details
Message-ID:
<slrnet6u72.rls.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.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<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> <ilfba4xieo.ln2@news.gates-of-hell.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnet6u72.rls.no.spam@thurston.blinkynet.net> Subject: Re: [slrn]How to...? Date: Wed, 14 Feb 2007 21:03:20 +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> <slrnet5e59.c93.no.spam@thurston.blinkynet.net> <ilfba4xieo.ln2@news.gates-of-hell.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.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 62 X-Trace: individual.net vmpSUSt38BjVl8yh6MSeUw5Llf4wHZfkSe3kDyGAUvvQgHG7nj 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)