Subject: Re: view attachments

From: Paul O Bartlett <[email-masked]>
Date: Tue, 18 Mar 1997 10:28:45 -0500

On 18 Mar 1997, Weis - Ellen wrote:

> I was sent an attachment and I saved it on my unix account.  How do I view
> it?  Was there a way to view it in pine?

    Sorry, but your questions are almost unanswerable due to lack of
data.  There are many, many, many different kinds of attachments, which
may require many, many different kinds of viewers.  You did not tell us
what kind of attachment you are talking about, so it is unlikely that
anyone will be able to answer your first question in any blanket way.

    As for the second, the answer is, maybe, depending.  You posted
using TIN, so I am _guessing_ that you are talking about Pine running
on a Un*x system.  For some kinds of attachments, if you have a program
to read/view them, you can put an entry in the .mailcap file so Pine
will know what program to call so that you can see them.  There are as
many answers as there are kinds of attachments.  Also, in any case,
whatever the attachment is, your terminal (or desktop computer used as
a terminal) has to be physically capable of displaying the type of
attachment.  For example, if the attachment is a graphic file and you
are using a VT100 terminal or VT100 emulation, you cannot readily view
it.  It all depends.......

Paul                             <[email-masked]>
----------------------------------------------------------
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key
Home Page:  http://www.access.digex.net/~pobart

---

From: [email-masked] (Weis - Ellen)
Date: 18 Mar 1997 02:14:46 GMT

Hello all,
Thank you

---

From: Robin S Socha <[email-masked]>
Date: Tue, 18 Mar 1997 22:22:58 +0100 (CET)

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

On 18 Mar 1997, Weis - Ellen wrote:

  >I was sent an attachment and I saved it on my unix account.  How do I
  >view it? Was there a way to view it in pine?

That depends... If metamail is installed on your system, you can specify
certain applications to be launched by pine with the view command. Here's an
example: For text/html attachments, you can set up lynx (a text-browser)
like this in your mailcap:

	test=test -z "$DISPLAY" -a -z "$LYNX_VERSION";
	text/html; lynx  -force_html %s; needsterminal;

This will launch lynx inside pine when you V(iew) that attachment.

So, check which applications you have that can display attachments and set
up your mailcap accordingly.

Cheers,
Robin

- -----
Robin S. Socha,
Political Science Dept., Bonn University, Bonn

GMC d++ s+:+ a- C++ UL++$>+++ P+>++$ L++$>+++ E>+ W- N+ o@ !K-- w--- 
O M-- V-- PS--- PE+++ Y+ PGP++>+++ t+() 5-- !X R() tv++(+) b+++ DI++ 
D+(++) G++>+++ e++>+++ h r++>+++ y+**