B19 - System.in doesn't work right in Java on NT

Paul Tomblin ptomblin@bluelobster.com
Fri Apr 10 04:23:00 GMT 1998


I have a little Java program that reads from System.in (stdin)
and writes to System.out (stdout), and it works fine in a DOS
window but in a bash window it never gets the input.  Everything
I type ends up being delivered to bash after the java program
exits.  This does not happen with real bash under Linux.
-- 
Paul Tomblin or an amazingly lifelike simulation. 
ptomblin@bluelobster.com
Blue Lobster Software http://www.bluelobster.com/
"Wonderful lobster, the Australian Blue.  Beautiful carapace."
ReadStdinNoThread.java

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReadStdinNoThread.java
Type: text/x-c
Size: 721 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980410/f2107880/attachment.bin>


More information about the Cygwin mailing list