Article View: comp.sys.amiga.tech
Article #9436Re: Opening the Serial Port for Exclusive Access if Already Open
From: Tony Sumrall
Date: Fri, 05 Aug 1988 01:22
Date: Fri, 05 Aug 1988 01:22
18 lines
1527 bytes
1527 bytes
In article <5046@gryphon.CTS.COM> rickf@pnet02.cts.com (Rick Flower) says
that he wants to write a program which will allow a terminal or BBS pgm to
call an external routine to handle the xfer. Well, what I've done with
VT100 R2.9 (not available yet) is to either close the serial port prior to
invoking the external transfer routine or initially open the serial port
in SHARED mode (according to the user's preference). I've provided
alternatives in the event that the user has a modem which reacts
unfavorable to hacing the serial port closed (e.g. hanging up the phone).
If I've opened the serial port SHARED then I cancel all read requests
prior to calling the external routine so that my program won't receive any
data that was destined for the external program.
>UUCP: {ihnp4!scgvaxd!cadovax, <backbone>}!gryphon!pnet02!rickf
>INET: rickf@pnet02.cts.com
--
Tony Sumrall acs@amdahl.uts.amdahl.com <=> amdahl!acs
[ Opinions expressed herein are the author's and should not be construed
to reflect the views of Amdahl Corp. ]
Technical Details
Message-ID:
<a10Fxe7jXx1010oVUs6@amdahl.uts.amdahl.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!mit-eddie!ll-xn!ames!amdahl!acsReferences:
<5046@gryphon.CTS.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!mit-eddie!ll-xn!ames!amdahl!acs From: acs@amdahl.uts.amdahl.com (Tony Sumrall) Newsgroups: comp.sys.amiga.tech Subject: Re: Opening the Serial Port for Exclusive Access if Already Open Message-ID: <a10Fxe7jXx1010oVUs6@amdahl.uts.amdahl.com> Date: 5 Aug 88 01:22:52 GMT References: <5046@gryphon.CTS.COM> Reply-To: acs@amdahl.uts.amdahl.com (Tony Sumrall) Organization: Amdahl Corporation, Sunnyvale CA Lines: 18