🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195573

Re: [slrn]How to...?

#195573
From: 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
Technical Details
Message-ID: <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!news-in-01.newsfeed.easynews.com!easynews.com!easynews!easynews-local!fe05.news.easynews.com.POSTED!news.gates-of-hell.com!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: <ilfba4xieo.ln2@news.gates-of-hell.com>
Subject: Re: [slrn]How to...?
Date: Wed, 14 Feb 2007 13:39:38 GMT
From: SINNER <99nesorjd@gates_of_hell.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>
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!news-in-01.newsfeed.easynews.com!easynews.com!easynews!easynews-local!fe05.news.easynews.com.POSTED!news.gates-of-hell.com!not-for-mail
Newsgroups: news.software.readers
Organization: Hell.org
X-Face: #sn6gF@jD*I3X;
 _)M5ymNQ1wG39y^'rxXRA5y-oi7.T/>P.P-40N\&-q'Mu+DWRSTF[}`Vtd85KnX\fe1~p-<(9U<zenv]u["swbx<^u;
 %a:ro>w=r"qdVdsY_@\.mDg9"ruPsYjX.Bi9M#gF-fG5=obWVG'>0W*w3RC
X-NNTP-Proxy: Leafnode-2
 <http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/>
User-Agent: slrn/0.9.8.1pl1 (Debian)
Lines: 55
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.