On Mon, Jul 15, 2002 at 01:41:57PM -0700, Jim Osborn wrote:
> I'm on a list where most of the traffic consists of a paragraph or two
> of text and an accompanying chart as an image attachment.  I really
> need to be able to see the image as I read the text, and it'd be nice
> to be able to do that within Mutt.  I haven't figured out how to get
> the image to xv without going into the ``v'' attachment menu, which
> hides the text part of the mail.

The way I handle this is to use a mailcap entry for image/* that runs xv
in the background.  Then I can launch xv from the attachment menu and
immediately return to reading the message text while still viewing the
image.  Here's my mailcap entry:

    image/*; mutt_bgrun xv %s; test=RunningX

A simpler approach would be to just use something like this:

    image/*; xv %s & sleep 5

where the sleep time is set to give xv enough time to load the image
before mutt overwrites it.  You can get mutt_bgrun from my web page,

    http://www.spocom.com/users/gjohnson/mutt/mutt_bgrun

HTH,
Gary

-- 
Gary Johnson                               | Agilent Technologies
[EMAIL PROTECTED]                   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |

Reply via email to