From: Miquel van Smoorenburg (miquels@bongo.htsa.aha.nl)
Date: 03/13/92


From: miquels@bongo.htsa.aha.nl (Miquel van Smoorenburg)
Subject: Re: rz & sz in linux
Date: 14 Mar 1992 05:31:22 GMT

In article <dugan.700341261@spider.wri.com> dugan@spider.wri.com (Jon Dugan) writes:
>I picked up the sz & rz sources from somewhere, and compiled them
>without a hitch, but I am unable to figure out how to allow them to
>work.
>I tried:
>rz >/dev/tty64
>but that simply generated timeout errors... has anyone used rz
>with linux yet? It should be a LOT better than kermit..
>
>I am still working on getting slip to work, the terminal server
>that supoorts it requires a slip passwd which I need to get still..
>
>Thanks to anyone who responds in advance.
>

Hmm, a lot of people have asked exactly the same in other newsgroups.
The problem is that new versions of rz/sz use /dev/tty as the device
for sending/recieving files. This is fine if you call the Unix/Linux
machine from remote, because then on the remote machine /dev/tty IS your
terminal, but locally, /dev/com<whatever> != /dev/tty.

The solution is either to use an old version of rz/sz (pre-88, PD too)
or find in the source the "Tty = open("/dev/tty", 2)" and change this
to "Tty = 1" or something suitable.

Hope this solves your problem, Mike.