> Date: Thu, 20 Dec 2001 17:14:51 +0100
> From: Martin Karlsson <[EMAIL PROTECTED]>
> To: mutt-users <[EMAIL PROTECTED]>
> Subject: Re: auto_view problem
> 
> You could try:
> 
> application/x-tar-gz  tar -ztf %s;    copoiousoutput
>                                  ^^|
>                                   \____ add this!
> 
> This works for me.

    I have tried all possible invocations of tar/gzip I could think of:

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

    None of them work. I ran mutt under strace, and couldn't find any
    notion of it reading _any_ mailcap file. This seems to be because it
    spawns some children -- it positively _does_ read my ~/.mailcap,
    since this entry works as expected (wrapped):

    image/*; anytopnm %s|pnmscale -xs 70
    |ppmtopgm|pgmtopbm|pbmtoascii;copiousoutput


Mutt 1.3.23i (2001-10-09)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: FreeBSD 4.4-STABLE [using ncurses 5.1]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
-USE_FCNTL  +USE_FLOCK
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  -HAVE_WC_FUNCS  -HAVE_LANGINFO_CODESET
-HAVE_LANGINFO_YESEXPR  +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID
-HAVE_GETADDRINFO  
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[EMAIL PROTECTED]>.
To report a bug, please use the flea(1) utility.

-- 
FreeBSD 4.4-STABLE
6:21PM up 4 days, 5:16, 17 users, load averages: 0.05, 0.03, 0.00

Reply via email to