On Thu, Sep 13, 2001 at 12:40:45PM -0700, Will Yardley wrote:
> Mack Stevenson wrote:
> > That's not what I meant :); after pressing 'v', I get a "tree" of the
> > attachments in this email. Suppose that one of them is an image, .e.g.,
> > monkey.jpg. How do I go about seeing that picture?
> >
> > To successfully pipe it into an image viewer I would need an image viewer
> > which reads raw data from stdin, something which isn't very common... The
> > only other option is to first save that image into a separate file, and then
>
> adding an appropriate entry to your .mailcap. i've never done this with
> image files before, but it would probably be something like:
> image/jpeg; xv '%s' ; test=test "$DISPLAY" != ""
>
> that's not tested; just a guess.
Looks about right... But, be careful about capital letter in
"test=...". I've never been able to use captical letter in "test=...",
as in "test=ps -C netscape" or "test=test -C X".
--
William Park, Open Geometry Consulting, <[EMAIL PROTECTED]>
8 CPU cluster, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Sc.