From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel@wagner-home.com (Daniel Wagner) Date: Tue, 29 Jan 2008 13:45:22 -0800 Subject: [sup-talk] text/html => w3m? In-Reply-To: <1201636435-sup-5110@tangerine.lanl.gov> References: <1201635034-sup-9713@buckwheat> <1201636435-sup-5110@tangerine.lanl.gov> Message-ID: <1201642667-sup-6998@buckwheat> 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