[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checkwinsize only works in interactive shells
From: |
Chet Ramey |
Subject: |
Re: checkwinsize only works in interactive shells |
Date: |
Fri, 11 Jan 2013 16:51:46 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
On 1/11/13 4:46 PM, DJ Mills wrote:
> Will they still be updated on WINCH without checkwinsize, as well? And will
> they be set by default, or continue to be unset in scripts unless set
> manually?
The only thing that's changed is that checkwinsize works in non-interactive
shells. SIGWINCH still updates LINES and COLUMNS, and bash won't set LINES
and COLUMNS itself.
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/