From: Junkone Date: 2007-12-26T06:25:01+09:00 Subject: challenged with signal Hello I am playing around with the jabber bot fron the link http://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 # Wait for the USR1 signal and read a message from ~/.jbot/message trap("USR1") { begin bot.deliver(bot.master,File.new(File.join(home, "message")).read) rescue Exception => e puts e end