On 2020-07-31 at 10:13 -0400, Chet Ramey wrote: > > I'm going to have to test some more. When I tried it, all the shells > died. > (I did send the SIGHUP from another terminal.) I was using ksh93 as > the parent and bash-5.0.18 as the interactive bash, running on macOS.
This is probably AIX-specific in that some ioctl called by tcsetattr seems to cause a SIGHUP when there is no tty. Their behavior kinda make sense. Can probably be easily fixed by masking SIGHUP in the handler. Cheers