From owner-freebsd-questions Tue Jan 26 22:12:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02957 for freebsd-questions-outgoing; Tue, 26 Jan 1999 22:12:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail1.lig.bellsouth.net (mail1.lig.bellsouth.net [205.152.0.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02950 for ; Tue, 26 Jan 1999 22:12:30 -0800 (PST) (envelope-from gljohns@bellsouth.net) Received: from gforce.johnson.home (host-209-214-148-25.msy.bellsouth.net [209.214.148.25]) by mail1.lig.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id BAA29607 for ; Wed, 27 Jan 1999 01:11:49 -0500 (EST) Received: (from glenn@localhost) by gforce.johnson.home (8.9.2/8.9.2) id AAA10112 for questions@FreeBSD.ORG; Wed, 27 Jan 1999 00:11:46 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Wed, 27 Jan 1999 00:11:46 -0600 To: FreeBSD Questions Subject: HTML in mutt (was Re: [FYI] Oracle on FreeBSD: official response) Message-ID: <19990127001146.A9899@gforce.johnson.home> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990126191500.Z66239@freebie.lemis.com>; from Greg Lehey on Tue, Jan 26, 1999 at 07:15:00PM +1030 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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