Subject: How do I move mail from Pine to my hard drive?

From: [email-masked] (Mark)
Date: Sat, 24 Aug 1996 07:56:23 GMT

I have a multi-attachment message stuck in my Pine inbox on my
BBS and have been unable to export it to my hard drive.  The export
command says a copy of the message was created in some file (call it
"temp")--but I can't find this file.  Obviously, I don't know what the
heck I'm doing--but the instructions (?) for carrying out the export
are terse at best.  

     This must be a simple task, which is why I am all the more
frustrated.  Any tips?  Thanks!

--Mark

---

From: [email-masked] (Holger Lillqvist)
Date: 28 Aug 1996 09:10:07 GMT

Mark:
: 
:      I have a multi-attachment message stuck in my Pine inbox on my
: BBS and have been unable to export it to my hard drive.  The export
: command says a copy of the message was created in some file (call it
: "temp")--but I can't find this file.  Obviously, I don't know what the
: heck I'm doing--but the instructions (?) for carrying out the export
: are terse at best.  
: 

With pine's export command you export messages from your mail folder to
separate files in your home directory in the unix machine.  You can't
export to your hard disk directly from pine.  To do this, check the
terminal program you use, or consult local FAQs by your system admin
about carrying out file transfers. 

--
hl

---

From: Paul O Bartlett <[email-masked]>
Date: Wed, 28 Aug 1996 08:57:38 -0400

On 28 Aug 1996, Holger Lillqvist wrote:

> : [...]
> export to your hard disk directly from pine.  [...]

    On the contrary, depending on your setup, you may be able to send a
file directly from Pine to your PC hard disk.  I do it all the time.  I
run Pine under a flavor of Un*x, dialed in from a DOS PC.  zmodem is
available both on the Un*x host and on my PC communications software
(ProComm Plus v2/DOS).

    I have a shell script on the Un*x host called sendz.  Whenever I am
viewing a message or text-type attachment, I invoke the pipe facility
of Pine (|), which must be enabled in the config, and just answer the
prompt with 'sendz'.  On my setup, the message or attachment is auto-
matically downloaded to a ramdisk on my PC, where I can do with it
whatever I want.

    Note that the downloaded wile will have the DOS filename of
'DOWNLOAD.nnn' where nnn is the first three digits of the Un*x process
number (I think).  If you are downloading multiple messages or files in
short order, you may need to shell out and rename the file after each
download.  Also, you may want to change the temporary directory used
for the intermediate file.

#!/bin/sh
umask 066
trap "rm -f $HOME/tmp/$$download" 0
cat > $HOME/tmp/download.$$$
sz -a $HOME/tmp/download.$$$
rm -f $HOME/tmp/download.$$$
umask 077

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:  URL: http://www.access.digex.net/~pobart