On 2/21/23 8:21 AM, Koichi Murase wrote:
2023年2月21日(火) 20:28 Koichi Murase <myoga.mur...@gmail.com>:
I recently noticed that `checkwinsize' stopped working in the trap
string and the `bind -x' context from Bash 5.2, which broke my script.
The behavioral change in the trap handlers and `bind -x' seems to have
been introduced in the following commit.
So the question reduces to whether checkwinsize should be processed while
readline has the terminal, period. I agree it should if job control is
enabled, since the process that has the terminal pgrp will get the
SIGWINCH (otherwise everyone gets it and can react accordingly). Trap
actions and `bind -x' commands are probably safe; users expect those to
have side effects.
I think we could probably allow it during programmable completion, too. I
don't know if it will provide any user benefit, though.
--
``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/