From: Nguyen Huu Bach Date: 2006-09-20T12:55:06+09:00 Subject: Re: Single character input without pressing 'Enter' This is a simple way to achieve that. Maybe there are others def read_char system "stty raw -echo" STDIN.getc ensure system "stty -raw echo" end good luck unni.tallman wrote: > how can i read input from stdin, char by char, i want to get the > character as soon as it is entered, without having to press 'Enter' > after each character. > > > >