🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #37890

XMODEM from Unix tip - Answer

#37890
From: David Elliott
Date: Thu, 16 Feb 1989 17:50
30 lines
1389 bytes
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
Technical Details
Message-ID: <465@salgado.stan.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!bingvaxu!sunybcs!boulder!stan!dce

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!bingvaxu!sunybcs!boulder!stan!dce
From: dce@stan.UUCP (David Elliott)
Newsgroups: comp.sys.mac
Subject: XMODEM from Unix tip - Answer
Message-ID: <465@salgado.stan.UUCP>
Date: 16 Feb 89 17:50:34 GMT
Reply-To: dce@stan.UUCP (David Elliott)
Organization: Solbourne Computer Inc., Longmont, Colorado
Lines: 30