From: Pistos Christou Date: 2006-05-22T06:30:02+09:00 Subject: Re: Detecting console dimensions Sy Ali wrote: > Yes, there are a few reasons why I'm gun-shy. > * Learning something new (which distracts from my learning other things) > * Adding a dependancy to the script. > * Assuming ncurses works, and works the same, everywhere. You're right that it's not everywhere. In particular, Debian (and spinoffs) want to make curses a separate package than the Ruby package. :( But, AFAIK, it works the same everywhere with the exception of the Windows platform. The learning part is trivial, because I could tell you the three to five lines you need to get the dimensions. Anyway, hope you figure out your problem. Pistos -- Posted via http://www.ruby-forum.com/.