On May 7, 2005, at 8:10 PM, Ryan Leavengood wrote:

> I get the same result on Windows, so I suspect Ruby is doing some  
> stuff behind the scenes. You may want to try my password prompter  
> with the getch of the curses libraries on a Unix box just to be sure.

Duh.  You're right:

$ ruby -e 'system "stty raw"; p $stdin.getc; syst "stty -raw"'
13

Thanks for the lesson.  ;)

James Edward Gray II