Rilindo Foster wrote: > Not to ask you to think about a different solution, but since you are > sending input based on certain output values, would the Ruby Expect > method be more appropriate? I'd say that Net::Telnet is the right tool for the job here - he's telnetting to a device. The Net::Telnet class deals with a lot of telnet protocol issues for you. -- Posted via http://www.ruby-forum.com/.