Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 00:11:46 -0600
From:      Glenn Johnson <gljohns@bellsouth.net>
To:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   HTML in mutt (was Re: [FYI] Oracle on FreeBSD: official response)
Message-ID:  <19990127001146.A9899@gforce.johnson.home>
In-Reply-To: <19990126191500.Z66239@freebie.lemis.com>; from Greg Lehey on Tue, Jan 26, 1999 at 07:15:00PM %2B1030
References:  <19990125113352.A28261@ucb.crimea.ua> <19990126105355.Q36690@freebie.lemis.com> <19990125164657.A28375@mooseriver.com> <19990126100930.A18505@ucb.crimea.ua> <19990126191500.Z66239@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 26, 1999 at 07:15:00PM +1030, Greg Lehey wrote:

> On Tuesday, 26 January 1999 at 10:09:30 +0200, Ruslan Ermilov wrote:
>
> > I don't use Netscape.  Like you both, I use `mutt' (in the ports).
> > Its autoview feature and `lynx' (also in the ports) allow me to
> > view HTML.
> >
> > To view HTMLs in the `mutt' you should:
> >
> > 1. install `lynx'
> > 2. add the following line to ~/.muttrc:
> >    auto_view text/html
> > 3. create ~/.mailcap with the following line:
> >    text/html; lynx -dump -force_html %s; copiousoutput
> >
> > Is it too much? ;-)
> 
> No, it's not enough if I send you an attachment with graphics.  That's
> one of the problems: there are too many possible incompatibilities.
> See http://www.lemis.com/email.html for more possibilities.  But since
> we're talking about mutt, you might prefer this approach:
> 
> 1.  Install netscrape.
> 2.  Add the following line to ~/.muttrc:
>   
>     auto_view text/html
> 
> 3.  Add the following single line to /usr/local/etc/mailcap:
> 
>     text/html; cp %s /var/tmp && netscape -remote "openURL(file:/var/tmp/`basename %s`)" || netscape /var/tmp/`basename %s`
> 

I have been using lynx to view HTML in mutt. After seeing the above tip
for netscape I thought I would give it a try. If I go to the attachment
viewer all is well, I can launch netscape to view the HTML; but if I try
to use auto_view as described above, mutt tells me it can't find the
mailcap entry. What might be wrong?

Thanks.
-- 
Glenn Johnson
gljohns@bellsouth.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990127001146.A9899>