Re: [mutt-nntp] inline images
--xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rocco Rutte [EMAIL PROTECTED], 2002-06-07 23:49 -0400: Hi, =20 * Andre Berger [02-06-08 04:45:05 +0200] wrote: How can I view inline images like =20 --begin example-- =20 begin 666 car30001.jpg M_]C_X `02D9)1@`!`0```0`!``#_X2'317AI9@``24DJ``@(``\!`@`6 [snip] ;17D$:2OL,:D@G/\ZZ!BR\G-,*U5'=3DW/_9 ` end =20 --end example-- =20 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... =20 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=20 the download directory for your ware^H^H^Hfiles. =20 If you clean the directory up afterwards, you can use=20 the output of ls to call your image viewer. =20 It could look similar to: =20 #!/bin/sh dir=3D$HOME/tmp/downloads/warez cd $dir uudecode -c xv `ls $dir/*.jpg` =20 HTH, Cheers, Rocco It did. Though my uudecode doesn't support the -c flag. So my solution is: macro pager \cV decode-copy/tmp/nntp.tempenteryshell-escapeuudeview = -i -b -p /tmp/ -d /tmp/nntp.temp gqview /tmp/ rm /tmp/nntp.temp\n B= ilder ansehen (Inline) which makes a decoded copy /tmp/nntp.temp, calls uudeview (which decodes everything it can w/o asking into /tmp/), calls gqview (an image viewer) on /tmp/ so that I can see/save/whatever images in /tmp, and finally removes the decoded msg /tmp/nntp.temp Thank you very much -Andre --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9AaWGWkhBtALlJZ0RAtP/AKC5tJJ02Hoiao5xOsQGn26OIlyPfwCeJ/Em dLbc8xyr3KrshHOY2c5U7rw= =QTht -END PGP SIGNATURE- --xHFwDpU9dbj6ez1V--
Re: [mutt-nntp] inline images
Hi, * Andre Berger [02-06-08 08:45:05 +0200] wrote: It did. Though my uudecode doesn't support the -c flag. So my solution is: On my system (FreeBSD 4.5-p6) 'uudecode -c' extracts all parts instead of only the first. I usually don't pass a filename as an argument since a) there may be multiple files and b) why not use the name given. I don't have 'uudeview' but if it supports extracting everything to a specific folder using the original filenames, you can just save your news articles to a dedicated directory at once (tag the messages and save them). Vvv.nntp (the nntp patch I use) saves them to a mbox folder and I simply run 'uudecode -c /path/to/file' to extract everything at once. The advantage is that you don't waste server capacities (which doesn't matter if you've got a local one). Anyways, glad to help. Cheers, Rocco msg28750/pgp0.pgp Description: PGP signature
Re: [mutt-nntp] inline images
--C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Rocco Rutte [EMAIL PROTECTED], 2002-06-08 09:34 -0400: Hi, =20 * Andre Berger [02-06-08 08:45:05 +0200] wrote: =20 It did. Though my uudecode doesn't support the -c flag. So my solution is: =20 On my system (FreeBSD 4.5-p6) 'uudecode -c' extracts all parts instead of only the first. I usually don't pass a filename as an argument since a) there may be multiple files and b) why not use the name given. My uudecode is out of date, and I have trouble compiling a new one. As I plan to upgrade to Debian 3.0 in the near future, I didn't bother. andre@mir:~$ uudecode -v =20 uudecode - GNU sharutils 4.2.1 andre@mir:~$ uudecode --help Usage: uudecode [FILE]... Mandatory arguments to long options are mandatory to short options too. -h, --help display this help and exit -v, --versionoutput version information and exit -o, --output-file=3DFILE direct output to FILE I don't have 'uudeview' but if it supports extracting everything to a specific folder using the original filenames, you can just save your news articles to a dedicated directory at once (tag the messages and save them). It doesn't keep the original filename, and the images have their original names. Which is potentially problematic only if I want to keep the images of message A, don't put them in my ~/Images folder, and there are images with the same name in message B. Hmm. There is a flag in uudeview that force overwriting existing file, -o.=20 Vvv.nntp (the nntp patch I use) saves them to a mbox folder and I simply run 'uudecode -c /path/to/file' to extract everything at once. That seems to be possible here too, using tagging. Given it would be possible to pipe tagged messages into one file(?). The solution I have now is so far good enough for me, but I might try this out later. The advantage is that you don't waste server capacities (which doesn't matter if you've got a local one). =20 Anyways, glad to help. =20 Cheers, Rocco I appreciate it! A nice weekend to everyone! -Andre --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9AhAMWkhBtALlJZ0RArmVAKDrpv30Mr4Na0Te25yHAHYz7wLIDgCg3lKM biDvOaTnnHNdV4WjyCNizyU= =aDRI -END PGP SIGNATURE- --C7zPtVaVf+AK4Oqc--
Re: [mutt-nntp] inline images
Hi, * Andre Berger [02-06-08 16:45:04 +0200] wrote: * Rocco Rutte [EMAIL PROTECTED], 2002-06-08 09:34 -0400: My uudecode is out of date, and I have trouble compiling a new one. As I plan to upgrade to Debian 3.0 in the near future, I didn't bother. andre@mir:~$ uudecode -v uudecode - GNU sharutils 4.2.1 Well, it isn't difficult to guess that a Linux distribution ships with a GNU implementation while BSD doesn't. Vvv.nntp (the nntp patch I use) saves them to a mbox folder and I simply run 'uudecode -c /path/to/file' to extract everything at once. That seems to be possible here too, using tagging. Given it would be possible to pipe tagged messages into one file(?). Some problems with word ``pipe'' here. ``Pipe'' means nothing else than catching output of process A and passing it to B as input. So to say, the pipe function in mutt does cat(1) all tagged messages to a command. Of course, if your command (uudeview, uudecode, whatever) can handle multiple encoded files, you can tag-pipe all messages at once. A nice weekend to everyone! ...while it's raining outside all day. Cheers, Rocco
[mutt-nntp] inline images
--azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! 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-,*U5'=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... -Andre --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9AW4/WkhBtALlJZ0RAvc1AKCs8SUx8eIfRbF1PVADfRKSjHTL+wCdHABs qpzD7qH+texsQEerzV0vSCA= =onPD -END PGP SIGNATURE- --azLHFNyN32YCQGCU--
Re: [mutt-nntp] inline images
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-,*U5'=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 msg28746/pgp0.pgp Description: PGP signature