From: RLMuller@... (Richard) Date: 2003-06-09T08:17:37+09:00 Subject: Using 'gets' with SciTe under Win2000 Hi All, The following runs fine in a Command window: print "Enter text: " while gets chomp! puts 'Got "' + $_ + '"' print 'Enter more: ' end But running it in the SciTe 1.41 environment with Ruby 1.6.8, I get: Enter text: IO_Test1.rb:2:in `gets': Bad file descriptor (Errno::EBADF) I've asked about this before on this NG, but wonder if anybody has an idea about how to make this work under SciTe. It's my guess that SciTe doesn't want to put a cursor in its output pane and accept keystroke that it could pipe into the stdin stream. Is that the end of the story? Is there a more appropriate NG to post this question? TIA, Richard