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
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>
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>
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.