Re: "read -s -n999 -t0.01 key" hangs until keypress

2023-10-17 Thread Bodo Thiesen
* Koichi Murase hat geschrieben: > 2023年10月18日(水) 0:01 Chet Ramey : >> He claims to have tested on bash-5.2. I just can't reproduce it. > Oh..., I somehow thought they were both 5.1 (5.1.16 and 5.1.15). I > didn't notice my misreading even when I extracted the quoted part. > Thanks for pointing i

"read -s -n999 -t0.01 key" hangs until keypress

2023-10-12 Thread Bodo Thiesen
Hello list. The following script can be used to reproduce the problem. It seems to be related to sub-processes terminating at the "wrong" moment. The symptom: The script runs for some time counting up until at some moment the script hangs in the read function. Once this happens, the timeout is no