On 10/7/20 3:50 AM, Hyunho Cho wrote:
> < bash-5.0 >
> 
> $ read rows cols < <(stty size)

These are all the same issue. It's the same thing described in

https://lists.gnu.org/archive/html/bug-bash/2020-09/msg00024.html

I'll see if there is a partial solution to the issue that doesn't require
stdin to be set to /dev/null. You end up with this weird hybrid: an
asynchronous non-job-control process still connected to the terminal.


> < bash-5.0 >
> 
> $ ( trap 'uname' CHLD; date )
> Wed Oct  7 16:39:55 KST 2020
> Linux
> 
> < bash-5.1-rc1 >
> 
> $ ( trap 'uname' CHLD; date )           # some strange warning messages appear
> Wed Oct  7 16:40:05 KST 2020
> Linux
> bash: warning: run_pending_traps: recursive invocation while running
> trap for signal 17

You're comparing a debug message from a non-release version with a release
version.

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

Reply via email to