-------- Original-Nachricht --------
> Datum: Thu, 4 Sep 2008 05:40:43 +0900
> Von: Kenneth McDonald <kenneth.m.mcdonald / sbcglobal.net>
> An: ruby-talk / ruby-lang.org
> Betreff: How to read a character at a time from STDIN without needing to press return key?

> In the following bit of code:
> 
> print STDIN.getc
> STDOUT.flush
> 
> The code for whatever key I type isn't actually printed out until I go  
> on to hit the return key. How can I have it printed as soon as I type  
> a character key?
> 
> Thanks,
> Ken

Dear Ken,

I found this thread : http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/78856
about the same question ....

Best regards,

Axel 

-- 
GMX Kostenlose Spiele: Einfach online spielen und Spa? haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196