From: Philippe LeCavalier <support@plecavalier.com>
To: Christer Edwards <cedwards@zelut.org>
Cc: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Error: no "view" mailcap rules found for type "text/plain"
Date: Wed, 16 Feb 2011 10:28:46 -0500 [thread overview]
Message-ID: <1297868379-sup-4270@plc.intranet.plecavalier.com> (raw)
In-Reply-To: <1297867503-sup-1594@daphne>
Hi Christer.
Excerpts from Christer Edwards's message of Wed Feb 16 09:46:49 -0500 2011:
> Excerpts from Philippe LeCavalier's message of 2011-02-16 07:07:19 -0700:
> > Here's mine. I just started building it but it's something...BTW Did you look into the mime-decode.rb hook?
> >
> > cat ../../.mailcap
> > application/zip; squeeze '%s'
> > application/pdf; /usr/bin/xpdf '%s'
> > application/msexcel; gnumeric '%s'
> > application/html; firefox '%s'
> > application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword '%s'
> >
> > Not certain the last one is 'proper' but it works.
>
> I tried adding this contents to my file, but I'm still getting the error when selecting an html email attachment:
>
> Couldn't execute view command, viewing as text.
I think sup always tries to display HTML inline but without the mime-decode.rb hook it will fail(just a guess). Despite the error the
mailcap entry for firefox(assuming you have firefox, if not substitute for sensible-browser) should open.
All mime-decode does is make use of w3m to display the html encoding inline. So you'll need the w3m package for that to work.
> Christer
--
Thanks,
Phil
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2011-02-16 16:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 6:42 Christer Edwards
2011-02-16 14:07 ` Philippe LeCavalier
2011-02-16 14:46 ` Christer Edwards
2011-02-16 15:28 ` Philippe LeCavalier [this message]
2011-02-16 16:26 ` Mark Alexander
2011-02-16 16:39 ` Christer Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1297868379-sup-4270@plc.intranet.plecavalier.com \
--to=support@plecavalier.com \
--cc=cedwards@zelut.org \
--cc=sup-talk@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox