in reply to Re: How to determine terminal size when piped data to STDIN?
in thread How to determine terminal size when piped data to STDIN?

Also, you can specify 'size' to avoid parsing;
($rows, $cols) = split ' ', qx"stty size </dev/tty 2>/dev/null";

Replies are listed 'Best First'.
Re: Re: Re: How to determine terminal size when piped data to STDIN?
by mushu (Initiate) on Nov 15, 2003 at 01:06 UTC
    OMG!!!!!!! You _ARE_ a Perl Monk!!!! IT WORKED!!! <jumping up and down for real> I utterly can't believe it...I bow to you...Thank you _so much_ for sharing your knowledge!!
    I truly thought there was no way to solve this...I am ashamed for doubting Perl...