Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16683

Re: Issue with Bash

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Issue with Bash
Date 2020-08-02 18:50 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.610.1596408618.2739.bug-bash@gnu.org> (permalink)
References (6 earlier) <76d97603-ac8b-1952-cb10-f178fd8989db@case.edu> <OF45ED3104.7A08B8C2-ON002585B6.004C26CF-652585B6.004D45B3@notes.na.collabserv.com> <5f08f49d-e8d3-fe63-d9f5-27bea4e78e55@case.edu> <1596238069.1058.29.camel@16bits.net> <2d5973c9-a800-ff7e-edab-e4c983df69bf@case.edu>

Show all headers | View raw


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).

Chet

-- 
``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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Issue with Bash Chet Ramey <chet.ramey@case.edu> - 2020-08-02 18:50 -0400

csiph-web