From: Junkone Date: 2007-12-26T08:34:58+09:00 Subject: Re: challenged with signal On Dec 25, 6:18 pm, Luis Lavena wrote: > 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 thanks for letting me know. i guess i cannot trust the chm file too much. seede