From: Andrew Hunt Date: 2000-07-24T19:39:35-04:00 Subject: [ruby-talk:04198] Control-Z under Windows Hi all, Dave and I have discovered different behavior under Windows. C:\> ruby puts "hello world" ^Z hello world Workd fine on my Win95 box, but on Dave's NT box, the Control-Z does nothing -- it just sits and waits. He can type a Control-D (as with Unix) and it works okay; if I type a Control-D I get the little diamond. Both are cygwin builds of Ruby. What *is* the correct behavior in this case? Should one always type Control-D for EOF regardless of platform, or should it be platform specific? Thanks as always... /\ndy -- Andrew Hunt, Toolshed Technologies, Inc. Innovative Object-Oriented Software Development web: http://www.toolshed.com email: andy@toolshed.com -- Our New Book: "The Pragmatic Programmer" Published by Addison-Wesley Oct 1999 (see www.pragmaticprogrammer.com/ppbook) Now in it's Second Printing... --