From: "ara.t.howard" Date: 2007-10-31T03:41:44+09:00 Subject: Re: loop until a key (i.e. enter or ESC) is pressed On Oct 30, 2007, at 11:17 AM, Wurzel Cidermaker wrote: > thanks...but... > > doesn't work on my Windows XP box! > > it prints the time once, then waits for input. > > any ideas why? you can't easily multi-plex io on windows with ruby. search the archvies but, mostly, this is very slippery and you have to have a deep understanding of ruby's thread model to accomplish it. search for 'threads blocking windows' in the archives. on *nix it's quite easy - with windows you are going to have to adapt to a multi process model i think. it's hard to say without knowing the details of your program. sorry! a @ http://codeforpeople.com/ -- it is not enough to be compassionate. you must act. h.h. the 14th dalai lama