Using cu with rz/sz? Can't be done?

Michael Davidson md at sco.COM
Tue May 21 03:16:15 AEST 1991


osvaldo at sos.com (Osvaldo Gold) writes:

>In article <677 at genco.bungi.com> dls at 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.



More information about the Comp.unix.sysv386 mailing list