delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/15/09:31:41

From: Markus DOT Maeder AT siemens DOT ch (Markus Maeder)
Subject: Opening COM2
15 May 1997 09:31:41 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.1.32.19970515074957.0094c100.cygnus.gnu-win32@dilbert>
Mime-Version: 1.0
X-Sender: maederma AT dilbert
X-Mailer: Windows Eudora Light Version 3.0.1 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Bob Wilson posted a message some time ago with some C source lines:

        if ((comfd = open("com2", O_RDWR | O_TEXT)) <= 0) {
            fprintf(stderr, "Cmd: Unable to open terminal\n");
            exit(1);
        }

He stated, this doesnt function under b17. open hangs...

It seems, that this doesn't work under b18 either. Is there a patch?

Regards,
Markus



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019