Subject: Re: VIEW IT NOW!!!!

From: [email-masked] (Orjan Johansen)
Date: 22 Feb 1997 20:15:39 GMT

In article <Pine.GSO.3.95.970221002941.29424E-100000@nassau>,
BRIAN C SIMPSON  <[email-masked]> wrote:
>A friend of mine recently sent me an email message with an attachment on
>it.  Pine wouldn't let me view it, stating that it 
>
>"Doesn't know how to read Application/OCTET-STREAM attachments."

That is the attachment type used when the sending mail program doesn't 
know what type the file is. And of course, that makes pine at the 
receiving end unable to know, as well.

In other words, it could be almost anything. The best bet is to look 
at the filename it suggests when saving, and run the appropriate 
program "by hand" on the saved file.

You may want to start with 'less filename' in case the format is 
something resembling ordinary text.

A couple of common file types:

 .gif, .jpeg - use an image viewer, e.g. xv.
 .doc - Microsoft Word documents, you need to get it to a PC.

Greetings,
Ørjan.

---

From: phillip liggins <[email-masked]>
Date: Thu, 27 Feb 1997 20:48:34 -0600

Orjan
               Can you tell me how to view images on pine?  Please
pass on step by step instructions simple enough for a 6yr old to follow if
you can.
I have a program called JPEG view on my hard drive, but I don't know how
to get the images out of pine and on to my hard drive.  Help!?!*
                                Thanks

                                Phil>

---

From: Mike Brudenell <[email-masked]>
Date: Fri, 28 Feb 1997 15:48:38 +0000 (GMT)

[Sigh.  Mike goes to the cupboard and gets out his mind-reading
equipment.]

The first thing is to try and guess whether you are using the "main"
version of Pine on a UNIX system, or PC-Pine on an IBM PCompatible...

As you mention the program called "JPEGview" and I *happen* to know that
there is an image-viewing program of this name for the Apple Macintosh
I'll _assume_ you've got a Mac.  As this isn't a PCompatible you can't be
running PC-Pine.  Therefore you must be using a terminal emulator program
(probablt NCSA Telnet?) to connect and login to a UNIX computer, and using
Pine there.

Am I right so far?  If so...

You *probably* received the image as an "attachment" to a message you have
received.  Pine will say this if you did.  In which case read the message
(to get it on the screen).  Now use Pine's "V" command to see a list of
the attachments to the message.  Now select the image attachment using the
Arrow Keys and use the "S" command to save its contents to a file on disk.

NB.  This is your *UNIX* disk space; not the hard disk attached to your
Mac.  This is important for later.

Pine will ask you for a filename to store the attachment under.  It will
almost certainly suggest a name, which you can use if it doesn't clash
with one you already have.

OK...  you've now got the image stored on your UNIX disk space.

However the JPEGview is a program on the Macintosh.  It can only show you
images files stored on the Mac's own hard disk; the Mac doesn't know
anything about UNIS disk space, and so you can't yet use JPEGview to look
at the file (the Mac/JPEGview can't see it).

So your next step is to transfer a copy of the file from the UNIX disk
space down to your Mac's hard disk.  How you do this depends on the
software you have on your Mac, and the software available on your UNIX
system.

Mostly people use "ftp" to transfer files.  To use this you will need an
ftp "client" program on your Mac -- eg, "Fetch" or "Anarchie" -- and an
ftp "server" system set up (by your Systems Administrators) on your UNIX
system.  You will need to use Fetch/Anarchie to connect to your UNIXC
computer and pull across a copy of the image file.  *Make sure you
transfer this as a "binary" file.*  (If you transfer it as a "text" file
it will be garbled and unusable.)

If you can't use ftp then there may be some other file transfer program
you have to use -- eg, Kermit or XModem.

If you don't know how to operate any of these you should try reading their
documentation in the first instance.  Failing that ask for help locally at
your Help Desk.  If all else fails try a Macintosh newsgroup such as
comp.sys.mac.comm.

Once a copy of the file has been transferred down onto your Mac's hard
disk you can now use JPEGview to open it and look at it.

I hope it's worth it! ;-)

-- 
Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: [email-masked] (Justin M. Streiner)
Date: 28 Feb 97 09:59:56 EST

>to get the images out of pine and on to my hard drive.  Help!?!*

How you extract the images depends on how the image was sent to you
(uuencoded or as a MIME attachment).  How can you tell the difference?
Easy.  Read the email which contains the image you want to view.  If there
is something in the Attachments line of the message header, something 
1) image/jpeg "image.jpg" (234K)

Then the image is in a MIME attachment.  To extract it, type V for View
Attachments, select the attachment (it will be highlighted) and type S to
save it to disk.  This will save it to your account.  Now you have to
download it from your account to your computer.  How you do this depends
on how you're connecting to your account.  Refer to your sysadmin for more
help - that's a little too broad to cover here.

If the image isn't in a MIME attachment, it's most likely uuencoded.  You
can tell for sure by looking at the message and somewhere near the
beginning of the message you see a line like
begin 640 filename.jpg
It's uuencoded.  The filename and permission numbers will probably be
different.  Type E to export the message to a file in your account.  Just
give it some garbage name as you'll be deleting it soon anyway.  If the
image is all in one part (not spread across several messages) you can just
type 'uudecode garbage_file'.  filename.jpg will then appear in your
account.  Download it the same way you would the image you pulled from a
MIME attachment.

jms

-- 
-- justin m streiner --------------------------------------------------------
Systems Administrator                      WINDOWS '95 BUG REPORT FORM 
IUP Math / Computer Science            Please describe the bug in detail in
email: [email-masked]               the space below.  Write legibly.
web: http://www.co.iup.edu/~streiner                   ____
                                                      [____]
"...for when your packets absolutely, positively have to NOT get there on
time..."  -- JMS commenting on net traffic thru BA's Pittsburgh SMDS cloud