Thread View: news.software.readers
9 messages
9 total messages
Started by Whiskers
Sat, 19 Sep 2009 22:53
slrn, metamail, multipart messages
Author: Whiskers
Date: Sat, 19 Sep 2009 22:53
Date: Sat, 19 Sep 2009 22:53
54 lines
3181 bytes
3181 bytes
I'm trying to get slrn to use Lynx to display the HTML part of messages
posted with
Content-Type: multipart/alternative;
boundary="[whatever]"
and having parts which are headed
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
and
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
In ~/.slrnrc I have these lines
set metamail_command "meamail"
set use_metamail 1
and in ~/.mailcap I have
text/html; lynx -force_html '%s'; needsterminal
If the message Content-Type is text/html, slrn directs the message to
metamail which uses Lynx to display the message.
However, when the Content-Type is multipart/alternative slrn doesn't seem
to pick up the Content-Type header to invoke metamail; is there something
I need to do in ~/.slrnrc to make that happen?
When I use | to pipe the message to metamail by hand, I get this message:
This message contains 'multipart/alternative'-format data.
Do you want to view it using the 'lynx' command (y/n) [y] ?
answering y to that launches Lynx OK and I see the HTML part, correctly
parsed. But I can't work out a line for mailcap that will automatically
send the HTML part of such a message to Lynx. I can see that variables %t
%n and %F are involved, but I can't work out from the man files how to use
them - and I haven't found any examples of their usage on line.
As slrn already has a macro to strip out all the non-plain-text parts of
HTML and multipart messages (Poor Man's MIME), perhaps I'm trying to do
something which is known to be impossible, or too complex to be worth the
effort. But I'm so close!
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: slrn, metamail, multipart messages
Author: Thomas Wiegner
Date: Sun, 20 Sep 2009 08:21
Date: Sun, 20 Sep 2009 08:21
29 lines
1871 bytes
1871 bytes
On Sat, 19 Sep 2009, Whiskers <catwheezel@operamail.com> wrote: > I'm trying to get slrn to use Lynx to display the HTML part of messages > posted with > > Content-Type: multipart/alternative; > boundary="[whatever]" > > and having parts which are headed > > Content-Type: text/plain; charset=UTF-8; format=flowed > Content-Transfer-Encoding: quoted-printable > > and > > Content-Type: text/html; charset=UTF-8 > Content-Transfer-Encoding: quoted-printable You could try my "minimal multipart" patch, which can be found at http://www.foory.de/thw/slrn/ this helps a lot with multipart stuff. I've also written a patch, which adds on top of this patch some basic mailcap filtering to slrn. I have not published it yet, because it is still very alpha, but if you're interested, just send me a mail. Cheers, Thomas
Re: slrn, metamail, multipart messages
Author: Justin C
Date: Tue, 22 Sep 2009 23:24
Date: Tue, 22 Sep 2009 23:24
12 lines
1724 bytes
1724 bytes
In article <slrnhbao7c.q87.catwheezel@ID-107770.user.individual.net>, Whiskers wrote: > In ~/.slrnrc I have these lines > > set metamail_command "meamail" > set use_metamail 1 Is that a copy and paste? If so, there looks to be a spelling mistake. Justin. -- Justin C, by the sea.
Re: slrn, metamail, multipart messages
Author: Whiskers
Date: Wed, 23 Sep 2009 11:21
Date: Wed, 23 Sep 2009 11:21
17 lines
1871 bytes
1871 bytes
On 2009-09-22, Justin C <justin.0909@purestblue.com> wrote: > In article <slrnhbao7c.q87.catwheezel@ID-107770.user.individual.net>, Whiskers wrote: >> In ~/.slrnrc I have these lines >> >> set metamail_command "meamail" >> set use_metamail 1 > > Is that a copy and paste? If so, there looks to be a spelling mistake. > > Justin. ~/.slrnrc contains "metamail". I don't know how that typo happened! -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: slrn, metamail, multipart messages
Author: Keith
Date: Thu, 24 Sep 2009 22:43
Date: Thu, 24 Sep 2009 22:43
22 lines
1917 bytes
1917 bytes
On 2009-09-23, Whiskers <catwheezel@operamail.com> wrote: > On 2009-09-22, Justin C <justin.0909@purestblue.com> wrote: >> In article <slrnhbao7c.q87.catwheezel@ID-107770.user.individual.net>, Whiskers wrote: >>> In ~/.slrnrc I have these lines >>> >>> set metamail_command "meamail" >>> set use_metamail 1 >> >> Is that a copy and paste? If so, there looks to be a spelling mistake. >> >> Justin. > > ~/.slrnrc contains "metamail". I don't know how that typo happened! > Operator error? -- Best Regards, Keith | http://home.comcast.net/~kilowattradio/ Tired of Google Groups? Use free Usenet access & programs. http://home.comcast.net/~kilowattradio/usenet.html
Re: slrn, metamail, multipart messages
Author: Whiskers
Date: Fri, 25 Sep 2009 17:48
Date: Fri, 25 Sep 2009 17:48
24 lines
2145 bytes
2145 bytes
On 2009-09-24, Keith <kilowattradio@use-reply-to.invalid> wrote: > On 2009-09-23, Whiskers <catwheezel@operamail.com> wrote: >> On 2009-09-22, Justin C <justin.0909@purestblue.com> wrote: >>> In article <slrnhbao7c.q87.catwheezel@ID-107770.user.individual.net>, Whiskers wrote: >>>> In ~/.slrnrc I have these lines >>>> >>>> set metamail_command "meamail" >>>> set use_metamail 1 >>> >>> Is that a copy and paste? If so, there looks to be a spelling mistake. >>> >>> Justin. >> >> ~/.slrnrc contains "metamail". I don't know how that typo happened! >> > > Operator error? No, I blame gremlins. Or hamsters. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: slrn, metamail, multipart messages
Author: Mike Yetto
Date: Fri, 25 Sep 2009 18:27
Date: Fri, 25 Sep 2009 18:27
28 lines
2623 bytes
2623 bytes
Bada bing Whiskers <catwheezel@operamail.com> bada bang: > On 2009-09-24, Keith <kilowattradio@use-reply-to.invalid> wrote: >> On 2009-09-23, Whiskers <catwheezel@operamail.com> wrote: >>> On 2009-09-22, Justin C <justin.0909@purestblue.com> wrote: >>>> In article <slrnhbao7c.q87.catwheezel@ID-107770.user.individual.net>, Whiskers wrote: >>>>> In ~/.slrnrc I have these lines >>>>> >>>>> set metamail_command "meamail" >>>>> set use_metamail 1 >>>> >>>> Is that a copy and paste? If so, there looks to be a spelling mistake. >>>> >>>> Justin. >>> >>> ~/.slrnrc contains "metamail". I don't know how that typo happened! >>> >> >> Operator error? > > No, I blame gremlins. Or hamsters. > Hamsters? Why not leafnodes? Mike "wait, what was the question?" Yetto -- In theory, theory and practice are the same. In practice they are not.
Re: slrn, metamail, multipart messages
Author: Whiskers
Date: Fri, 25 Sep 2009 18:59
Date: Fri, 25 Sep 2009 18:59
34 lines
2541 bytes
2541 bytes
On 2009-09-25, Mike Yetto <myetto1@nycap.invalid> wrote: > Bada bing Whiskers <catwheezel@operamail.com> bada bang: >> On 2009-09-24, Keith <kilowattradio@use-reply-to.invalid> wrote: >>> On 2009-09-23, Whiskers <catwheezel@operamail.com> wrote: >>>> On 2009-09-22, Justin C <justin.0909@purestblue.com> wrote: >>>>> In article <slrnhbao7c.q87.catwheezel@ID-107770.user.individual.net>, >>>>> Whiskers wrote: >>>>>> In ~/.slrnrc I have these lines >>>>>> >>>>>> set metamail_command "meamail" >>>>>> set use_metamail 1 >>>>> >>>>> Is that a copy and paste? If so, there looks to be a spelling mistake. >>>>> >>>>> Justin. >>>> >>>> ~/.slrnrc contains "metamail". I don't know how that typo happened! >>>> >>> >>> Operator error? >> >> No, I blame gremlins. Or hamsters. >> > > Hamsters? Why not leafnodes? > > Mike "wait, what was the question?" Yetto Hamsters have teeth. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: slrn, metamail, multipart messages
Author: Frank Slootweg
Date: Fri, 25 Sep 2009 19:25
Date: Fri, 25 Sep 2009 19:25
17 lines
1830 bytes
1830 bytes
Whiskers <catwheezel@operamail.com> wrote: > On 2009-09-25, Mike Yetto <myetto1@nycap.invalid> wrote: > > Bada bing Whiskers <catwheezel@operamail.com> bada bang: > >> On 2009-09-24, Keith <kilowattradio@use-reply-to.invalid> wrote: [...] > >>> Operator error? > >> > >> No, I blame gremlins. Or hamsters. > >> > > > > Hamsters? Why not leafnodes? > > > > Mike "wait, what was the question?" Yetto > > Hamsters have teeth. My leafnode didn't run it, nor Hamster.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads