delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/29/02:56:11

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: B19: Java readLine not blocking
29 Jun 1998 02:56:11 -0700 :
Message-ID: <01BDA331.83A8E190.cygnus.gnu-win32@sos>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Kenneth Suter'"
<Kenneth DOT Suter AT INNOSOFT DOT COM>

Kenneth Suter wrote:
> Java readLine from BufferedReader does not block for input, at least
> under NT 4.0 and Beta 19.  It does however work in the DOS shell.
>

Looks like readLine code uses ReadConsole() instead of 
ReadFile(stdin_handle). This case the application is incompatible with 
cygwin's tty support. Try to remove "tty" from CYGWIN32 env var.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
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