From: Nit Khair Date: 2008-10-14T04:14:16+09:00 Subject: Re: Unable to trap C-z, C-y, C-s and C-q Nit Khair wrote: > I need to trap ^Y, ^Z, ^S, ^Q etc in my app. Have googled a lot but > unable to find anything. > I finally found a workaround. On unix prompt did: stty dsusp undef stty susp undef Now my program catches c-y and c-z. However, is there are pure ruby way of doing this. googling reveals examples where "system stty ..." is being used. -- Posted via http://www.ruby-forum.com/.