From: pete@egh-qc.uucp (Pete Phillips)
Newsgroups: comp.sys.handhelds
Subject: Re: transfering files from Psion 3 to unix box
Date: 30 Sep 92 08:02:29 GMT
Organization: Surgical Materials Testing Lab (SMTL)

eric@chemeng.ed.ac.uk (Eric S Fraga) writes:

>I am thinking of getting myself a Psion 3.  If I do, I would like
>to be able to transfer files to and from a Unix box.  From what I
>have read, the serial cable and software for the 3 is meant for
>an MS-DOS machine, which is not exactly the most convenient
>machine to use (for me).

>Can one transfer (easily) between a Psion 3 and a unix box?  (a
>Sun ELC, in particular, but this shouldn't matter...)

Yes.  We back ours up on a Sun SLC.  You need:

	- A gender bender cable for the serial link to connect to the sun.
	- xmodem program version 3.10 (Jan 91) or later i guess.
	  (available in the uk from src.doc.ic.ac.uk via anon ftp, in file 
	      
	      packages/unix-c/xyzmodem/xmodem310.tar-z
	      
	      
Log in to the Sun from the comms program (which comes with the serial link).

At the shell, use the following:

To SEND files to the psion:

	xmodem -stY <file1> <file2> <file3> ...... <filen>
	
( -st = send text file,  Y=use Y-modem protocol).

in fact I find that i need to use something like 

	sleep 10 ; xmodem -stY <file1> <file2> <file3> ...... <file-n>

to give me time to set the psion-3 up.

Now use the menu on the psion to go to the transfer menu, and set the
protocol to Ymodem (1k).  Now select the Receive item from the
transfer menu and you should see a transfer start.  

To download files from the psion to your Sun, use:

	xmodem -rt (for text) or xmodem -rb (for binary files).
	
and use the TRANSMIT option on the psion transfer menu.
The xmodem program will detect what protocol you are using.

To backup my psion, I use the following script which backs up each of
my directories (the script is a comms-link script):

-------------------------------
! send \wrd files
Setup (
Baud=9600
Data=7
Stop=1
Parity=Even
Handshake=None
Fail=None
Timeout=0
Echo=Off
Newline="<$0A>"
Backspace="<$08>"
)
info " changing directories"
send "cd ; cd psion3 "
info "sending files"
wait 4
send "xmodem -rt"
transmit "a:\wrd\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\agn\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\dat\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\odb\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\opd\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\opl\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\opo\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\sco\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\scr\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\spr\*.*","ym1k"
wait 2
send "xmodem -rb"
transmit "a:\wld\*.*","ym1k"

wait 4

exit
----------------------------------------

Hope this helps,
Pete
-- 
Pete Phillips, Surgical Materials Testing Lab, Bridgend, S. Wales.
UUCP   :  uknet!egh-qc!pete            DOMAIN :  pete@egh-qc.co.uk
-----------------------------------------------------------------
"SCIENCE: A way of finding things out and then making them work.  
Science explains what is happening around us the whole time.
So does RELIGION, but science is better because it comes up with 
more understand able excuses when its wrong. There is a lot more 
science than you think."
Newsgroups: comp.sys.handhelds