Well, a quick search of the cygwin mailing list about Java would have unfortunately told you that Java is not "cygwin-aware". I run javac from cmd.exe for this reason. You might try wrapping your Java program in a script like:
CMD.EXE /c "javaprog.exe" Hope it helps. --- "pramod m." <[EMAIL PROTECTED]> wrote: > if i write a simple java program that uses a > BufferedReader reader object wrapped from System.in > and then try to read a line from user and then echo > it back, cygwin for some reason already has stuff on > the stream and so without waiting for the user to > type something in the program fetches that and > prints it out (it is usually) just a newline. why > does this happen! > > i know it's not the program because it works in > djgpp and other platforms. __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/