From: "Raveendran .P" Date: 2010-07-14T18:40:28+09:00 Subject: Re: gets() -- Need to skip when no response after 20seconds Hi, Thanks Park. Your code helps me to complete the task. If any other solution please update here... The below code also not working in Windows XP and Ruby 1.8.7 >> if select([$stdin], nil, nil, 20) >> p gets >> end -- Posted via http://www.ruby-forum.com/.