Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!helios!summa.tamu.edu!sam4628 From: sam4628@summa.tamu.edu (Steven 'the Pilot') Newsgroups: comp.lang.pascal Subject: MS-Pascal on PC using the COM ports Message-ID: <13997@helios.TAMU.EDU> Date: 2 Apr 91 04:55:27 GMT Sender: news@helios.TAMU.EDU Reply-To: sam4628@summa.tamu.edu Organization: Academic Computing Services, Texas A&M University Lines: 6 News-Software: VAX/VMS VNEWS 1.3-4 Here's my problem: I'm trying to read/write through the COM port. As long as something is coming down the line, everything is OK, but when the line is empty, the last READ (or GET) freezes. Apparently EOF doesn't work for this type of application (it's always FALSE). Could somebody tell me the correct way to open and access the COM port (so that I can tell when there's no more data incoming)? Thanks.