This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

inputstream!


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]