From: Arun Kumar Date: 2011-04-21T02:40:19+09:00 Subject: Re: Control characters in ruby 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 wrote: > (04/20/2011 07:57 PM), Arun Kumar wrote: >> Hello all, >>     I wanted to know how to accept control characters such as ESC, F1, >> 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) > > -- Cheers & Regards, Arun Kumar M S Systems Engineer, AVK systems, IIIT-B campus, Electronic city, Bangalore www.avksystems.com