[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:04198] Control-Z under Windows

From: Andrew Hunt <Andy@...>
Date: 2000-07-24 23:39:35 UTC
List: ruby-talk #4198


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...
--

In This Thread

Prev Next