Jump to content

Communications ToolBox

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Maury Markowitz (talk | contribs) at 12:31, 3 August 2012 (added Category:Mac OS development using HotCat). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:Distinguish2

The Communications Toolbox, generally shortened to Comm Toolbox or CTB, was a suite of application programming interfaces, libraries and device drivers for the classic Mac OS that implemented a wide variety of serial and network communication protocols.

Using the CTB, one could write an application that would seamlessly work over AppleTalk, a modem or any variety of other connections. Developers could also write plug-in communications modules known as "Tools", allowing any CTB-aware application to use that connection method.

CTB was notoriously slow and buggy,[1] and received mixed support from developers.[2] Examples of applications using it for simple tasks were common, but many target uses, like terminal emulators, almost always ran faster when designed to target a single connection type and avoid the CTB.

Description

The CTB was based on a shared library concept in an era when the Mac OS did not include a shared library system. Instead, the CTB wrote its own driver manager layer, the Communications Resource Manager. The Resource Manager was responsible for installing and managing the various drivers, or "Tools" that provided various functions within the CTB system.[3] There were three primary types of Tools, each with their own associated Manager: the Connection Manager handled the communications drivers that opened channels to remote services, the Terminal Manager managed Tools that implemented the character conversion and command string interpretation needed to support any sort of terminal emulator, and the File Transfer Manager did the same for any sort of file transfer protocol.[4]

Applications could use any, or all, of the Managers in the CTB. A typical terminal emulator would use all of them, connecting a Tool selected in the Connection Manager to another in the Terminal Manager, and then periodically using the File Transfer Manager on user request. Such was the case for common terminal emulators like VersaTerm and MacTerminal.[5] However, another application might use only one of these, say the Connection Manager to set up communications. QuickMail and Eudora are well-known examples.[6] Applications typically used the GUI elements supplied by the Managers to handle user interaction, but could also enumerate the tools on their own to provide a custom GUI.[4]

Perhaps the best known Tool was the Apple Modem Tool, which provided both the serial communications drivers as well as a system for storing setup commands. When a connection was initiated using the Modem Tool, the link to the modem was opened, commands sent to it, and the link established by dialling. The Modem Tool was also indicative of the problems that the CTB had in general; it was slow, lacking in features, quickly became outdated as modem speeds improved, and saw little development effort or support. When a 1.5 version addressing some of the problems was released in 1993, even finding it proved difficult.[7] A further update was needed to support higher speeds when 28kbps modems become common.[8] Apple also produced the simple Serial Tool and AppleTalk Tools as additional connection methods, the TTY and VT102 Tools for terminal emulation, and the Text and XModem tools for file transfers.[9]

Third party tools were common for supporting connections, including the Teleport Modem which plugged into the Apple Desktop Bus and thus required custom drivers,[5] Apple's own X.25 and ISDN tools, and a variety of other examples.

References

Citations
  1. ^ Mark Anbinder, "IE To The Rescue", TidBITS, 13 January 1992
  2. ^ "Ingemar's Corner, 25 December 2002
  3. ^ Inside 1991, p. 3.
  4. ^ a b Gaspar 1990.
  5. ^ a b Mark Anbinder, "TelePort Capabilities", TidBITS, 23 September 1991
  6. ^ Adam Engst, "Shell Account Enhancements", Internet Starter Kit for Macintosh, 1996, Chapter 14
  7. ^ Adam Engst, "Apple Modem Tool 1.5", TidBITS, 25 October 1993
  8. ^ "What is the maximum throughput of the Apple Modem Tool?", Apple Computer, 17 May 1996
  9. ^ See various sections of Inside the Comm Toolbox
Bibliography
Further reading