From: Roger Pack Date: 2008-07-25T14:19:32+09:00 Subject: Re: how to disable ctrl + c key in ruby on rails Sujith Gangaraju wrote: > I am showing document in browser > i want to disable the copy option ctrl + c key in ruby > please help me out Might work to do it the traditional Ruby way: http://betterlogic.com/roger/?p=110 windows: trap :INT, proc { ‘ha got your ctrl-c!’ } and linux trap ”SIGUSR1″, proc {’got it in linux, too’} I think. Maybe add to environment.rb? -- Posted via http://www.ruby-forum.com/.