Hi,

* Andre Berger [02-06-08 04:45:05 +0200] wrote:
> How can I view inline images like

> --begin example--

> begin 666 car30001.jpg
> M_]C_X `02D9)1@`!`0```0`!``#_X2'317AI9@``24DJ``@````(``\!`@`6
> [snip]
> ;<17D$:2OL,:D@G/\ZZ>!BR\G-,*U&5'=W/_9
> `
> end

> --end example--

> in mutt-nntp (Orjan's patch)? I tried to pipe the message
> to xv and the like but it seems those image viewers don't
> recognoze the STDIN.  Probably my setup...

Ever tried uudecode(1)? You can just pipe the article
through it and should get the files. Maybe you want to
use a short shell script as a wrapper which also sets 
the download directory for your ware^H^H^Hfiles.

If you clean the directory up afterwards, you can use 
the output of ls to call your image viewer.

It could look similar to:

  #!/bin/sh
  dir="$HOME/tmp/downloads/warez"
  cd $dir
  uudecode -c && xv `ls $dir/*.jpg`

HTH,
Cheers, Rocco

Attachment: msg28746/pgp00000.pgp
Description: PGP signature

Reply via email to