From: Frank Hofmann Date: 2006-08-30T19:37:15+09:00 Subject: Re: ENV values Hi Paul, hi Tom, thanks for your hints. :) The ncurses solution didn't work, WINDOW method isn't known. But no problem, I'm glad about every idea. :) In the meanwhile I've solved the problem by using `stty`. ===---===---===---===---===---=== #!/usr/bin/ruby -w c = `stty size`.chomp c =~ /\s/ lines, columns = $`, $' ===---===---===---===---===---=== Frank -- Posted via http://www.ruby-forum.com/.