bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in select-command


From: Chet Ramey
Subject: Re: Bug in select-command
Date: Sun, 25 Jun 2017 12:27:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 6/24/17 7:46 AM, skynet@top-email.net wrote:
> It is necessary to refresh the variable $COLUMNS in a script (COLUMNS="tput 
> cols") otherwise the command "select" will not set the number of columns 
> correctly for actual screen resolution.
> 
> Information:          checkwinsize    on

I can't see anywhere in the script where you set the checkwinsize option,
so I can't see what you think the effect should be of having it set in
the parent shell.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]