* [sup-talk] /usr/bin/run-mailcap
@ 2009-05-07 11:58 Filip Stokkeland
2009-05-07 13:07 ` William Morgan
0 siblings, 1 reply; 4+ messages in thread
From: Filip Stokkeland @ 2009-05-07 11:58 UTC (permalink / raw)
In Sup, installed on a RHEL 5.1 with EPEL, using gems, when I select
f.ex. html attachments, I just get an error that view doesn't work and
I get the plain text. A quick grep in the code reveals this:
lib/sup/message-chunks.rb: cmd = "/usr/bin/run-mailcap
--action=view '#{@content_type}:#{path}' 2>/dev/null"
I can't find run-mailcap on this RedHat installation. "yum
whatprovides" didn't help and the mailcap package had no such file
installed:
# rpm -ql mailcap
/etc/mailcap
/etc/mime.types
/usr/share/man/man4/mailcap.4.gz
Maybe run-mailcap a Debian/Ubuntu thing? (I'll be back on my regular
ubuntu installation soon enough anyway, just using a lab machine right
now.) In Mutt I don't believe I did anything except use my default
.mailcap ...
Cheers.
--
Filip
^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] /usr/bin/run-mailcap
2009-05-07 11:58 [sup-talk] /usr/bin/run-mailcap Filip Stokkeland
@ 2009-05-07 13:07 ` William Morgan
2009-05-07 13:21 ` Ben Walton
2009-05-07 15:29 ` Mark Alexander
0 siblings, 2 replies; 4+ messages in thread
From: William Morgan @ 2009-05-07 13:07 UTC (permalink / raw)
Reformatted excerpts from Filip Stokkeland's message of 2009-05-07:
> Maybe run-mailcap a Debian/Ubuntu thing? (I'll be back on my regular
> ubuntu installation soon enough anyway, just using a lab machine right
> now.) In Mutt I don't believe I did anything except use my default
> .mailcap ...
It could very well be a Debianism. Is there a good alternative for
RedHat, or does Sup have to start manually parsing ~/.mailcap,
/etc/mailcap/, etc?
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] /usr/bin/run-mailcap
2009-05-07 13:07 ` William Morgan
@ 2009-05-07 13:21 ` Ben Walton
2009-05-07 15:29 ` Mark Alexander
1 sibling, 0 replies; 4+ messages in thread
From: Ben Walton @ 2009-05-07 13:21 UTC (permalink / raw)
Excerpts from William Morgan's message of Thu May 07 09:07:32 -0400 2009:
> It could very well be a Debianism. Is there a good alternative for
> RedHat, or does Sup have to start manually parsing ~/.mailcap,
> /etc/mailcap/, etc?
I just copied the script onto my box (rhel5.3) and it works fine.
Maybe a config knob for those that can't stick it in /usr/bin (or a
less hardcoded way of calling it to allow for $PATH).
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090507/5bc6dee1/attachment.bin>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] /usr/bin/run-mailcap
2009-05-07 13:07 ` William Morgan
2009-05-07 13:21 ` Ben Walton
@ 2009-05-07 15:29 ` Mark Alexander
1 sibling, 0 replies; 4+ messages in thread
From: Mark Alexander @ 2009-05-07 15:29 UTC (permalink / raw)
On Thu, May 7, 2009 at 9:07 AM, William Morgan <wmorgan-sup at masanjin.net> wrote:
> Reformatted excerpts from Filip Stokkeland's message of 2009-05-07:
>> Maybe run-mailcap a Debian/Ubuntu thing? ?(I'll be back on my regular
>> ubuntu installation soon enough anyway, just using a lab machine right
>> now.) In Mutt I don't believe I did anything except use my default
>> .mailcap ...
>
> It could very well be a Debianism. Is there a good alternative for
> RedHat, or does Sup have to start manually parsing ~/.mailcap,
> /etc/mailcap/, etc?
For my Fedora 4 system, I found the run-mailcap script somewhere
(I forget where now, but I probably used Google to find it), and manually
installed it in /usr/bin.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-07 15:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-07 11:58 [sup-talk] /usr/bin/run-mailcap Filip Stokkeland
2009-05-07 13:07 ` William Morgan
2009-05-07 13:21 ` Ben Walton
2009-05-07 15:29 ` Mark Alexander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox