🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #240363

Re: SLRN and My_Posts

#240363
From: Troy Piggins
Date: Fri, 09 Apr 2010 21:30
50 lines
2746 bytes
* Whiskers wrote :
> On 2010-04-08, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>> slrn saves the posts into a single file, 
>
> Actually, it's standard mbox format.  Slrn can't read those files, but 
> email programs have no difficulty.
<snip />

My solution to this was to write macros to invoke mutt when I
wanted to read them.  Edit the paths to suit.  Ctrl-T in slrn
will invoke mutt to view your posts, Ctrl-R in slrn will invoke
mutt to view your replies, quitting mutt will return you to slrn.

#v+
% Filename: view_my_posts.sl
% Version: 0.9.1
% Author: Troy Piggins

% assumes you are have mutt mail reader
% check the paths to "save_posts" and "save_replies" are correct

define view_my_posts() { 

% path to your posts, ie the value of "save_posts" in your
% .slrnrc
  variable postpath= "$HOME/news/My_Posts";

  () = system ("mutt -f "+postpath);

}

definekey ("view_my_posts", "^T", "article");
definekey ("view_my_posts", "^T", "group");

define view_my_mails() { 

% path to your mails, ie the value of "save_replies" in your
% .slrnrc
  variable mailpath= "$HOME/news/My_Replies";

  () = system ("mutt -f "+mailpath);

} 

definekey ("view_my_mails", "^R", "article");
definekey ("view_my_mails", "^R", "group");
#v-

-- 
Troy Piggins
Technical Details
Message-ID: <20100410072438@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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
References: <slrnhrsr4o.kob.g.kreme@cerebus.local> <slrnhrv2o0.c6t.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <20100410072438@usenet.piggo.com>
Subject: Re: SLRN and My_Posts
Date: Sat, 10 Apr 2010 07:30:06 +1000
From: Troy Piggins <usenet-1004@piggo.com>
References: <slrnhrsr4o.kob.g.kreme@cerebus.local> <slrnhrv2o0.c6t.catwheezel@ID-107770.user.individual.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 50
Reply-To: usenet-1004@piggo.com
Injection-Date: Fri, 9 Apr 2010 21:31:38 +0000 (UTC)
Injection-Info: feeder.eternal-september.org;
 posting-host="Ohl4FEtI2Lg7mMC2HOwcEw";
 logging-data="24618"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19UAkRQCrC8BWeikNtNxxRYEyjEGf4Cvb0="
User-Agent: slrn/pre1.0.0-11/rt (Linux)
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
Cancel-Lock: sha1:EyPQFXhpMQJiULqOKntuUx63YbY=
X-Original-Bytes: 2442