On 7 Aug 2007, at 19:20, James Edward Gray II wrote:

> I'm told the following bit of code doesn't work on Solaris:
>        `stty size`.split.map { |x| x.to_i }.reverse
>
> James Edward Gray II
>

If it helps, the output from stty looks like the following:

-bash-3.00# stty size
unknown mode: size
-bash-3.00# stty
speed 38400 baud; -parity
rows = 24; columns = 80; ypixels = 0; xpixels = 0;
eol = -^?; eol2 = -^?; swtch = <undef>; flush = -^?; lnext = -^?;
brkint -inpck -istrip icrnl imaxbel onlcr tab3
echo echoe echok echoctl echoke iexten

Had a quick look at the man pages, there doesn't seem to be an alias  
for size.

The man pages are also on the Sun site here: http://docs.sun.com/app/ 
docs/doc/816-5165/6mbb0m9tb?a=view

Hope this is of some help.

Douglas F Shearer
http://douglasfshearer.com