Re: Displaying tar.gz archives

2009-07-22 Thread Noah Slater
On Thu, Jul 23, 2009 at 12:11:08AM +0200, Rocco Rutte wrote: > Did you actually look up what "mime_lookup" means? If you would > have done, you wouldn't have to worry. mime_lookup and mailcap do > exactly the same as the octet filter script. Nope! My bad! > I just find the script more convenient

Re: Displaying tar.gz archives

2009-07-22 Thread Rocco Rutte
On Wed, Jul 22, 2009 at 05:35:02PM +0100, Noah Slater wrote: > On Wed, Jul 22, 2009 at 06:29:57PM +0200, Rado S wrote: > > There is also "mime_lookup application/octet-stream", and then the > > respective mailcap entry like "gzip -dc | tar -tvf -" > > Well, I had considered this, but application/o

Re: Displaying tar.gz archives

2009-07-22 Thread Noah Slater
On Wed, Jul 22, 2009 at 11:26:09AM +0200, Rocco Rutte wrote: > Just search the net for mutt.octet.filter. It's a shell script that has > useful commands for displaying many MIME types, including listing the > contents of a number of archive files. Thanks, this works a treat. -- Noah Slater, http

Re: Displaying tar.gz archives

2009-07-22 Thread Noah Slater
On Wed, Jul 22, 2009 at 06:29:57PM +0200, Rado S wrote: > There is also "mime_lookup application/octet-stream", and then the > respective mailcap entry like "gzip -dc | tar -tvf -" Well, I had considered this, but application/octet-stream is a catch-all MIME type, and I can't blithely assume that

Re: Displaying tar.gz archives

2009-07-22 Thread Rado S
=- Rocco Rutte wrote on Wed 22.Jul'09 at 11:26:09 +0200 -= > * Noah Slater wrote: > > I would like to add a mailcap entry so that I view the contents of tar.gz > > archives as a list of filenames, but I'm, not sure how to do it. When I > > attach > > one, it is added with the application/octet-st

Re: Displaying tar.gz archives

2009-07-22 Thread Rocco Rutte
Hi, * Noah Slater wrote: > I would like to add a mailcap entry so that I view the contents of tar.gz > archives as a list of filenames, but I'm, not sure how to do it. When I attach > one, it is added with the application/octet-streem MIME type. Just search the net for mutt.octet.filter. It's a

Re: Displaying tar.gz archives

2009-07-22 Thread Nicolas Sebrecht
On Wed, Jul 22, 2009 at 08:00:47AM +0100, Noah Slater wrote: > I would like to add a mailcap entry so that I view the contents of tar.gz > archives as a list of filenames, but I'm, not sure how to do it. When I attach > one, it is added with the application/octet-streem MIME type. > > Any thought

Displaying tar.gz archives

2009-07-22 Thread Noah Slater
Hey, I would like to add a mailcap entry so that I view the contents of tar.gz archives as a list of filenames, but I'm, not sure how to do it. When I attach one, it is added with the application/octet-streem MIME type. Any thoughts on how to approach this? Thaks, -- Noah Slater, http://tumbol