🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4474

Sharing the serial device

#4474
From: Brian TT Fudge
Date: Sat, 21 Jul 1990 06:08
23 lines
1384 bytes
Recently I was fooling around with the serial device and found that there
was almost no use for sharing the serial device.  Is it just me, or do others
have problems when they try it too?

I open 2 ports and 2 devices.  One to read from and one to write to.  Every-
thing works fine.  I runback the program and then runback another one.  I
loose every other character.  One program gets one character and the other
the next. 

When I quit the program (close both devices and both ports), the TR (terminal
ready) light on my modem goes off, meaning the serial device was closed.  I
don't think that should happen since I should have 4 serial devices open, and
closing 2 of them shouldn't close all 4.

Am I totally missing the point?  Should I give some example code?  Is there
a book on programming the serial device?  The 1.3RKM:Libs&Devs doesn't say
too much on sharing and I don't have the autodocs or hardware manuals.

Any help would be greatly appreciated...

Thanks

Thyss@cup.portal.com   or  ucbvax!sun!portal!cup.portal.com!thyss
Technical Details
Message-ID: <31946@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!portal!cup.portal.com!Thyss

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!portal!cup.portal.com!Thyss
From: Thyss@cup.portal.com (Brian TT Fudge)
Newsgroups: comp.sys.amiga.tech
Subject: Sharing the serial device
Message-ID: <31946@cup.portal.com>
Date: 21 Jul 90 06:08:41 GMT
Organization: The Portal System (TM)
Lines: 23