Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!brutus.cs.uiuc.edu!apple!austing From: austing@Apple.COM (Glenn L. Austin) Newsgroups: comp.sys.mac.programmer Subject: Re: Communications Toolbox questions Message-ID: <37030@apple.Apple.COM> Date: 6 Dec 89 08:01:15 GMT References: <9125@hoptoad.uucp> <36869@apple.Apple.COM> <9194@hoptoad.uucp> Organization: Apple Computer Inc, Cupertino, CA Lines: 42 In article time@oxtrap.UUCP writes: >Tim Maroney writes: > [text deleted] > >I must further support Tim's idea for the CTB INIT's. > >If my user has a one megabyte system, then pulling the CTB INIT >out of the SystemFolder and rebooting to get the memory back is not a >big inhibitor. BUT, running the Installer to do this is unacceptable. >I think making the CTB go into the System the way it does now is a >poor choice. On 1MB machines, the overhead is something like 440 bytes (right Byron?) from the System heap. Almost all of the rest of the overhead comes from the Application heap, and only when the toolbox is used. Why remove an integral part of System Software that uses so little memory? >Also, is it really necessary to even make the 'Comm' inits? Couldn't >INIT 31 be made smart enough to look for CTB first? Or, couldn't the >INIT 31 be programmed to look for a resource in an INIT called 'Comm' >which indicates that this INIT uses the CTB, and therefore must be >delayed until CTB is loaded (or possibly not loaded in case of no CTB). >ANYTHING, but what is done now would be better. If you look at Byron's reply in 11206, this was done for two reasons -- one of which was to close a possible loophole where a virus could invade. We worked with both the INIT and installed versions, and believe me, the installed version is *MUCH* better (we went through a few revs of the INIT version that had problems running under MultiFinder, because of the Resource Manager and the sharing of the resources in the CTB). However, by putting the code in the System file, we free up a FCB, speed up the toolbox (how's 15500 cps throughput on a 19.2K line during an XMODEM transfer!), and provide the best quality possible! -- ----------------------------------------------------------------------------- | Glenn L. Austin | "Have you ever danced with the devil in | | Communications Toolbox Hacker | in the pale moonlight?" -The Joker | | Apple Computer, Inc. | "You made me!" -Batman | | Internet: austing@apple.com |-------------------------------------------| | AppleLink: AUSTIN.GLENN | All opinions stated above are mine -- | | Bellnet: (408) 974-0876 | who else would want them? | -----------------------------------------------------------------------------