From: Sebastian Hungerecker Date: 2007-11-24T02:27:42+09:00 Subject: Re: Problem getting user input Peter Vanderhaden wrote: > If I use gets, the script just prints the prompt and seems to end. I see in your script that ARGV is not empty. That means Kernel#gets is gonna read from the files in ARGV and not from stdin. To rectify that use $stdin.gets instead. Or empty ARGV before you call gets. HTH, Sebastian -- NP: In Flames - Artifacts Of The Black Rain Jabber: sepp2k@jabber.org ICQ: 205544826