From: Brian Candler Date: 2009-07-23T06:24:57+09:00 Subject: Re: Telnet Ruby Amogh Gonwar wrote: > I am able to use the script with a single prompt. > I am unable to make use of multiple prompts.. That's not a description of your problem. * Post a minimal code example which replicates the problem * Show where it goes wrong For example (this is just a guess): you've written some code which connects to a device, sends one command, receives the reply, sends another command. However it hangs after receiving the first reply. So you want to know why it's hanging. So show the code, with the extra STDERR.puts debugging statements you've put in, so we can see exactly at what point it hangs. -- Posted via http://www.ruby-forum.com/.