From: Magician White Date: 2008-01-27T01:24:42+09:00 Subject: Re: Ruby Program dont STOP Philipp Hofmann wrote: > hi, > > instead of working with an infinite loop, you could trap the Crtl-C > signal to make your loop come to an end. > > stop = false > trap('INT') { stop = true } > > until stop > # do your string stuff > end > > g phil Work perfect :D Where can i find more info about the trap command ? -- Posted via http://www.ruby-forum.com/.