![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
|
|
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.
A#8.14: rz/sz are usually used in conjunction with copycat. The important
part to remember is that while copycat is used to control the
remote end of the file transfer, it must not be running during
the transfer.
The following example assumes you are sending a file from the
remote machine to the IIgs. Steps taken to go the other direction
will be similar.
The first step is to initialize your modem port and start copycat
as explained in Q#8.13. In this example, "unix% " is used as the
prompt on the remote machine, and "gno% " as the prompt on the
IIgs. Extraneous blank lines have been deleted.
gno% stty 38400 < .ttya
gno% copycat .ttya
Break character is '^\'
unix%
Next, start the file transfer on the UNIX end. There are problems
with some versions of UNIX sz if the "-l1024" flag is not given
(others don't recognize this flag). See the rz/sz README.GNO
file and the UNIX sz man page for details. Remember to use the
"-a" flag if you want a text file transfer:
unix% sz -a testfile.bsq
**B00000000000 14
Now type the copycat break character, CONTROL-\, quit from copycat,
and start rz on the GNO side:
copycat> quit
gno% rz < .ttya > .ttya &
When the file transfer is finished, don't forget to log off the
remote machine. To get there, you have to restart copycat:
gno% copycat .ttya
Break character is '^\'
unix% logout
^\
copycat> quit
gno%
 
Continue to:
pc, hardware, Apple II, Apple ][ or Apple //, apple, gno, unix
![]() |
|
|