Message-ID: <006a01bee769$8d012f40$0a01a8c0@dchrist.dnai.com> From: "David Christensen" To: Subject: Re: djgpp, Win98, Perl, and serial port Date: Sun, 15 Aug 1999 14:59:44 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com Eli: Thanks for the reply :-) >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. OK I'll add it to the list of things to try :-) >Btw, why did you need O_EXCL? I've done C/C++ serial stuff under Win32, and the API docs recommend opening the serial port in exclusive mode to avoid the confusion of two processes/ threads trying to use one port at the same time. I just assumed that the same principal applied to DOS. Am I missing something here? BTW Perl -V indicates "djgpp v2 port (perl5004) by Laszlo Molnar, 1997". Do you know which newsgroup(s) he Laszlo hangs out on? David Christensen dchrist AT dnai DOT com