*BSD News Article 19890


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!boyd
From: boyd@austin.ibm.com (Boyd R. Faulkner)
Subject: Re: how to use zmodem
Originator: boyd@pal411.austin.ibm.com
Message-ID: <CC82B5.33Ix@austin.ibm.com>
Sender: boyd@austin.ibm.com ()
Date: Mon, 23 Aug 1993 17:09:05 GMT
Reply-To: boyd@catburg.uucp
References:  <RAM.93Aug21124038@xor.epi.wisc.edu>
Organization: IBM Austin
Lines: 48


In article <RAM.93Aug21124038@xor.epi.wisc.edu>, ram@xor.epi.wisc.edu (Ram Bhamidipaty) writes:
 
> So could some kind soul clue me in. A complete script of what you would
> be great. I mostly use kermit to call from my 386bsd system to my sun at
> work.
> 
> I suppose there must be a way to start zmodem on the remote end 
> drop out of kermit and still keep the line up and then start
> zmodem on the local end...anyway I really don't know what to try.
> 
> Thanks for any info.
> -Ram
> 
> --
> --------------
> Ram Bhamidipaty                     use this ->ram@epidat.epi.wisc.edu
> Department of Preventive Medicine   or this->ram%epidat.decnet@macc.wisc.edu
> University of Wisconsin, Madison    Ignore the header. It might be wrong.

Hey, I had to ask.  The principle is to get the sz and rz programs to talk via
the serial ports unimpeded by kermit.  Essentially, your analysis is correct.
say you are logged into a remote site via kermit and wish to download a file.
I also assume you have the console driver with more one ttyvx.  Try this.
In the second session on your local box, type without hitting return (for
timings sake).  This also assumes you are using the sio drivers.  Not 
required but vastly superior.

rz </dev/cua00 >/dev/cua00

On your kermit session, remote box, type

sz <whatever you want to send>

then hit enter, then 

<ctl \> c

to back out of the session.  You needn't exit kermit completely.
switch back to the second session and hit enter on the rz line.
The transfer should commence.

rz line is redirecting rz to use the serial line on both input and output.
sz is already doing so by virtue of kermit.  If you forget to back out
of the kermit terminal session, you can get read timeouts all day.

Good Luck,
Boyd