Subject: Configuring pine to view MIME attachments

From: Dan Peterson <[email-masked]>
Date: Mon, 10 Jul 1995 10:40:10 -0700 (PDT)

How can I configure pine to view a MIME attachment with the following 
headers:

  MIME-Version: 1.0
  Content-Type: multipart/mixed; boundary=XXCGW-1064791400XX
  Content-Transfer-Encoding: binary
  ...
  Content-Type: application/octet-stream; name="HEXEDIT.TXT"
  Content-Transfer-Encoding: base64
  Content-Disposition: attachment; filename="HEXEDIT.TXT"
 
When I try to view the attached file, I get the following message:

  Don't know how to display attachment format Application/OCTET-STREAM

I assume I need to configure my .mailcap file, but I'm not sure what 
should be added.  I also assume I'll need a "base64" decoding program, 
where can I find one for UNIX?

--
----------------------------------------------------------------------
 Dan Peterson                             Internet: [email-masked]
 Senior UNIX Engineer                     Phone:    (206) 447-0300
 CompuServe Internet Division             FAX:      (206) 447-9004
----------------------------------------------------------------------

---

From: David L Miller <[email-masked]>
Date: Mon, 10 Jul 1995 11:08:15 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----

> where can I find one for UNIX?

Pine takes care of the BASE64 decoding.  The problem is that whatever
program encoded the attachment apparently couldn't figure out what type of
file it was, so it used the catch-all of Application/OCTET-STREAM.  This
means you will need to save it to a file and view it from outside of Pine.
I suppose you could make a .mailcap entry to do something with
Application/OCTET-STREAM, but be careful that whatever you invoke can deal
with binary data...

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA