Le dimanche 08 février à 19:22, JaviMicro a écrit :
> * On  8 feb 2015, Philippe Delavalade wrote:
> 
> > 
> > When I receive an attachment in html format, I hope it is read with lynx
> > but in fact, I can see it as a txt file. In ~/.mailcp I have the line : 
> > text/html; lynx -force_html '%s'; description=HTML Text; 
> > nametemplate=%s.html
> > 
> > I have also tried 
> > text/html; /usr/bin/lynx -force_html %s; needsterminal; copiousoutput; 
> > nametemplate=%s.html
> > 
> > But neither works.
> > 
> > In the mime.types file I have just the line
> > text/html html htm shtml
> > 
> 
> You need:
> 
> 1- To define a viewer in mailcap for text/html attachments (you have
> already done it)
> 
> 
> 2- 'auto_view' parameter in .muttrc:
>       auto_view text/html
> 
> Read the section with this sentence
>       "automatically viewing MIME attachments while in the pager"
> in manual:
>       http://www.mutt.org/doc/devel/manual.html#auto-view

Thanks but I have already tried auto_view but it's not what I want and it
does not help me anyway.

I want to do 'v' and then click on the html attachment as I do successfully
with mpeg or pdf attachments.

If I do this with html, I see things like

<head>
<META http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>...</title>
...

> 3- Maybe you also need an 'alternative_order' parameter in .muttrc.
> 
> 
> 
> > attachments   +A */.*
> > attachments   +I text/plain
> > attachments   +I text/html
> > 
> > I don't understand what they mean and didn't find explanations in the 
> > manual.
> > 
> 
> For 'attachments', look here:
>       http://www.mutt.org/doc/devel/manual.html#ex-attach-count

Yes, I read that but didn't understood what it exactly mean and do.

Thanks anyway.

-- 
Ph. Delavalade

Reply via email to