On Tue, Feb 16, 2010 at 05:24:20PM +0100, JP Bruns wrote: > Baldur Gislason [16.Feb.2010 15:12]: > > >For the past several years I have been using lynx and links to open > >HTML mail as if it was attachments inside mutt, are there any plans to > >make a simple html renderer or even filter as a part of the normal mail > >viewer? Is there even a way to make the normal mail viewer default to > >run some preprocessor before displaying html mail? > > I think what you are looking for exists in using links/w3m/other + > mailcap. In order to view html mails directly in mutt I have this one > liner (without \) in my .mailcap: > > text/html; w3m -dump %s; copiousoutput; description=HTML Text; \ > nametemplate=%s.html > > Maybe that is what you are looking for? >
Would there be a way to make that mailcap line work with urlview? Then urlview could decide the browser based on environment. Otherwise, the extent of my technology works well enough so long as I don't change environments within the same session. bashrc decides: |if [ x$DISPLAY != x ]; then | cp ~/.mailcapX ~/.mailcap |else | cp ~/.mailcapCLI ~/.mailcap |fi -- Kind Regards, Freeman