From: Ian Macdonald Date: 2002-05-15T03:40:01+09:00 Subject: querying for the terminal size Hi, I would like to obtain the current terminal size (rows x columns) from within Ruby, but I can't figure out a reasonable way to do it. Something tells me I should be able to use the termios library for this, but I can't quite figure out how to do it. Any ideas? Ian -- Ian Macdonald | Everything should be built top-down, except ian@caliban.org | the first time. | | |