From: The Resident Drunk Date: 2002-08-22T06:24:20+09:00 Subject: Re: Ruby Bot On Tue, 2002-08-20 at 01:09, Giuseppe Bilotta wrote: > > again this is unix specific... in windows it's in c:\windows\lmhosts > > iirc. /etc/hosts hold the ip <-> name solution lijnes for machines that > > are on your local network usually as I have indicated below. > > > > 192.168.0.1 firewall.summerfield-technology.co.uk fw > > 192.168.0.2 dev.summerfield-technology.co.uk dev > > etc > > etc > > Can I just copy the windows one to where linux expects it? I would presume so the two files are exactly the same iirc or you could just modify the code to look in \windows if it's running under win etc but i don't know what else u would need to change > > > > And even when creating this file it failed by saying that the > > > required address was not valid for its context. > > > > What i'm going to do is if i get time tonight i'm going to d/l ruby for > > windows and rbot (again :) ) and i'll have a go... I'll keep you all > > posted as to how i get on. > > Thank you very much. np, i haven't had time to do it yet ;) but it's on my list of things to do. I'm trying to rewrite a yahoo chat client atm... and yes it's in ruby :) regards charles