From: Eric Hodel Date: 2007-01-31T15:30:48+09:00 Subject: Re: Net::HTTP Closes STDIN On Jan 30, 2007, at 19:08, James Edward Gray II wrote: > On Jan 30, 2007, at 5:28 PM, ara.t.howard@noaa.gov wrote: >> this could get tricky to debug! > > Bingo. It's actually a pretty significant problem for HighLine > because after you do something like fetching a web page, HighLine > believes $stdin to e closed and won't allow you to ask the user any > more questions. I fear we will need to disable HighLine's eof?() > check the work around this. Then it sounds like HighLine needs to check #closed? or continue reading until IOError. If #eof? returns true you've read everything you could up to now. Nothing prevents more data from appearing on the socket after you've checked for #eof?.