[Top][All Lists]

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

Re: Issue with Bash

From: Chet Ramey
Subject: Re: Issue with Bash
Date: Sun, 2 Aug 2020 18:50:08 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 7/31/20 7:27 PM, Ángel wrote:
> 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.

Maybe, but it's not documented and seems to be unique to AIX.

> Can probably be easily fixed by masking SIGHUP in the handler.

It's a little more complicated to make that happen, but that's probably
going to be the right approach (AIX-specific, of course).


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

reply via email to

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