Excerpts from John Bent's message of Tue Jan 29 11:59:01 -0800 2008:
> you're running from where you think you are), I believe sup uses 
> /usr/bin/run-mailcap if there is no 'mime-view.rb'.

Oh, hey, run-mailcap is really quite nice.  Thanks for the tip!  I stuck
this in my ~/.mailcap, and I'm happy-scrappy now.

text/html; /usr/bin/firefox '%s'; edit=gvim '%s'; \
test=test "$DISPLAY" != ""; description="Web Page"; nametemplate=%s.html
text/html; /usr/bin/firefox '%s'; edit=gvim '%s'; \
test=test "$DISPLAY" != ""; description="Web Page"; nametemplate=%s.htm
text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; \
edit=vim '%s'; description="Web Page"; nametemplate=%s.html
text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; \
edit=vim '%s'; description="Web Page"; nametemplate=%s.htm

Sadly, this will not work for opening links, as run-mailcap only
recognizes files, and not URIs.

~d
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to