Hi.

"Brondo, Greg" <Greg.Brondo / allegiancetelecom.com> did say ...

> Is it possible that in the ruby-installer version of ruby (1.7.3) that
> Net::Telnet.waitfor is broke?  I cannot make it work to save my life. 
>
It works for me on Win2k (ruby 1.7.3 (2002-11-17) [i386-mswin32]).

Can you post your troublesome code?

The way I use it is similar to:

  conn = Net::Telnet.new('Host' => '192.168.0.1', 
                         'Timeout' => 60,
                         'Port'=> 23)
  conn.write("\n") 
  conn.waitfor("\<")

Regards,

-- 
-mark.

----------------------------------------------------
Mark Probert      probertm / NOSPAM_nortelnetworks.com
Nortel Networks   ph.          (613) 768-1082
----------------------------------------------------

All opinions expressed are my own and do not
reflect in any way those of Nortel Networks.