Is there a simple way for a ruby script to know the size of the space
it has to work with  Would I be forced to use ncurses or some such?

I see that i have environment variables like COLUMNS and ROWS .. but I
don't know how to get this information into a script.  For example,
ENV['ROWS'] does not work..