[comp.sys.mac.programmer] Telnet 2.3 / MPW 3.0 ?

urlichs@iraun1.ira.uka.de (Matthias Urlichs) (10/08/89)

Does anybody have source code for Telnet 2.3 (MacTCP), adapted for
MPW 3.0?
What I've done so far was to undefine MPW so that the code won't assume
that strings get translated by glue code. Now what happens is that when I
just open and close Telnet, the MacIP driver generates an address error
(the FTP listener gets closed); this seems to indicate that
someone trashes memory somewhere.

Unfortunately I just can't find where...

Comparing the object code generated with Telnet 2.3 as from NCSA.
seems to show that Telnet wasn't really compiled from the source code and
Makefiles anyway. (Either that, or there are some serious bugs in Telnet.)
F'r instance, whoever heard of a completion routine which calls an
assembler routine to restore A5, when that assembler routine is
_in_a_different_segment_, and thus gets referenced to off A5 ??? Catch-22 ?