| 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: | <20020219200029.14105.qmail@web20004.mail.yahoo.com> |
| Date: | Tue, 19 Feb 2002 12:00:29 -0800 (PST) |
| From: | Joshua Franklin <joshuadfranklin AT yahoo DOT com> |
| Subject: | Re: cywin! |
| To: | "pramod m." <chintu AT wam DOT umd DOT edu> |
| Cc: | cygwin AT cygwin DOT com |
| In-Reply-To: | <000801c1b977$6c715ce0$60160880@7swr30b> |
| MIME-Version: | 1.0 |
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." <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 |