Thank you so much. The solution for my case lies in ncurses or related
libraries (rbcurse, ffi-ncurses)...

On Wed, Apr 20, 2011 at 4:59 PM, Urabe Shyouhei <shyouhei / ruby-lang.org> wr=
ote:
> (04/20/2011 07:57 PM), Arun Kumar wrote:
>> Hello all,
>> =A0 =A0 I wanted to know how to accept control characters such as ESC, F=
1,
>> F2 from a command line in Ruby. I'm working on Opensuse (11.1) Linux.
>>
>
> http://c-faq.com/osdep/cbreak.html
>
> (hint: Ruby is written in C)
>
>



--=20
Cheers & Regards,
Arun Kumar M S
Systems Engineer,
AVK systems,
IIIT-B campus,
Electronic city,
Bangalore
www.avksystems.com