This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
B19 - System.in doesn't work right in Java on NT
- To: gnu-win32 at cygnus dot com
- Subject: B19 - System.in doesn't work right in Java on NT
- From: "Paul Tomblin" <ptomblin at bluelobster dot com>
- Date: Thu, 09 Apr 1998 14:57:25 -0400
- Organization: Blue Lobster Software
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