[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'mutt' und Attachments (*.gz und *.tar.gz)



Am 2004-05-25 13:34:30, schrieb Sascha Huedepohl:
>Hallom

>> Für .gz und .bz2 soll er den Inhalt anzeigen (wenn es text ist) und 
>> bei .tar.gz sowie .tar.bz2 das Dateilisting.
>> 
>> Nun habe ich einen mime-type "application/octet-stream" mit den Datei-
>
>application/octet-stream ist nicht der richtige mime-type.

'mutt' erkennt aber die Dateien als "application/octet-stream" 
also muß ich die Dateien über diesen mime-type bekommen. 

>> erweiterungen tgz, tpz, gz, bz und bz2 gemact, und meinen Wraper in
>> die "mailcap" eingetragen...
>
>und wie sieht dieser Eintrag wohl aus? Das währe ja schon recht
>interessant gewesen.

  ______ ( /etc/mime.types ) ___________________________________________
 /
|  #  Note: Compression schemes like "gzip", "bzip", and "compress" are not
|  #  actually "mime-types".  They are "encodings" and hence must _not_ have
|  #  entries in this file to map their extensions.  The "mime-type" of an
|  #  encoded file refers to the type of data that has been encoded, not the
|  #  type of the encoding.
|  
|  
|  application/octet-stream			bin gz bz bz2
|  application/zip				zip
|  application/x-cpio				cpio
|  application/x-debian-package			deb
|  application/x-gtar				gtar tgz taz
|  application/x-lha				lha
|  application/x-redhat-package-manager		rpm
|  application/x-tar				tar
 \______________________________________________________________________
 
>> Also wenn ich ihn mit 'wraper <dateiname>' aufrufe, wird exakt das 
>> angezeigt, was ich will, nur will ich die Ausgabe in 'mutt' haben.
>
>> Ich will nen In-Liner haben.
>
>vieleicht fehlt dir ein 'copiousoutput'

Wie geht das ?

>HTH & HAND
>sascha

Greetings
Michelle

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

Attachment: signature.pgp
Description: Digital signature


Reply to: