delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <joshuadfranklin AT yahoo DOT com> |
Subject: | Re: cygwin! |
To: | cygwin AT cygwin DOT com |
Cc: | Randall R Schulz <rrschulz AT cris DOT com> |
MIME-Version: | 1.0 |
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." <chintu AT wam DOT umd DOT edu> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |