<<< Date Index >>>     <<< Thread Index >>>

w3mimgdisplay use?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Does anyone know how to use w3mimgdisplay to display images on the 
terminal (or if its even possible)? I'm hoping to be able to put it in 
my mailcap so that when I view an attached image, it'll display it on 
the terminal.

I've gotten as far as understanding that it has an input command 
language, so I can query the size of the image, like so:

     echo '5;./test.jpg' | w3mimgdisplay

And I *believe* the command to display an image looks something like 
this:

     echo '0;1;2;3;4;5;6;7;8;9;./test.jpg' | w3mimgdisplay

But as of yet, I haven't actually gotten it to display anything. Does 
anyone have any clues? Are there some magic incantations that must be 
performed first? Image-specific numbers that must be generated? What's 
the trick?

~Kyle

P.S. Yes, I know that w3mimgdisplay has to be a persistent process, so 
the echo line up there won't *quite* work... but I'm still stumped as 
to what the correct behavior is.
- -- 
If the president is the head of the American body politic, Congress is 
its gastrointestinal tract. Its vast and convoluted inner workings may 
be mysterious and unpleasant, but in the end they excrete a great deal 
of material whose successful passage is crucial to our nation's 
survival. This is Congress's duty.
                                                         -- Jon Stewart
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFHNM4dBkIOoMqOI14RAuDZAKDlZkN754F45HL3mzIZbNiNLpFQygCgvvzv
qen6lSMJpUKBNFcA34vEhIA=
=qDcS
-----END PGP SIGNATURE-----