Date: Sun, 15 Aug 1999 13:47:57 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: David Christensen cc: djgpp AT delorie DOT com Subject: Re: djgpp, Win98, Perl, and serial port In-Reply-To: <37b4a540@news5.newsfeeds.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 13 Aug 1999, David Christensen wrote: > 1. It prints "entering while loop ..." and then hogs the machine > (typing on Hyperterminal 2 doesn't show up in Bash; ctrl+C, > ctrl+D, and ctrl+Z don't work; need 3-finger salute to kill it), or > > 2. It prints "entering while loop ...", prints "leaving while loop > ...", and then exits (encountered EOF on HANDLE?). I don't know anything about how Perl implements the functions you are trying to use (e.g., what exactly does `sysopen' do). It seems like a good idea to write a short test C program that does similar things and see what happens. Then we will at least know whether the problems are in DJGPP or in Perl. Btw, why did you need O_EXCL?