Reformatted excerpts from John Bent's message of 2008-01-24:
> Yep, just like you say. Although, I think I do still need to have
> something in /usr/bin/run-mailcap that parses "--action=view
> application/vnd.ms-powerpoint:/tmp/foo.ppt," and then execs "open
> /tmp/foo.ppt." But that's much better than having to guess an
> extension from the mime-type.
You don't even need to fake run-mailcap. You should just be able to have
a one-line ~/.sup/hooks/mime-view.rb that looks like:
system "open #{filename}"
If open is a standard OS X command, then I will add some code to
auto-detect it at some point.
--
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk