Re: Viewing HTML messages with images
- To: mutt-users@xxxxxxxx
- Subject: Re: Viewing HTML messages with images
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 15:42:45 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=o2dqwWIw9Jxf2jY51vWVMNXigkk=; b=RG1YWU43gUz7hDDFEDRoI3VTbAanF5U1jExRL48Khkz3juyG4lPg0bpAokziEqCIcZzIlNYDPkeTfPhyDwYCqMOsCwjMeL8MCAYbFGRIZ8EUUS0WGkwskeu9EJTklLSeycoK2vRPSlABibAZt5gF4L4PnqTGrGR6mwViEaovQ9k=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=MU6LuX7IVCdBJ2l/Ykh+10UToFJI3+v9D9xuVHjAzm5uaqwfCDMU1kakeew73nisWt9ow1Op8TwpJfaDwIpb++YgRytRkakHBdSq60cpAcWW+KI1gYwBqTnbMDIjeKIuUJsMzxw3wGrx7zyrtddfesj2Dw6W8Ee9tTO/7t09YGY=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070830205418.GC4563@xxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070830203601.GF23380@xxxxxxxxxxxxxxxxxxxxxxxx> <20070830205418.GC4563@xxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-08-28)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, August 30 at 10:54 PM, quoth M. Fioretti:
>it could surely be used to do what you need in a separate terminal
>with a bit of wrapping, but, is there any way to make it work that way
>when it's a display_filter, that is _inside_ the mutt window? Now that
>would be great...
>
>I _feel_ that is not possible, but I cannot explain why (do you?) and
>anyway I'd like to be proven wrong!
In general, what mutt renders is the piped output of the programs
listed as handlers for the specific MIME-types. So, if w3m can get
images to display when used like this:
$ cat foo.html | w3m -dump -T text/html >foo.txt;
$ cat foo.txt
Then YES, mutt can display that. (as it happens, elinks can spit out
xterm color commands, and mutt can thus display color elinks output,
because the above command sequence *works* for elinks color)
Generally, though, the whole point of making w3m dump it is because
you're not using w3m as a pager, you're using it as a renderer. MUTT
is the pager. As such, it spits out a stream of characters. I don't
know how it gets images rendered in xterm, but I'm pretty sure it
doesn't do it in a way that can be piped through another program.
~Kyle
- --
Having a family is like having a bowling alley installed in your
brain.
-- Martin Mull
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFG1znUBkIOoMqOI14RAmqfAJ4yZXKHP6kz+7Gz4mnBUalGGgL9XgCgx4WZ
JBQB5VFpjtB2kCp+p9NxE+4=
=xXtO
-----END PGP SIGNATURE-----