Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
On 1/11/13 4:58 PM, DJ Mills wrote:
> As of right now, WINCH will not update COLUMNS or LINES in a
> non-interactive shell.
>
> I've had to use:
> trap 'COLUMNS=$(tput cols); LINES=$(tput lines)' WINCH
> to get that behavior.
And that hasn't changed. Maybe I should look at changing it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/