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: <20020220045714.48829.qmail@web20005.mail.yahoo.com> Date: Tue, 19 Feb 2002 20:57:14 -0800 (PST) From: Joshua Franklin Subject: Re: cygwin! To: cygwin AT cygwin DOT com Cc: Randall R Schulz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii DISCLAIMER: I am not a professional java developer >There is exactly no advantage to using CMD.exe to >initiate a Java SDK tool, or the Java interpreter of >JRE. I was under the impression that interacting with java's BufferedReader, etc. from within a cygwin bash shell was a Bad Idea because of different tty handling or something. I casually read the thread a while back, and I thought I'd run into the problem before I switched to java on linux. >I have no idea what a Java ".exe" file might be Me either. :) That was my fault, it was a quick suggestion to someone who emailed me off-list with a cygwin java question. (Obviously not a bright idea.) I should have said something like: cmd /c "java javaprog.java" but I don't even know if that would work since I've only got a JDK on a linux machine right now. > >--- "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/