On Mon, Jun 10, 2002 at 07:16:14PM -0600, Dave Price wrote: > ok, > > I finally got it working right. I am using mutt and > lynx Version 2.8.1rel.2 > > In ~/.muttrc I put: > > auto_view text/html text/enriched > > and I made a ~/.mailcap with: > > text/html;/usr/bin/lynx -dump -force_html %s ;copiousoutput > > My lynx likes -dump, not --dump and the -force_html deals with the case > where the attachment filename is not .html, without it I got raw > (uninterpreted) html. >
My version of lynx indents the text output, which is no big deal, but can be fixed pretty easily by piping through sed and stripping the leading 3 space characters: text/html;/usr/local/bin/lynx -localhost -force_html -nolist -dump %s | sed 's/^ //'; copiousoutput; Cheers, Chuck