Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020219200029.14105.qmail@web20004.mail.yahoo.com> Date: Tue, 19 Feb 2002 12:00:29 -0800 (PST) From: Joshua Franklin Subject: Re: cywin! To: "pramod m." Cc: cygwin AT cygwin DOT com In-Reply-To: <000801c1b977$6c715ce0$60160880@7swr30b> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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." 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/