From: Conrad Schneiker/Austin/Contr/IBM Date: 2000-11-13T15:59:36+09:00 Subject: [ruby-talk:6302] Re: quiz of the week Mark Slagell writes: # Mathieu Bouchard wrote: # > # > > > now try this one!!! # > > > eval '^' # > > Yeah, try it under Windows 98 ... kaboom! # > # > kaboom? ruby, or the whole os? # > # > here it does infinite loop... # > # > matju # # The whole OS. Probably it just reflects on how unpredictably W98 can # behave when an app does something wrong. I just tried it again and was # able to close the cygwin window from the outside - but the first time it # blew everything away, wouldn't let me switch windows or bring up the # task manager or anything, I had to reset. Probably NT is a bit more # trustworthy about such things? Correct guess. NT also goes into an infinite loop, which can be seen by looking at the task manager's CPU % display. However, under both the Command Prompt window and the Cygwin B20 window (aka bash), ^C also stops working, unlike when you do a deliberate infinite loop: ruby -e "loop { puts 'Still busy!' }" # I normally use Linux, and am going # through a little microsoft-experimentation phase. Doubtless it'll pass # quickly... Interesting multiple ambiguity.... Conrad Schneiker (This note is unofficial and subject to improvement without notice.)