On Tue, Jun 01, 2010 at 06:39:28PM -0700, Peter Stoddard wrote:
> I asked "What is the proper mailcap entry to view html attachments?" and the 
> reply was (thanks to ilf):
> 
> text/html; w3m -I 'iso-8859-15' -T text/html -dump; copiousoutput

this of course will cause trouble with html emails that are not encoded in
iso-8859-1(5). better do:

text/html; w3m -I '%{charset}' -T text/html -dump; copiousoutput

(untested... something similar works for me with elinks. perhaps it's necessary
to replace the single quotes around %{charset} with double quotes.)
 
> In case there is another newcomer besides me out there, I'll document how I
> implemented this solution. The text-based web browser w3m can be installed on
> Mac OSX 10.6 (snow leopard) by using Macports (http://www.macports.org/).
> Download and install the macports (formerly darwin ports), and then go to
> http://w3m.darwinports.com/ to install w3m.

why not just type 'sudo port install w3m' in a Terminal? that's how installing a
port works in macports.

> If you get an error message "can't
> find package Pextlib 1.0" then go to …
> 
> http://www.celsius1414.com/how-to-fix-cant-find-package-pextlib-1-0-in-macports-installation
> 
> … and follow the directions for installing a more current version of
> Pextlib.dylib. After doing that, the installation worked for me (on MacOSX
> 10.6.3).

if that still happens with a recent version of macports, it sounds like
something that should be reported to the macports project...


-- 
Joost Kremers
Life has its moments

Reply via email to