Subject: Add mime types.

From: Nemo <[email-masked]>
Date: Sun, 27 Feb 2000 15:39:08 -0800 (PST)

Hello.  I've read in man pages that I should add an additional mime types
in .mime.types, but there is no example of the format...  Can anyone give
me an example how to add a mime type?  Thanks.

Also, in man page it says that the default file is /etc/mime.types but
there is no such file...

--Nemo

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Seth Kurtzberg <[email-masked]>
Date: Sun, 27 Feb 2000 16:48:46 -0700 (MST)

Attached is a /etc/mime.types file.

Seth Kurtzberg
Machine Independent Software
Cell (602) 478-5511
Fax: (480) 614-8909
email:  [email-masked]
pager:  888-605-9296 or email [email-masked]

---

From: Nemo <[email-masked]>
Date: Sun, 27 Feb 2000 16:42:51 -0800 (PST)

For example this is the "AboutAttachment"

Details about Attachment #2 :

                Type            : Application
                Subtype         : OCTET-STREAM
                Encoding        : BASE64
                Parameters      : NAME = 23Feb.jpg
                Disposition     : ATTACHMENT; FILENAME = 23Feb.jpg
                Approx. Size    : 186,237 bytes
                Display Method  : Can't, Unknown Attachment Format

I've tried to add an 

Application/OCTET-STREAM	/usr/local/bin/xv

to the $HOME/.mime.types but that still doesn't work...
I need to change the "Display Method"

> Also, in man page it says that the default file is /etc/mime.types but

-- Nemo

---

From: Ed Arnold <[email-masked]>
Date: Mon, 28 Feb 2000 09:45:12 -0700 (MST)

If you use Seth Kurtzberg's .mime.types, that should solve your
problem.  BTW you should be aware that there is more than
one format for .mime.types and the newer format can cause problems
with pine.  (I'm running pine 4.10.)

Apparently netscape alters .mime.types to suit its fancy, putting
"key=value" items in the file.  I found that this format did not work
for .wav files, I had to go back to the positional-field form:

# for WAV files, the verbose form "type=..." didn't work
audio/x-wav     wav
#type=audio/x-wav       exts="wav"              desc="WAV audio"

The "application/octet-stream" is a generic type for binaries which
weren't recognized when sent.  It's probably not a good idea to
assign an action to that type.