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 |
X-Authentication-Warning: | rac2.wam.umd.edu: chintu owned process doing -bs |
Date: | Tue, 19 Feb 2002 13:49:35 -0500 (EST) |
From: | Pramod Mambalam <chintu AT wam DOT umd DOT edu> |
To: | cygwin AT cygwin DOT com |
Subject: | inputstream! |
Message-ID: | <Pine.GSO.4.21.0202191348510.4786-100000@rac2.wam.umd.edu> |
MIME-Version: | 1.0 |
i'm sorry, but i just had this question and i thought you might be able to help me. 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. any help would be greatly appreciated. thanks. -- 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 |