On Wed, Jun 26, 2002 at 02:17:53PM +0200, Cedric Duval wrote: > Pedro Alves wrote: > > Hello. Is it possible to configure mutt to automatically lunch the external > > viewer defined in mailcap inside the mutt window? For instance, lunch w3m > > or lynx when the type is text/html without having to see > > [-- text/html is unsupported (use 'v' to view this part) --])] ? > > Sure. > > In your muttrc: > auto_view text/html > # for multipart alternatives, text/plain is prefered > alternative_order text/plain text/enriched text/html > > And in your mailcap: > text/html; lynx -dump -force-html %s ; copiousoutput > > Note the copiousoutput option.
I don't think that's what Pedro was asking for. That will convert HTML to plain text and display the plain text in mutt's pager. What I think Pedro wanted was to view the HTML content of the message using a browser such as w3m, as can be done from the attachment menu, but with the browser invoked automatically when the message is opened from the index menu. I don't think mutt currently supports that. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
