Roman Neuhauser muttered:
> I started playing with auto_view, but stumbled upon a problem:
> 
> roman@roman ~ > grep tar-gz ~/.mailcap
> application/x-tar-gz; tar tzf -;copiousoutput

[-- Attachment #2: test.tar.gz --]
[-- Type: application/x-tar-gz, Encoding: base64, Size: 325K --]

[-- Autoview using tar tzf - --]
ipachart.gif
metacomp

> application/x-tar-gz; gunzip -c %s|tar tf -;copiousoutput

that should work, too:

[-- Attachment #2: test.tar.gz --]
[-- Type: application/x-tar-gz, Encoding: base64, Size: 325K --]

[-- Autoview using gunzip -c '/home/t/tmp/test.tar.gz'|tar tf - --]
ipachart.gif
metacomp

Both tested under Linux 2.4.3 with gzip-1.2.4a and tar-1.13.19.
Sorry don't know where else to look.

Michael
-- 

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key

Reply via email to