[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 17:42:17 -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 10:04 AM, Ayappan P2 wrote:
> We are passing SIGHUP from another terminal ( not from the terminal which
> has the interactive bash shell) . The terminal which has the interactive
> bash closes immediately.
>
> The scenario is we just open two terminals. In one terminal , just invoke
> bash . And from another terminal pass SIGHUP to the parent process (ksh) of
> bash.
That part is all fine, it's the fact that bash gets SIGHUP when it calls
tcsetattr(), when SIGHUP isn't one of the signals that is documented as
valid for tcsetattr().
--
``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/
- Re: Issue with Bash,
Chet Ramey <=