Ross,

Forget about vtk, put it this way. Save this in a script and run it by 
irb:

i = 1
while 1
puts i
end

It doesn't allow you to add any more command lines unless the 
never-ending while-loop is over. Wrapping this in a thread does not help 
it too:

Thread.new{
i = 1
while 1
puts i
end
}

All I want to do is to have the while loop, and then enter

i = 2

in the command line to get 2 printed.

-- 
Posted via http://www.ruby-forum.com/.