Subject: pdf attachments

From: Ed DeRivas <[email-masked]>
Date: Sat, 17 May 1997 10:56:07 -0700 (PDT)

I use an xterm to access my unix box. I open an xterm window to use pine.
Please let me know how I can configure pine to access acroread to read pdf
attachments.

---

From: Robin S Socha <[email-masked]>
Date: Sat, 17 May 1997 21:40:57 +0200 (CEST)

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

On Sat, 17 May 1997, Ed DeRivas wrote:

  >Please let me know how I can configure pine to access acroread to read
  >pdf attachments.

Ok, this has nothing to with pine as such. You need a package called
metamail.

       The  metamail  program reads a "mailcap" file to determine how to
       display non-text at the local site. Every mail- reading interface
       needs to call metamail whenever non-text mail is being viewed, unless
       the mail is of a type that is already understood by the mail-reading
       program. Metamail consults the mailcap file(s) to determine what
       program to use to show the message to the user.
       
Try saying "which metamail" to check if you have it. If so, gain root
permissions and edit /etc/mailcap. I haven't checked this, but something
like the following should do the trick:

	application/pdf ; xpdf %s; ;  test=test -n "$DISPLAY"

HTH,
Robin

- -- 
Robin S. Socha, M.A., Political Science Dept., Bonn University, Bonn
To get my pgp public key, send an e-mail with the subject "get pgp key"
GMC d++ s+:+ a- C++ UL++$>+++$ P+>++$ E>+ W- N+ o@ w--- M-- PS--- PE+++ Y+
PGP++>+++ t+() 5-- tv++(+) b+++ DI++ D+(++) G++>+++ e++>+++ h r++>+++ y+**

---

From: Edward M Greshko <[email-masked]>
Date: Tue, 20 May 1997 07:48:21 +0800 (GMT)

> 	application/pdf ; xpdf %s; ;  test=test -n "$DISPLAY"

	Actually, it has *everything* to do with pine.  

	The original poster should read the "release notes" of pine.  It
tells all about the use of the mailcap file with regards to pine.  It will
discss things like:

        OPTION: mailcap-search-path

This variable is used to replace Pine's default mailcap file search path. 
It takes one or more file names (full paths must be specified) in which to
look for mail capability data.  The default search path can be found in
the release notes ("R" command off the main menu). 

        ~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap

	Which will help you to define when to put the line in that you did
describe.

	So, at least in this case, no need to have metamail.

	Regards,

		Ed

---

From: Robin S Socha <[email-masked]>
Date: Tue, 20 May 1997 02:37:41 +0200 (CEST)

On Tue, 20 May 1997, Edward M Greshko wrote:
  >On Sat, 17 May 1997, Robin S Socha wrongly claimed:

[...]
  >	Actually, it has *everything* to do with pine.
[...]
  >	So, at least in this case, no need to have metamail.

Oooops! :-/

Later,
Robin

--