Am 2007-08-22 13:51:37, schrieb Anders Boström:
> The mail I sent was using this:
> 
> Content-Type: Text/Plain; charset=us-ascii
> Content-Transfer-Encoding: x-gzip64
> Content-Disposition: inline; filename="EvwmEvent.strace"

And mutt show me:

[-- Anhang #2: EvwmEvent.strace --]
[-- Typ: text/Plain, Kodierung: x-unknown, GrÃöÃe: 2,0K --]

H4sIAAAAAAAAA8yZbW+iShTH32+y32HiK92wOk88vfAmpsW9Zls1au9tszYGcGy9q2AAW3
<snip>

> If I just click on "EvwmEvent.strace" in the bug report, and
> download the file, it just works, it is a normal text-file. I'm using
> firefox/iceweasel 2.0.0.6 . The Debian bug report system seems to mark
> the file as "application/octet-stream, inline", but it is a
> text-file. What you see is probably the x-gzip64-encoded version of
> the text-file. How did you avoid to decode the file according to the
> Content-Transfer-Encoding?

I am using mutt (versions from Sarge to Sid) und it was definitivly
not able to decode it.

Now I had to save it as it is, then 

base64-decode <EvwmEvent.strace |gunzip

Normaly I can install a mailcap but then, they should be something like
 
    Content-Type: text/x-gzip64; charset=us-ascii

to let programs know, it is a TEXT file which is gzip'ed and base64
encoded and then using the ~/.mailcap entry

    text/x-gzip64; base64-decode <%s |gunzip; copiousoutput

produce this in mutt:

[-- Anhang #2: EvwmEvent.strace --]
[-- Typ: text/x-gzip64, Kodierung: x-unknown, GröÃe: 2,0K --]

[-- Automatische Anzeige mittels base64-decode 
<'/tmp/michelle.konzack.X3tclD/EvwmEvent.kRHgEv.strace' |gunzip --]
close(9)                                = 0^M
close(10)                               = 0^M
execve("/usr/lib/fvwm/2.5.21/FvwmEvent", ["/usr/lib/fvwm/2.5.21/FvwmEvent", 
"13", "4", "none", "0", "8"], [/* 38vars */]) = 0^M
<snip>


I think, this is not the way, the BTS should work...
"text/plain" files must be readable from within a text-MUA like mutt.

I will ask on the mutt list how to handle "Content-Transfer-Encoding:"
like "x-gzip64".

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Reply via email to