From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-10-01T05:20:14+09:00 Subject: Re: How to get a character from keyboard? David Vallner wrote: > Use curses. > > Curses.getch is the method you're looking for. i do have about the same kind of prob. say, i've a ruby script having two to four arguments, after having parsed them if i do a : r = gets.chomp (i'm looking for a full YES) i get an error : /Users/yvon/bin/chgext.rb:23:in `gets': No such file or directory - -a (Errno::ENOENT) line 23 being : r = gets.chomp the "-a" being the first arg of the script called like that : ~%> chgext.rb -a html shtml could curses solve my prob here also ??? -- une b�vue