Article View: comp.sys.mac
Article #37746Re: Disabling LocalTalk
From: Byron Han, Architect
Date: Tue, 14 Feb 1989 01:58
Date: Tue, 14 Feb 1989 01:58
25 lines
1990 bytes
1990 bytes
<12202@dartvax.Dartmouth.EDU> isle@eleazar.dartmouth.edu (Ken Hancock) writes:
>
>My question is, is it possible to place a few lines of code
>with ResEdit into the CODE 0 resource of my terminal programs
>to turn off LocalTalk so that I won't have this program?
Turning off LocalTalk is very ill-mannered. Other processes that are using
the AppleTalk protocol stack will be upset and extremely unhappy. To wit:
(IM II-275) "Since other co-resident origrans may be using AppleTalk, it's
strongly recommended that you never use this call. MPPClose will completely
disable AppleTalk; the only way to restore AppleTalk is to call MPPOpen again"
To detect if the printer port is available, try opening the serial driver
for port B. If portInUse is returned, then port B is in use by someone
other than the standard serial driver.
+-----------------------------------------------------------------------------+
| Disclaimer: Apple has no connection with my postings. |
+-----------------------------------------------------------------------------+
Byron Han, Communications Architect Almost alpha now.
Apple Computer, Inc. -------------------------------------
20525 Mariani Ave, MS27Y Internet: han@apple.COM
Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han
-------------------------------------- GENIE: BYRONHAN
ATTnet: 408-974-6450 Applelink: HAN1 CompuServe: 72167,1664
------------------------------------------------------------------------------
Technical Details
Message-ID:
<25768@apple.Apple.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!hanReferences:
<12202@dartvax.Dartmouth.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!han From: han@Apple.COM (Byron Han, Architect) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: Disabling LocalTalk Message-ID: <25768@apple.Apple.COM> Date: 14 Feb 89 01:58:59 GMT References: <12202@dartvax.Dartmouth.EDU> Organization: Apple Products - Networking & Communications Lines: 26