From: ts Date: 2006-09-08T00:59:42+09:00 Subject: Re: Telnet and 'waitfor' >>>>> "D" == David Corticchiato writes: D> telnet_session.login('LoginPrompt' => 'User Name', telnet.rb use String#===, in your case, with LoginPrompt moulon% ruby -e 'p "User Name" === "User Name :"' false moulon% moulon% ruby -e 'p "User Name :" === "User Name :"' true moulon% try to give it a regexp D> 'PasswordPrompt' => 'Password', Guy Decoux