From: Nit Khair Date: 2008-10-14T20:39:46+09:00 Subject: Re: Unable to trap C-z, C-y, C-s and C-q Ron Fox wrote: > probbably best to set the terminal to raw mode if this is unix as I > suspect. http://www.rubyquiz.com/quiz5.html > shows an example of this. Search for the read_char method or just > for the string 'raw'. > > Ron. Thanks to your tip, I just checked curses.raw(), and *there* it is !!! Just what I needed. ------ curses.raw() Enter raw mode. In raw mode, normal line buffering and processing of interrupt, quit, suspend, and flow control keys are turned off; characters are presented to curses input functions one by one. ------ -- Posted via http://www.ruby-forum.com/.