From: alexandre.abreu@... (Alexandre Abreu) Date: 2002-01-09T02:40:11+09:00 Subject: Re : Once again, Net::Telnet problems with QNX 4.24 One additional precision : The "guilty" line that throw a "Timeout" exception in the Telnet class is in the method waitfor() : until(prompt === line and not IO::select([@sock], nil, nil, waittime)) unless IO::select([@sock], nil, nil, time_out) >> raise TimeoutError, "timed-out; wait for the next data" This method was called by login : if block_given? line = waitfor(/login[: ]*\z/n){|c| yield c } if password line += cmd({"String" => username, "Match" => /Password[: ]*\z/n}){|c| yield c } line += cmd(password){|c| yield c } else line += cmd(username){|c| yield c } end else >> line = waitfor(/login[: ]*\z/n) (RubyWin gave me these informations after the exception occured). I use Ruby version 1.6.5 (from the cygwin pack). Alexandre Abreu