Hi Christer. Excerpts from Christer Edwards's message of Wed Feb 16 09:46:49 -0500 2011: > Excerpts from Philippe LeCavalier's message of 2011-02-16 07:07:19 -0700: > > Here's mine. I just started building it but it's something...BTW Did you > > look into the mime-decode.rb hook? > > > > cat ../../.mailcap > > application/zip; squeeze '%s' > > application/pdf; /usr/bin/xpdf '%s' > > application/msexcel; gnumeric '%s' > > application/html; firefox '%s' > > application/vnd.openxmlformats-officedocument.wordprocessingml.document; > > abiword '%s' > > > > Not certain the last one is 'proper' but it works. > > I tried adding this contents to my file, but I'm still getting the error when > selecting an html email attachment: > > Couldn't execute view command, viewing as text. I think sup always tries to display HTML inline but without the mime-decode.rb hook it will fail(just a guess). Despite the error the mailcap entry for firefox(assuming you have firefox, if not substitute for sensible-browser) should open.
All mime-decode does is make use of w3m to display the html encoding inline. So you'll need the w3m package for that to work. > Christer -- Thanks, Phil _______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
