home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / Documents / FAQ / Macintosh-faq / comm-faq / part3 < prev    next >
Encoding:
Internet Message Format  |  1993-08-12  |  36.6 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!howland.reston.ans.net!agate!darkstar.UCSC.EDU!eric
  2. From: eric@cse.ucsc.edu (Eric C. Rosen)
  3. Newsgroups: comp.sys.mac.comm,news.answers,comp.answers
  4. Subject: comp.sys.mac.comm Frequently Asked Questions [3/4]
  5. Supersedes: <csmc-FAQ3_742192816@darkstar.ucsc.edu>
  6. Followup-To: poster
  7. Date: 12 Aug 1993 04:40:32 GMT
  8. Organization: University of California, Santa Cruz (CE/CIS Boards)
  9. Lines: 733
  10. Sender: eric@cse.ucsc.edu
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: world
  13. Expires: 16 Sep 1993 04:42:43 GMT
  14. Message-ID: <csmc-FAQ3_745130563@darkstar.ucsc.edu>
  15. References: <csmc-FAQ1_745130563@darkstar.ucsc.edu>
  16. Reply-To: eric@cse.ucsc.edu
  17. NNTP-Posting-Host: oak.ucsc.edu
  18. Summary: This thread of four postings contains a list of Frequently Asked
  19.      Questions (with answers) for comp.sys.mac.comm. Anyone seeking
  20.      information about Macintosh telecommunications is encouraged to
  21.      read this FAQ before posting.
  22. Keywords: FAQ
  23. Originator: eric@oak
  24. Xref: senator-bedfellow.mit.edu comp.sys.mac.comm:27960 news.answers:11294 comp.answers:1570
  25.  
  26. Archive-name: macintosh/comm-faq/part3
  27. Last-modified: Wed Aug 11 1993
  28.  
  29.  
  30. ================================================================================
  31. [5] Networking, MacTCP, Telnet, SLIP
  32. ====================================
  33.  
  34. [5.1] What is MacTCP and what kind of hardware and software do I need to use it?
  35. --------------------------------------------------------------------------------
  36.         
  37.         MacTCP is Apple's implementation of the Defense Advanced Research
  38.         Projects Agency (DARPA) TCP/IP Protocols (see [5.2]). MacTCP's
  39.         software interface is a Control Panel, which means that it loads
  40.         when your Macintosh boots. Under System 6.0.X, MacTCP will reside
  41.         in the System Folder; under System 7.0, it should be placed in
  42.         the Control Panels Folder.
  43.         
  44.         MacTCP accomplishes two important tasks: it is a tool that lets
  45.         programmers who wish to develop TCP/IP based applications do
  46.         so without "reinventing the wheel". By providing a standard
  47.         interface to TCP/IP network hardware, MacTCP also makes it
  48.         possible for more than one TCP/IP based application to run on a
  49.         Macintosh at any one time. For example, you can simultaneously
  50.         use a Telnet program, an FTP program, and share a filesystem
  51.         via NFS when you use MacTCP to provide the interface to your
  52.         TCP/IP network.
  53.         
  54.         The latest version (8/93) of MacTCP is MacTCP 2.0.2, which should
  55.         be shipping from APDA by mid-July, 1993. It replaced MacTCP 1.1.1
  56.         which is the version currently in common use. Both require a 
  57.         Macintosh Plus or later model, System 6.0.5 or later, a direct
  58.         connection to a Ethernet or TokenRing network (typically a
  59.         Ethernet or TokenRing card or a SLIP dialup connection), or a
  60.         connection to a LocalTalk network with a DDP-IP router such as
  61.         a Shiva FastPath, Cayman Gatorbox, Webster Multigate, or 
  62.         Compatible EtherRoute TCP. If you are using System 7.1, you 
  63.         be using MacTCP 2.0.2 or higher, or at the very least 1.1.1 .
  64.         Note: There are known bugs with 2.0; Apple recommends upgrading.
  65.  
  66.         As indicated above, MacTCP is an Apple product available from
  67.         APDA; product numbers and official names are listed below (8/93).
  68.         Note that MacTCP 2.0 is known by "Connection for Macintosh".
  69.  
  70.         M8113Z/A    TCP/IP Connection for Macintosh       59.00
  71.         M8114Z/A    TCP/IP Administration for Macintosh  199.00
  72.  
  73.         Many universities have campus site licenses; your site may 
  74.         also have such an arrangement --- check before buying.  It 
  75.         is also now possible to buy MacTCP from mail-order companies;
  76.         check around, and you may find a better price than APDA.
  77.  
  78.         Annual site licenses pricing (7/93):  .edu   .com
  79.  
  80.                1 - 2000 Macintosh CPUs        $1000  $3000
  81.             2001 - 5000                       $1500  $4500
  82.             5000 - unlimited                  $2500  $7500
  83.  
  84.         Contrary to rumours, Apple remainds dedicated to supporting
  85.         TCP/IP connectivity. Apple employees are said to be currently
  86.         focused on MacTCP 3.0, expected first quarter of 1994.
  87.  
  88.         For more detailed information regarding setting up a Macintosh
  89.         to connect to a TCP/IP network using MacTCP, see Eric Behr's
  90.         report on MacTCP which is archived at the various FTP sites
  91.         as mac-tcp-info.txt. This report provides a lot of useful
  92.         information for first-time Macintosh networking administrators.
  93.  
  94.  
  95. [5.2] What are AppleTalk, LocalTalk, EtherNet, EtherTalk, TCP/IP, etc?
  96. ----------------------------------------------------------------------
  97.  
  98.         When attempting to describe networking terms, a distinction
  99.         should be drawn between networking _protocols_ (such as
  100.         AppleTalk and TCP/IP) and networking _hardware_ (such as
  101.         LocalTalk, Ethernet, and TokenRing). In most cases, a specific
  102.         protocol can be used over more than one hardware medium.
  103.  
  104.         In order to help understand the interaction of these disparate
  105.         parts in a real-world network, we can adopt the useful analogy
  106.         of multi-layer cake with the physical wire at the very bottom
  107.         and the software which you are running at the very top.
  108.  
  109.         Thus, we can think of LocalTalk, Ethernet and TokenRing as being
  110.         the layers at the bottom, AppleTalk and TCP/IP in the middle and
  111.         programs like NCSA Telnet, NFS/Share and MacX at the top.
  112.  
  113.  
  114.         The following terms describe protocols (software descriptions)
  115.         common to the Macintosh networking world:
  116.  
  117.         * AppleTalk: A proprietary suite of protocols developed by Apple
  118.         Computer, Inc. that provides for near-transparent network
  119.         connections between Macintosh computers. However, within the
  120.         last few years AppleTalk has been ported to operating systems
  121.         other than the Macintosh OS, including UNIX, VMS and DOS.
  122.         Questions about the AppleTalk protocol are probably best posed
  123.         in the newsgroup comp.protocols.appletalk .
  124.  
  125.         * TCP/IP: A suite of protocols developed by the Defense Advanced
  126.         Research Projects Agency (DARPA) whose purpose is multi-platform
  127.         connectivity. TCP/IP drivers are available for almost all of the
  128.         computer platforms in use today, including micros, minis, main-
  129.         frames and supercomputers. TCP/IP stands for Transmission Control
  130.         Protocol/Internet Protocol, because these are the two most widely
  131.         used protocols in the suite.  However, TCP/IP includes the User 
  132.         Datagram Protocol (UDP), Address Resolution Protocol (ARP),
  133.         Reverse Address Resolution Protocol (RARP) and others.
  134.  
  135.         * EtherTalk: The driver which allows AppleTalk protocols to be
  136.         transported by Ethernet.
  137.         
  138.         * TokenTalk: The driver which allows AppleTalk protocols to be
  139.         transported over IBM TokenRing networks.
  140.  
  141.  
  142.         The following terms describe hardware (the physical link such
  143.         as the wire(s) connecting computers) common to the Macintosh
  144.         networking world:
  145.  
  146.         * LocalTalk: One type of hardware over which AppleTalk protocols
  147.         can be transported. LocalTalk has a throughput of 230.4 Kilobits
  148.         per second, or roughly a quarter of a Megabit per second.
  149.  
  150.         * PhoneNet: Another type of hardware commonly used to transport
  151.         AppleTalk packets. PhoneNet mates LocalTalk hardware with
  152.         ordinary (unused) telephone wire. PhoneNet is probably the
  153.         cheapest way to connect widely separated Macintosh computers
  154.         within a single building.
  155.         
  156.         * Ethernet: A network medium over which AppleTalk, TCP/IP and
  157.         other protocols travel. Ethernet's maximum throughput is
  158.         10 Megabits per second.
  159.         
  160.         * TokenRing: A network medium developed (and patented) by IBM
  161.         based on a topology of a ring of nodes connected serially by a
  162.         single cable. Each node, or computer, speaks on the cable only
  163.         when it has posession of a token. TokenRing technology can
  164.         demonstrate throughputs of ranging from 4 to 16 Megabits per 
  165.         second.
  166.  
  167.  
  168. [5.3] What is Telnet, and is there a Telnet program for the Macintosh?
  169. ----------------------------------------------------------------------
  170.  
  171.         Telnet is a high speed terminal connection protocol designed
  172.         with TCP/IP in mind. A Telnet program allows you to connect
  173.         to computers that accept Telnet sessions (such as UNIX boxes)
  174.         with interactive full-screen console input and output
  175.         capabilities in mind.
  176.  
  177.         There are several Telnet programs for the Macintosh. The first
  178.         and most widely used is NCSATelnet, which is free and can be
  179.         found via anonymous FTP from ftp.ncsa.uiuc.edu (as well as
  180.         elsewhere). The latest version is 2.5 and supports TEK 4105
  181.         graphics, provides both an FTP server *and* client as well as
  182.         a built-in SLIP driver, and can do session logging. Unlike most
  183.         TCP/IP programs for the Macintosh, it does not require (but can
  184.         use) MacTCP.
  185.  
  186.         Comet, the Cornell Macintosh Terminal Emulator, is a Public
  187.         Domain communications program which offers multiple VT102 and
  188.         IBM 3278 emulator Telnet sessions (using MacTCP) as well as
  189.         serial VT102 connections. A TFTP server is provided for TCP/IP
  190.         file transfer; in addition the "ft3270" file transfer protocol 
  191.         supports file transfer with IBM VM hosts over Telnet and serial
  192.         connections.  Comet is available via anonymous FTP from the 
  193.         pub/comet/ directory of comet.cit.cornell.edu.
  194.  
  195.         Hytelnet is a Telnet program available for various personal
  196.         computers including the Macintosh. The Macintosh version is
  197.         based upon Hypercard 2.x. Contact Charles Burchill at
  198.         <burchil@ccu.umanitoba.ca> for more information about Hytelnet.
  199.  
  200.         InterCon Systems has a fully-functional Telnet Connection Tool
  201.         for us with the CTB). InterCon's TCP/Connect II includes 
  202.         facilities for Telnet as well as a FTP (and a host of other
  203.         features).
  204.  
  205.         Versaterm 4.6.2 ships with a Telnet Connection Tool (in
  206.         addition to MacTCP). However, this tool seems to be intended
  207.         to be used only with Versaterm and does not support all
  208.         Telnet features.
  209.  
  210.         Advanced Software Concepts distributes 5PM with MacTCP, a
  211.         Telnet Connection Tool and a FTP server. 5PM includes a
  212.         HyperTalk-like scripting engine and allows the user to create
  213.         "palettes" which are similar to HyperCard cards.
  214.  
  215.         Stanford University Networking Systems has distributed a package
  216.         known as SU-Mac/IP that includes Telnet, FTP, tn3270, printing
  217.         facilities and other MacTCP based capabilities. The package
  218.         can be licensed *ONLY* by "degree-granting institutions of
  219.         higher education". For information, either send e-mail to
  220.         macip@jessica.stanford.edu or call [USA] (415) 723-3909.
  221.         
  222.  
  223. [5.4] Is there a FTP (server) program for the Macintosh?
  224. --------------------------------------------------------
  225.  
  226.         Yes, you can choose from freeware, shareware and payware
  227.         varieties:
  228.         
  229.         * NCSATelnet (see [5.3]) includes both FTP client and server
  230.         capabilities.
  231.         
  232.         * Fetch 2.1 (from Dartmouth) is a free FTP application for
  233.         educational institutions. Otherwise, it requires a license.
  234.  
  235.             Fetch provides an intuitive interface to FTP servers,
  236.             similar in style and feel to the standard Macintosh
  237.             open file dialog.
  238.  
  239.         * FTPd, $10, by Peter Lewis <peter@cujo.curtin.edu.au>, is a
  240.         recently released shareware FTP server with many features
  241.         (described below by the author):
  242.  
  243.           o Multiple simultaneous users.
  244.           o Honours System 7 Users & Groups (in fact depends on them!).
  245.           o Supports BinHex and MacBinary transfers, including the MACB 
  246.             command.
  247.           o Allows login to other AppleShare servers on the local
  248.             network.
  249.           o Allows different formats of a file to be fetched.
  250.           o Pattern matching in change directory command.
  251.           o Individual initial directory for any user.
  252.           o FTP site descriptions sent after login.
  253.           o Directory descriptions sent after CD command.
  254.           o Supports the CatSearch feature to allow very fast volume
  255.             wide searches.
  256.           o Quite slow.
  257.  
  258.         * HyperFTP, a Hypercard-based FTP client.
  259.  
  260.         * XferIt, by Steve Falkenburg, a shareware FTP client.
  261.         
  262.         * Versaterm 4.6.2 also ships with an FTP CTB Tool.
  263.  
  264.     * Advanced Software Concepts sells FTPShare, a commercial FTP
  265.     server product and has posted a demo to InfoMac. Main features
  266.     (according to authors) are:
  267.  
  268.       o Operates very similar to System 7 FileSharing.
  269.       o Also works under System 6.
  270.       o Quite fast.
  271.  
  272.         
  273. [5.5] What are SLIP, CSLIP and PPP?
  274. -----------------------------------
  275.  
  276.         SLIP stands for Serial Line Internet Protocol.  SLIP is a
  277.         "non-standard" for framing IP packets and shipping them over
  278.         a serial line (e.g. a cable, or a pair of modems), thus
  279.         allowing a home machine to dial up and become part of the
  280.         Internet. Effectively, SLIP turns a serial port into a logical
  281.         ethernet port.
  282.  
  283.         Many workstations and terminal servers can support SLIP. On
  284.         the Macintosh side, several vendors offer SLIP modules for
  285.         MacTCP. (These vendors and products are summarized below).
  286.         Macintosh software which communicates with the outside world
  287.         via MacTCP will continue to work over SLIP, albeit somewhat
  288.         more slowly due to the relatively low bandwidth of modem
  289.         connections.
  290.  
  291.         CSLIP stands for Compressed SLIP.  CSLIP reduces the size of
  292.         the headers in IP packets by eliminating a certain amount of
  293.         redundancy.  This improves interactive performance.
  294.  
  295.         PPP stands for Point-to-Point Protocol.  PPP can support both
  296.         synchronous and asynchronous connections and protocols that
  297.         are not IP-based (such as AppleTalk). It provides specifications 
  298.         for error correction, feature negotiation, escaping control 
  299.         characters, etc.  PPP is becoming more and more popular, 
  300.         especially as MacPPP, a MacTCP extension available via anonymous 
  301.         FTP from merit.edu in pub/ppp, has matured into a stable and 
  302.         viable alternative to the various available MacTCP SLIP LAPs.
  303.         Although SLIP continues to be more prevalent than PPP, PPP is
  304.         likely to become more popular in the future.
  305.  
  306.         Recently, several vendors have provided SLIP LAPs for MacTCP.
  307.         What is a "MacTCP SLIP LAP"? To quote Steve Dorner, "It's an
  308.         extension that allows MacTCP to work over a phone line, allowing
  309.         you to use any MacTCP application over your modem, if you have
  310.         the right dialins." LAP stands for Link Access Protocol. You
  311.         choose the LAP you want to use via the MacTCP Control Panel.
  312.  
  313.         Currently, the following SLIP products for the Macintosh are
  314.         readily available:      
  315.                 
  316.            o MacSLIP from Hyde Park Software is a MacTCP extension that
  317.              supports SLIP and CLSIP and a scripting language for
  318.              session. Individual copies sell for $49.95.
  319.                 
  320.              Contact: info@hydepark.com, [USA] (800) 531-5170, or write:
  321.                                     TriSoft
  322.                                     1825 East 38 1/2 
  323.                                     Austin, Texas 78722
  324.  
  325.              Reports of transfer rates as high as 1500 bytes/sec have
  326.              been posted to comp.sys.mac.comm by users of MacSLIP on
  327.              V.42bis 9600 baud modems. Transfer rates as high as 3 KB/sec
  328.              are possible through a 38400 baud connection.
  329.              
  330.            o InterCon Systems is shipping a MacTCP extension with their
  331.              networking product (TCP/Connect II), and as a separate
  332.              package (InterSLIP).
  333.  
  334.              HOWEVER, InterCon has graciously made InterSLIP available
  335.              to Internet users for FREE. You can FTP InterSLIP from
  336.              ftp.intercon.com in InterCon/sales. 
  337.              
  338.              Demonstration versions of various InterCon products are also
  339.              available at this FTP address.
  340.  
  341.              Contact: sales@intercon.com, [USA] (703) 709 9890
  342.         
  343.            o Synergy Software offers a SLIP/CSLIP MacTCP extension with
  344.              its Versaterm/Versaterm-PRO packages. If you already own
  345.              Versaterm, SLIP is a $20 upgrade. If you buy the complete
  346.              Versaterm 4.6.2 package (about $90), you will also get an
  347.              FTP server and client, a Telnet connection tool, and MacTCP.
  348.              Performance is comparable to that of MacSLIP.
  349.  
  350.              Contact: [USA] (215) 779 0522
  351.  
  352.            o If you are only interested in Telnet and FTP capability,
  353.              you may want to examine NCSA Telnet (see [5.3]).
  354.  
  355.         For a review of Macintosh SLIP products, see the November 16, 1992
  356.         issue of "Open Systems Today". Benchmarks are included.
  357.  
  358.         Information about setting up SLIP on Sun UNIX boxes, as well as
  359.         some reviews and UNIX SLIP programs, can be found via anonymous
  360.         FTP from ftp.bio.indiana.edu in util/slip, among other places.
  361.  
  362.  
  363. [5.6] How does MacTCP resolve names into IP addresses?
  364. ------------------------------------------------------
  365.  
  366.         If you are having problems configuring MacTCP to use dynamic
  367.         Domain Name Service entries, the following empirical description
  368.         of the behavoir of MacTCP's name resolution protocol may be
  369.         useful.
  370.  
  371.         The description assumes some familiarity with IP addressing.
  372.  
  373.  
  374.         Step 1.  Expand the target name.
  375.  
  376.         If the target name contains a ".", the target name is the expanded 
  377.         target name.  Otherwise, prepend the name to the domain marked with 
  378.         the  "Default" button in the MacTCP control panel.  The 
  379.         concatenation of the name and this domain becomes the expanded 
  380.         target name.  Proceed to Step 2.
  381.  
  382.         Examples:
  383.               Assume "slcs.slb.com" is the default domain for MacTCP.
  384.  
  385.               "valhalla" expands to "valhalla.slcs.slb.com".
  386.               "cayman.com" expands to "cayman.com".
  387.               "apple."  expands to "apple."
  388.  
  389.  
  390.         Step 2.  Check the Hosts file in the System Folder of this Macintosh.
  391.  
  392.         If there is an exact match between the expanded target name from 
  393.         Step 1 and a name in the Hosts file, the corresponding IP address 
  394.         from the first such match in the Hosts file is the target IP address;
  395.         otherwise proceed to Step 3.  Trailing "." characters on either the
  396.         expanded target name or Hosts file name are ignored for this test.
  397.  
  398.         Examples:
  399.               Assume "slcs.slb.com" is the default domain for MacTCP.
  400.  
  401.               "linus" expands and matches "linus.slcs.slb.com" in Hosts.
  402.               "apple." matches "apple" in Hosts.
  403.               "apple" expands and does *not* match "apple" in Hosts.
  404.  
  405.  
  406.         Step 3.  Find the domains that contain the expanded name.
  407.  
  408.         Search through the domains from the MacTCP control panel entries, 
  409.         and build a list of the domains that contain the expanded target 
  410.         name.  A domain contains the expanded target name if the domain is 
  411.         a final string of the expanded target name.  A "." by itself in the 
  412.         MacTCP control panel is a domain containing any expanded target 
  413.         name.  The default domain is always added as the last domain of 
  414.         the list, whether it contains the expanded target name or not.  
  415.         Proceed to Step 4.
  416.  
  417.         Examples:
  418.               Assume "slcs.slb.com" is the default domain for MacTCP.
  419.  
  420.               "valhalla" is expanded and contained in domain "slcs.slb.com".
  421.               "apple." is *not* contained in domain "slcs.slb.com".
  422.               "apple" is expanded and contained in domain "slb.com".
  423.               "anyhost" is contained in domain ".".
  424.  
  425.  
  426.         Step 4.  Consult the name servers of the containing domains.
  427.  
  428.         Consult the Domain Name Servers, in the order found, based on the 
  429.         corresponding IP addresses from their entries in the MacTCP control
  430.         panel.  The servers are given the expanded target name to translate.  
  431.         If a MacTCP is unable to contact a server, or if the server returns
  432.         a non-authoritative negative reply, the next server in line is tried.
  433.         Otherwise, the result from the server just contacted, either a 
  434.         successful translation, or an authoritative "unable to resolve", is
  435.         the final result.
  436.  
  437.  
  438. ================================================================================
  439. [6] MacX and Other Ways to Interface With UNIX
  440. ==============================================
  441.  
  442. [6.1] Can I run X-Windows on my Mac?
  443. ------------------------------------
  444.  
  445.         Yes. For Macintosh OS users (not using A/UX), two possibilities
  446.         exist.
  447.  
  448.         MacX is an X-Windows server for the Macintosh, developed by
  449.         Apple. With MacX running, your Macintosh can serve as a display
  450.         server for any X-Windows client program (such as xterm, xbiff,
  451.         etc). The client programs must be running on a separate
  452.         machine running UNIX (unless you are also running A/UX, Apple's
  453.         brand of UNIX for the Macintosh).
  454.         
  455.         MacX's technical capabilities, as described by Alan Mimms
  456.         in "X for the rest of us" (2/91) and paraphrased in the FAQ
  457.         for comp.windows.x are as follows:
  458.         
  459.           MacX runs on MacPlus or newer machines with >= 2MB of memory
  460.           and system software 6.0.4 or later. Version 1.1 is fully
  461.           X11R4-based. It supports full ICCCM-compatible cut and paste
  462.           of text AND graphics between the Macintosh and X11 worlds,
  463.           the SHAPE extension (including SHAPEd windows on the Macintosh
  464.           desktop), an optional built-in ICCCM-compliant window manager,
  465.           X11R4 fonts and colors, a built-in BDF font compiler, and
  466.           built-in standard colormaps. 
  467.         
  468.         To connect your Macintosh to a network of machines capable of
  469.         running X-Windows clients, MacX uses MacTCP. For the best
  470.         performance, you will want to access this network through
  471.         LocalTalk or normal Ethernet. However, it is also possible
  472.         to make the connection over a high-speed modem and use MacX
  473.         to run X-Windows clients on remote machines; you will need
  474.         a SLIP LAP module for MacTCP to do this --- see [6.2] for the
  475.         details.
  476.         
  477.         MacX can be purchased from official Apple retailers, such as
  478.         most university campus stores, for about $300 (less if you
  479.         qualify for an educational discount). MacX is also bundled
  480.         with A/UX 3.0.
  481.  
  482.         The FAQ for comp.windows.x also describes another product,
  483.         eXodus, as follows:
  484.         
  485.           eXodus from White Pine Software (603-886-9050) runs on any
  486.           Mac with at least 1MB of memory and runs the X server within
  487.           a standard Macintosh window.  Version 3.0 [6/91] supports
  488.           intermixing of X and Mac windows and the ADSP protocol. The
  489.           version supports the SHAPE extension and includes DECwindows
  490.           support.
  491.  
  492.         For information regarding using MacX with A/UX, see the FAQ
  493.         for comp.unix.aux and/or ask questions in that newsgroup,
  494.         and/or investigate wuarchive.wustle.edu:/systems/aux/X11R5.
  495.         You _can_ run X11R5 under A/UX 3.0.
  496.  
  497.  
  498. [6.2] How can I run MacX over a modem? Is it feasible?
  499. ------------------------------------------------------
  500.  
  501.         Now that several SLIP LAP modules for MacTCP are available,
  502.         it is possible to run MacX over a modem. You are advised that
  503.         performance will be significantly poorer than you may be
  504.         expecting, especially if you are not using a high-speed modem
  505.         (eg: 9600 baud or higher with compression and/or error-
  506.         detection). With high-speed modems, using MacX to bring up
  507.         xterms and other text-oriented clients is usable; however,
  508.         any sort of graphics-intensive program (eg: xdvi) is going
  509.         to require some patience (but should be bearable).
  510.         
  511.         Thus, in addition to MacX, to be able run MacX over a modem
  512.         you need:
  513.         
  514.                 1. A modem. A high-speed modem with v.32bis and v.42
  515.                    is *STRONGLY* recommended.
  516.                 2. A terminal-server at your site that offers dial-up
  517.                    SLIP connections. You'll have to ask your site or
  518.                    system administrator about this one. There will
  519.                    likely be some paperwork to fill out.
  520.                 3. A SLIP (or CLSIP) LAP module for MacTCP. See [5.5]
  521.                    for details on such products.
  522.  
  523.         If you are specifically interested in just having multi-window
  524.         connections to a UNIX box that you connect to over a modem,
  525.         other options include using a Telnet program with SLIP (see
  526.         [5.3]), or MacLayers or UW [which do not need SLIP] (see [6.3],
  527.         [6.4]).
  528.  
  529.  
  530. [6.3] What is MacLayers and what do I need to use it?
  531. -----------------------------------------------------
  532.  
  533.         MacLayers allows you to logon to a UNIX host and open more than
  534.         one window over a single (serial) connection. Each window
  535.         can correspond to a (login) shell or program running on your
  536.         choice of host(s). Up to seven full-screen resizable VT-100
  537.         windows are allowed.
  538.         
  539.         In addition, MacLayers provides a primitive (but useful
  540.         anyway) mechanism to download binary files "in the background",
  541.         allowing you to work in other windows while you download.
  542.         No upload facility (except for text pasting) is provided.
  543.         At this time, MacLayers does not support the CTB. However,
  544.         it is freely distributable (but may not be sold).
  545.  
  546.         MacLayers requires:
  547.         
  548.                 1. A UNIX host which supports sockets.
  549.                 2. A Macintosh with 128 KB ROMs or larger.
  550.                    MacLayers does not work with the old 64 KB ROM
  551.                    machines.
  552.  
  553.         MacLayers comes in two parts: a program you run on your
  554.         Macintosh and a set of C source files that you compile
  555.         on your UNIX host (a Makefile is provided). When you login
  556.         to your host while running MacLayers on your Macintosh, you
  557.         simply run one of the UNIX-side programs to start up the
  558.         windowing system (similar to running a windowing-environment
  559.         like X-Windows at the console, except that everything is
  560.         character based -- no graphics).
  561.  
  562.         MacLayers is currently at version 1.30. The author is working 
  563.         hard to improve MacLayers; current plans include better terminal
  564.         emulation, faster downloading, uploading, and more!
  565.  
  566.         Please send all electronic correspondence regarding MacLayers
  567.         to the address layers-reply@rascal.ics.utexas.edu.  The
  568.         latest version of MacLayers is available via anonymous FTP
  569.         from rascal.ics.utexas.edu in mac/communications/MacLayers.
  570.  
  571.         You are STRONGLY encouraged to upgrade to the latest version.
  572.         The most common response to requests for features and bug
  573.         reports is: "Get the latest version from rascal."
  574.  
  575.  
  576. [6.4] What are UW and MultiSession? Are there other programs like MacLayers?
  577. ----------------------------------------------------------------------------
  578.  
  579.         Editorial Comment: One should note that the editor of this FAQ and
  580.         the current author of MacLayers are one in the same. This may or
  581.         may not introduce an unavoidable bias into the following comments:
  582.  
  583.         * UW (short for UNIX Windows) is a program similar in style and
  584.         intent to MacLayers (see [6.3]) --- that is, it provides a
  585.         multi-window interface to a UNIX hosts. UW has been around a
  586.         lot longer than MacLayers but, as far as I know, hasn't been
  587.         updated in quite a long time. It offers most of the same
  588.         features as MacLayers, but no facility for downloading
  589.         is provided. UW does have the advantage of working with the
  590.         older 64 KB ROM machines, but in general, MacLayers is the
  591.         superior program.
  592.  
  593.         * MultiSession is a recently released program with similar goals.
  594.         It includes error-correction in its Macintosh-to-UNIX protocol,
  595.         but this makes it quite sluggish. As of this writing (6/93),
  596.         the UNIX side of MultiSession runs properly only under ULTRIX.
  597.         For more information on MultiSession, please see its documentation
  598.         or contact the author; please do not send e-mail to the editor.
  599.         MultiSession's author is Thomas R. Lawrence (tomlaw@world.std.com).
  600.  
  601.  
  602. [6.5] Is there a UNIX program that will convert between BinHex and MacBinary?
  603. -----------------------------------------------------------------------------
  604.  
  605.         Yes, there are at least two that will handle BinHex 4.0, MacBinary,
  606.         and other conversions. macutil and mcvert are distributed as
  607.         UNIX shar archvies and can be found in the unix directory at
  608.         InfoMac sites. Source code is included (of course) so you will
  609.         need a C compiler to build the programs:
  610.  
  611.     * macutil
  612.         
  613.           macutil is a collection of utilities for manipulating Macintosh
  614.           files in MacBinary [see 2.2] or BinHex [see 2.3] format, or over
  615.           AppleDouble, AUFS, or CAP servers.
  616.           
  617.           As of (8/92), macutil includes three programs:
  618.           
  619.                 o hexbin - a program to convert BinHex 4.0 to MacBinary;
  620.                   it also converts uuencode (and UULite) files to their
  621.                   native binary format; support for .dl, .hex, and .hcx
  622.                   formats (all predecessors of BinHex 4.0) also exists
  623.                           
  624.                 o macsave - a MacBinary filter program to convert
  625.                   between various MacBinary representations, including
  626.                   a single .bin file, three separate .data, .rsrc, .info
  627.                   files, and AUFS format. macsave also allows one to
  628.                   "peek" inside MacBinary files
  629.  
  630.                 o macunpack - a program to unpack PackIt, StuffIt,
  631.                   Diamond, Compactor/Compact Pro, most StuffIt Classic
  632.                   and StuffIt Deluxe, DiskDoubler, Zoom and LHarc/MacLHa
  633.                   archives.
  634.  
  635.                   It also decodes BinHex 5.0, MacBinary, uuencode, and
  636.                   UNIX compress (ie: .Z suffix) files (as well as variants
  637.                   of compress implemented by various Macintosh compress
  638.                   programs).
  639.  
  640.                   Support for password protected and/or multi-segment
  641.                   archives of various types is minimal or non-existent.
  642.  
  643.         The various authors of the macutil utilities are too numerous
  644.         to list here; consult the README files that come with the package
  645.         for the details.
  646.  
  647.     * mcvert
  648.         
  649.           mcvert allows you to convert BinHex files to MacBinary files
  650.           and vice versa. In addition, you can create MacBinary files
  651.           with empty resource forks from normal files, as well as perform
  652.           other transformations. mcvert can also decode PackIt
  653.           archives.
  654.  
  655.           mcvert was originally written in 1987 by Doug Moore, but is
  656.           now maintained by Joseph Skudlarek, jskudlarek@std.mentorg.com,
  657.           who has fixed added many new features and made mcvert easier
  658.           to use. The latest version of mcvert is available at InfoMac 
  659.           sites.
  660.  
  661.      * xbin
  662.  
  663.           xbin is an old program, similar to a primitive version of mcvert.
  664.           It converts BinHex files into a set of three files which model
  665.           the data, resource, and info forks of a Macintosh file; recall
  666.           that all of this information is contained in a single MacBinary
  667.           file (see [2.2]). Unless you have software that can reconstruct
  668.           a MacBinary file from these three separate files (mcvert will
  669.           do this), xbin will be pretty useless.
  670.  
  671.           xbin is pretty dead on UNIX platforms, but VMS folk continue to
  672.           use it because, unlike mcvert of the macutil pacakge, xbin
  673.           compiles under VMS.
  674.  
  675.  
  676. [6.6] How can I create LaserWriter PostScript printer files and print them 
  677. --------------------------------------------------------------------------
  678.         on a PostScript printer connected to a UNIX network?
  679.  
  680.         First, make sure there is no way you can find a Macintosh
  681.         connected to a LaserWriter which you can use to print
  682.         your document normally.
  683.         
  684.         If this definitely is not an option, determine whether 'macps'
  685.         is installed on your UNIX system. If 'macps' is not installed
  686.         on your system, get the latest version from an InfoMac archive
  687.         (look for it in the UNIX sections) and follow the included
  688.         directions to install it. You may need the assistance of
  689.         your site's system administrator.
  690.         
  691.         'macps' is a UNIX program that prepends a modified LaserPrep
  692.         file to a PostScript file created by a Macintosh application
  693.         (such as Microsoft Word). The result can be spooled directly
  694.         to a PostScript printer.
  695.  
  696.         To generate the PostScript on your Macintosh, make sure the
  697.         appropriate LaserWriter Chooser item is selected in the
  698.         Chooser. Print your document using the normal print option
  699.         of your application. On System 7 systems, click the "PostScript
  700.         File" radio button when the standard Printer Manager dialog
  701.         box is displayed. On pre-system 7 systems, hold down Command-F
  702.         immediately _after_ clicking on OK in the dialog box; timing
  703.         is crucial here --- Apple obviously did not originally intend
  704.         users to take advantage of this "feature" (see note below).
  705.  
  706.         If you are running System 7, you will be prompted to select
  707.         the destination folder and name for the PostScript file.
  708.         Otherwise, it will be named "PostScript' (or 'PostScript#'
  709.         where '#' is a digit) and placed either in the System folder,
  710.         the application's current folder, or the root folder on the
  711.         startup disk. You may rename the file.
  712.  
  713.         Upload (or otherwise transfer) the PostScript file to your
  714.         UNIX system, treating it as a text file, unless you are
  715.         including graphics or fonts in your output (in which case you
  716.         should be safe and take the extra steps and treat the file as
  717.         an eight-bit binary file). Then, use 'macps' to spool the file
  718.         to your printer. For example, if you had named the PostScript
  719.         file 'report.ps' and normally print files on UNIX with the
  720.         command 'lpr -Pryon', you would issue the command:
  721.         
  722.                 % macps report.ps | lpr -Pryon
  723.         
  724.         This will print the file on your UNIX printer. The documentation
  725.         included with 'macps' includes a man page that provides more
  726.         information on the process.
  727.  
  728.         'macps' was written by Edward Moy and is copyrighted by
  729.         the Regents of the University of California. It can be freely
  730.         distributed; check its ReadMe file for details.
  731.  
  732.         Note: Under System 7, _all_ fonts (including information needed
  733.         to decode TrueType fonts if you use any TrueType fonts) you use
  734.         your document are included in the PostScript file. As a result,
  735.         even the smallest documents can produce very large (hundreds of
  736.         kilobytes) PostScript files. If the fonts you use in your
  737.         document are automatically downloaded to the laser printer
  738.         you will be using to print, you can significantly reduce the
  739.         size of your PostScript file (and thus save time transmitting)
  740.         by removing the font definitions. You can do this manually,
  741.         but it is safer to use a utility, such as StripFonts or the
  742.         DMM-LW utilities (which includes other capabilities as well).
  743.         
  744.         Note: If you are a pre-System 7 user, you are encouraged to
  745.         read the file tips/generating-postscript at InfoMac archives.
  746.         This file gives explicit directions for generating PostScript
  747.         files using pre-System 7 machines and also describes how to
  748.         enable a check box in the LaserWriter Dialog box that allows
  749.         you to redirect the PostScript output to a file without having
  750.         to type Command-F or Command-K.
  751.  
  752.         Note: If you are trying (vainly) to use Macintosh PostScript
  753.         files as figures using the psfig macro under Tex or LaTeX,
  754.         get the mactotex package from the University of Michigan's
  755.         archive site in util/unix. This utility makes importing
  756.         Macintosh PostScript files into (La)TeX painless; it also
  757.         includes a useful 'cleanps' utility, that strips Macintosh
  758.         PostScript files of unneeded parts.
  759.