You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Download the attached java program.
2. Compile it (javac ConsoleTest.java)
3. Run it from mintty (java ConsoleTest)
What is the expected output? What do you see instead?
Under mintty, System.console() returns null, indicating that there is no
'Console' object available (see
http://download.oracle.com/javase/6/docs/api/java/io/Console.html). This is
not a Windows or Cygwin issue - the same test will work under raw cmd.exe or
Cygwin in cmd.exe.
What versions of mintty, Cygwin/MSYS, and Windows are you using?
mintty: 0.9.2
Cygwin: 1.7.7
Windows 7 Professional
Please provide any additional information below.
Results of 'java -version':
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
Original issue reported on code.google.com by kwcorco...@gmail.com on 17 Jan 2011 at 8:16
The problem is common to all Cygwin terminals using pseudo terminal (pty)
devices, which Cygwin implements using Windows pipes. The underlying reason is
that Windows doesn't have an interface that would allow to emulate a console.
See issue 56 for details.
Original comment by andy.koppe on 23 Jan 2011 at 7:40
Original issue reported on code.google.com by
kwcorco...@gmail.com
on 17 Jan 2011 at 8:16Attachments:
The text was updated successfully, but these errors were encountered: