🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #249630

Re: [slrn] Development on the move again.....

#249630
From: Rockinghorse Winner
Date: Sun, 08 Apr 2012 23:06
68 lines
4256 bytes
* It may have been the liquor talking, but 
John E. Davis <jed@jedsoft.org> wrote:

> On Sun, 08 Apr 2012 17:53:45 +1000, andrew <andrew@skamandros.invalid>
>> slrn development is on the move again from JED's git repository. Details
>> are here:
>>
>> http://www.slrn.org/download.html#git
>
> In particular, read the changes.txt file in the distribution to see
> what is new/different.  The main new thing is support for multipart
> mime messages, which allows the user to save/view user-selected parts
> of such messages.  The interface probably needs to be hammered out a
> bit before I make it part of the default setting.  At the moment, you
> have to add something like:
> #v+
>    interpret "mime.sl"
>    setkey article "mime_browse" "v"
> #v-
> to your .slrnrc file.  I personally use:
> #v+
>    set macro_directory "lib/slrn"
>    interpret "myslrn.sl"
> #v-
> where $HOME/lib/slrn/myslrn.sl contains, among other things,
> #v+
>    require ("mime");
>    () = register_hook ("read_article_hook", &mime_process_multipart);
>    definekey ("mime_browse", "v", "article");
> #v-
> The mime_process_multipart hook will get invoked after the article has
> been read from the server.  It replaces a multipart MIME message by
> the first text/plain portion that it finds, and prints a small message
> at the bottom of the display summarizing what is in it, e.g.,
> #v+
>    MIME multipart/mixed [1 non-text, 2 text (0 html)]
> #v-
> The "mime_browse" function will allow other parts to be accessed via a
> popup window such as:
> #v+
>            ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
>            ???                     Browse Mime                      ???
>            ???                                                      ???
>            ??? 0 text/plain       |    us-ascii|                    ???
>            ??? 1 app/pdf          |            | xap_bayes_2012.pdf ???
>            ??? 2 text/plain       |    us-ascii|                    ???
>            ??? 3 View full message with all parts                   ???
>            ???                                                      ???
>            ???                     (Select One)                     ???
>            ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
> #v-
> (The above looks ok in my editor, and hopefully ok in slrn after
> posting).
>
> From there a selected piece can either be viewed (using an external
> viewer from the mailcap file), or saved.
>
> Thanks,
> --John

Interesting, John. This looks similar to how mutt handles such things.

Terry
-- 
"There are two means of refuge from the miseries of life: music and cats."
-Albert Schweitzer

badass linux - gentoo 3.1.6
Technical Details
Message-ID: <slrnjo46fp.kle.badass.superman@badass.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail
References: <20120408174246.83@skamandros.andrews-corner.org> <slrnjo3ef0.dvp.jed@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrnjo46fp.kle.badass.superman@badass.edu>
Subject: Re: [slrn] Development on the move again.....
Date: Sun, 8 Apr 2012 16:06:33 -0700
From: Rockinghorse Winner <badass.superman@gmx.com>
References: <20120408174246.83@skamandros.andrews-corner.org> <slrnjo3ef0.dvp.jed@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail
Newsgroups: news.software.readers
Organization: Borscht Belt Babes
User-Agent: slrn/0.9.9p1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 68
NNTP-Posting-Host: f6d3113f.news.astraweb.com
X-Trace: DXC=RJ>GU3@XGXG7dZd0V0aUXKL?0kYOcDh@J6j<e2[Il_gFh:BbU8OZ3AMjRQE:JQeY?AeUe:IL8?D6C@]AXhT=60HJhQ6HV7@^H[F6ViVQ3k_V^N
X-Original-Bytes: 4037