Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 10:00:37 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Veaceslav Revutchi <sl@zeus.dnt.md>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mutt and html
Message-ID:  <20011203160037.GB61536@dan.emsphone.com>
In-Reply-To: <20011203100148.A31862@zeus.dnt.md>
References:  <20011203100148.A31862@zeus.dnt.md>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 03), Veaceslav Revutchi said:
> is there a way to read html messages with mutt? is anyone doing this?
> can I define in mutt to launch lynx whenever it opens a text/html
> content?

Put the following in ~/.mailcap:

text/html; lynx -force_html -dump %s ; copiousoutput ; test=test -z "$LYNX_VERSION"

The test= is to keep lynx from using that line recursively to launch
itself on regular web pages.  

If you also put the following in ~/.muttrc:

auto_view text/html

Mutt will display the HTML document inline as though it were a regular
text message.  Very handy if you have people that insist on sending you
HTML email.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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?20011203160037.GB61536>