Re: Mutt now shows Autoview using /usr/bin/elinks
On Tue, Jun 12, 2007 at 02:24:44AM -0400, Kevin Mark wrote:
> On Tue, Jun 12, 2007 at 04:15:02PM +1200, Chris Bannister wrote:
> > Hi,
> >
> > Recent Lenny update:
> >
> > Mutt now shows "Autoview using /usr/bin/elinks" The default browser is
> > set to lynx! I assume an update of shared-mime-info(?) has changed this
> > but It was previously set to lynx!
> >
> > Could this be termed a bug? I think lynx maybe phased out :-(
> >
> > Does this annoy anyone else?
> >
> IIRC, mutt uses /etc/mailcap or .mailcap if it exists to determine what
> program to use. Some programs may be part of the alternatives systems,
> so you may need to follow the symlinks to find the canonical program
> used. On my system, etc/maicap lists these as possible html programs:
>
> text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
> text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
> text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
> text/html; /usr/bin/html2text '%s'; copiousoutput; description=HTML Text text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
> description=HTML Text; nametemplate=%s.html text/html; /usr/bin/sensible-browser '%s'; description=HTML Text; nametemplate=%s.html
>
> So, it chooses one of these ( I think it tries each one until it works).
>
> But in my case, I have .mailcap set like this:
> text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%
Hi, Kevin,
Ah mailcap, yeah thats the one, but:
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
produces
Invoking autoview command: /usr/bin/lynx -force_html ''/tmp/mutt.html''
in the mutt status bar and just hangs.
I have
auto_view text/html
in my .muttrc
It was all working perfectly before. :-(
--
Chris.
======
Reply to: