Eric on 1 Jun 2006 08:58:26 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Confused about using cacview with mutt and mailcap entries


On Thursday 01 June 2006 12:41 am, Mike Leone wrote:
> So I want to use cacaview, to view jpegs from within mutt, for when I read
> email over an ssh tunnel. This is using debian testing. So I installed the
> cacautils package, and verified that cacaview works. (JPGs still look like
> crap, but I suppose it's better than nothing ...)
> 
> Anyway, I'm confused about the mailcap entries. I have this, 
in /etc/mailcap:
> 
> image/jpeg; /usr/bin/cacaview '%s'; test=test -n "$DISPLAY"
> 
> but when I try and view an attachment that mutt says  is "image/jpeg", mutt
> tells me "No matching mailcap entry found. Viewing as text". So what am I
> doing wrong? Mailcap files confuse me. :-)
> 
> And if anybody knows of a way to view images (JPGs, specifically) in a
> commad-line terminal that even remotely looks like the image, I'm eager to
> hear about it.
> 
> Thanks

I'm not sure how they did it (it's been years since I used it) but the
w3m terminal browser had a way to display images in a terminal that 
worked amazingly well.  Perhaps it's method(s) could be adapted?

Eric
-- 
------------------------------------------------------------------------
#  Eric A Lucas
#  ------------
#   "Oh, I have slipped the surly bond of earth
#    and danced the skies on laughter-silvered wings... 
#        -- John Gillespie Magee Jr.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug