<snip>
Maybe you want to check out Terminator?
http://rubyforge.org/frs/?group_id=1024&release_id=26322
or
http://codeforpeople.com/lib/ruby/terminator/

I cannot make promises but Ara is probably *the* guy to come up with a
solution for that kind of problem.

HTH
Robert
-- 
Toutes les grandes personnes ont dbord des enfants, mais peu
dntre elles sn souviennent.

All adults have been children first, but not many remember.

[Antoine de Saint-Exupy]