lotus

previous page: 8.13: How do I use copycat?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 8.15: Why do I get errors when trying to access the (modem/serial) port?

8.14: How do I use rz/sz?




Description

This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.

8.14: How do I use rz/sz?

    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:













TOP
previous page: 8.13: How do I use copycat?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 8.15: Why do I get errors when trying to access the (modem/serial) port?