Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!fluke!dcd From: dcd@tc.fluke.COM (David Dyck) Newsgroups: comp.os.minix Subject: Re: Problems with Zmodem Message-ID: <14806@fluke.COM> Date: 10 Feb 90 01:33:58 GMT References: <12767@cbnewse.ATT.COM> Sender: news@tc.fluke.COM Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 47 In article <12767@cbnewse.ATT.COM> fredriks@cbnewse.ATT.COM (lars.fredriksen,ih,) writes: >Hi! > Has anyone managed to send files with zmodem? I compiled zmodem > (rz and sz) on the UNIX machine at work, and it works fine with > Procom Plus, however when I try to use it with MINIX it times out. Here are the shell scripts getz and putz that I have been using reliably to perform get and put zmodem functions. I only use them to get/put 1 file at a time, but feel free to modify them as you see fit. # This is a shell archive. Remove anything before this line, # then unpack it by saving it in a file and typing "sh file". # # Wrapped by on Fri Feb 9 17:29:11 PST 1990 # Contents: getz putz echo x - getz sed 's/^@//' > "getz" <<'@//E*O*F getz//' ( stty -echo 19200 sleep 1 echo " rz " sz -c "sz $*" ) < /dev/tty2 >/dev/tty2 @//E*O*F getz// chmod u=rwx,g=rwx,o=rwx getz echo x - putz sed 's/^@//' > "putz" <<'@//E*O*F putz//' ( stty -echo 19200 sleep 1 echo " rz " sz "$*" ) < /dev/tty2 >/dev/tty2 @//E*O*F putz// chmod u=rwx,g=rwx,o=rwx putz exit 0 David Dyck Domain: dcd@tc.fluke.COM Voice: +1 206 356 5807 UUCP: {uw-beaver,decwrl,microsof,sun}!fluke!dcd Snail: John Fluke Mfg. Co. / P.O. Box 9090 / Everett WA 98206-9090