Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!sco!md From: md@sco.COM (Michael Davidson) Newsgroups: comp.unix.sysv386 Subject: Re: Using cu with rz/sz? Can't be done? Message-ID: <12142@scolex.sco.COM> Date: 20 May 91 17:16:15 GMT Article-I.D.: scolex.12142 References: <677@genco.bungi.com> <240@sos.com> Sender: news@sco.COM Lines: 20 osvaldo@sos.com (Osvaldo Gold) writes: >In article <677@genco.bungi.com> dls@genco.bungi.com (Dave L. Smith) writes: >>I have tried all sorts of contortions with rz/sz to make them work from >>within cu on SCO Xenix 386, with no luck. Does anyone have any ideas? >Try this. It works for me under ODT 1.1. Allow me to give my example using >xmodem since I don't remember how the rz/sz combo works. >Initiate the cu session to the remote system. >Start "xmodem -sb filename" at the remote system. >Quickly start a shell on the local system with ~!, get root permissions and > type: > # xmodem -rb filename < /dev/tty1a > /dev/tty1a With SCO UNIX 3.2.2 onwards there is a simpler solution to this. From 3.2.2 onwards cu supports an escape that will run a command with it's standard input and output redirected to the communications line to the remote machine rather than the local tty (which is what the ~!command escape does). The new escape is ~+command and I'm afraid it is only available in 3.2.2 onwards.