David Vallner <david / vallner.net> 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 bue