[comp.sys.mac] XMODEM from Unix tip - Answer

dce@stan.UUCP (David Elliott) (02/17/89)

Thanks to Ken Konecki at Tellabs, I now have a method for getting files
from remote sites with XMODEM using tip.

The solution is to use the tip command

	~C

which then asks for a command (I use "xmodem -rbk filename"), and
connects the remote tty line to the command.

There is one problem: This won't work with the standard xmodem command,
at least not the version I had.

To make it work, you must change the routine setmodes() in getput.c.
Near the bottom, where it tries to turn off messages to the tty, change
the error which says "Cannot change TTY mode" to the line

	wason = FALSE;

I don't believe that this will cause problems.  The reason that the tty
mode can't be changed is that it is owned by UUCP, but nobody is going
to be writing to this tty anyway, since there's no user logged in
there.

I have notified Steve Grandi of this, and will let him decide whether
or not to make this change official.

-- 
David Elliott		...!pyramid!boulder!stan!dce