From: Gregory Brown Date: 2007-08-08T03:25:03+09:00 Subject: Re: Need Solaris Help On 8/7/07, James Edward Gray II wrote: > I'm told the following bit of code doesn't work on Solaris: > > # A Unix savvy method to fetch the console columns, and rows. > def terminal_size > `stty size`.split.map { |x| x.to_i }.reverse > end > > HighLine makes use of this method as does Capistrano by extension, so > we need find a portable solution. Ruport vendors this chunk of code, so sorry for the 'me too', but me too!