*BSD News Article 27369


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!xlink.net!boss.pem-stuttgart.de!delos.stgt.sub.org!luva!migieger
From: migieger@luva.stgt.sub.org (Michael Giegerich)
Subject: Re: how do you use rz/sz with *BSD?
Keywords: zmodem rz sz
References: <2jg5muINNdde@eccdb1.pms.ford.com>
Organization: private FreeBSD site
Date: Sat, 12 Feb 1994 23:34:08 GMT
Message-ID: <CL4xHA.1Lr@luva.stgt.sub.org>
Lines: 45

In article <2jg5muINNdde@eccdb1.pms.ford.com>,
0000-Admin(0000) <pdokas@pms988> wrote:
[...]
>Here's where the problem begin;  I can't figure out how to get a remote
>sz to talk to a local rz.  Running sz on the remote machine is not a
>problem, just type 'sz file' at the remote prompt.  Running rz locally
>however is a problem.  Using kermit, I can drop to the kermit prompt and
>type '!rz', but I get a 'can't open /dev/tty' as kermit is holding it.
>Strike one.

include the following lines into your .kermrc
---------- snip ---------- snip ---------- snip ---------- snip ----------
define sz !sz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
define rz !rz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
---------- snip ---------- snip ---------- snip ---------- snip ----------
to call rz (sz) from within your local kermit

or

start sz at remote kermit. Get back to your local kermit. Suspend it.
Do `rz < /dev/whatever-line-kermit-uses > /dev/whatever-line-kermit-uses'
(for me it's /dev/cua00).

[...]
>So, I finally RTFM'd as a last resort.  And 'man rz' explictly states
>that it's not meant to be run from tip or cu and I assume kermit.  It's
>meant to be run with a 'real' program like Zterm on the Mac or Crosstalk
>on Windows...  Strike three.

This is true for newer versions of rzsz (including version 3.24 as
supplied w/ FreeBSD as package/kermit). The author removed the
necessary code.
Solution: use an older version of rzsz. rzsz-3.03 works.

>
>So, is anyone actually able to make zmodem connections work?
>Perhaps zterm exists for *BSD.  I'll have to search with archie.

Yes. Works great! See above...

-Michael
-- 
------------------------------+------------------------------
Michael Giegerich             | migieger@luva.stgt.sub.org
------------------------------+------------------------------