From: Luis Lavena Date: 2007-12-26T08:20:10+09:00 Subject: Re: challenged with signal On 25 dic, 18:23, Junkone wrote: > Hello > I am playing around with the jabber bot fron the linkhttp://nearlyfree.org/fun-jabber-bots. > > I get a error at the following code next to trap. not sure why it is > happening. i thought you could send any string to trap a signal. can > someone help. > > E:\Tools\CODE>ruby bot1.rb > bot1.rb:23:in `trap': unsupported signal SIGUSR1 (ArgumentError) > from bot1.rb:23 > The error message wasn't too descriptive? unsupported signal SIGUSR1, there you go. USR1, USR2 and TERM are unsupported signal on Windows. Only INT (INTERRUPT) is working. HTH, Luis