Subject: Viewing attachments with Pine

From: Jason Castonguay <[email-masked]>
Date: Thu, 12 Mar 1998 15:08:35 -0500 (EST)

Hi there everyone.  I have the following question/problem.

I want to get pine to view HTML attachments.  I have Pine version 3.96
installed on my Linux machine.  As far as I know, this would be done
through the mailcap file.  I created an entry:

text/html; lynx -force_html %s

which should launch my HTML browser, Lynx, to view the HTML attachment.
However, when I go to view the attachment, Pine says that it is decoding
the attachment, but the screen doesn't change, except for the bottom line
where it writes messages.  It says something like, "View program
launched."  I can then just push "e" to exit the attachment menu as if
nothing happened and continue on with my business.  When I exit Pine, I
ran the "ps" command, only because my machine seemed to be running slow
(because I had tried to view the attachment so many times).  I figured
out, by running the ps command, that it had indeed executed lynx, but it
somehow executed it like this:

sh -c lynx -force_html /tmp/filename

I tried executing this on the command line myself, and it ran fine, but
Pine seems to put it in the background somehow.

I think my mailcap entry is correct, though, because when trying to view
HTML attachments with "less cool" e-mail programs, it worked.

I'd appreciate any help anyone could offer.  Thanks a whole bunch.

Regards,

Jason

---

From: Pere Camps <[email-masked]>
Date: Thu, 12 Mar 1998 21:23:43 +0100 (CET)

Jason,

> text/html; lynx -force_html %s

	Try this, it worked for me.

text/html ; lynx %s -force_html ; needsterminal

Salutacions, Pere       ----  __o         mailto:[email-masked]
  2:343/108.91       -----  _`\<;_       http://casal.upc.es/~pere/
PGP key available     ---  (_)/ (_)    "Lo importante es el concepto"