[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash spews bracketed-paste escape sequences when handling signal.
From: |
Chet Ramey |
Subject: |
Re: Bash spews bracketed-paste escape sequences when handling signal. |
Date: |
Wed, 18 Dec 2024 15:48:21 -0500 |
User-agent: |
Mozilla Thunderbird |
On 12/18/24 1:27 PM, Kaz Kylheku wrote:
What remains is the question why I somehow cannot get my
stuff to work with a different signal like SIGUSR1 or SIGVTALRM.
Bash will not take them while it's sitting in the call to readline.
Something is indeed messed up in your execution environment.
Let's try killing an interactive shell sitting in readline() from another
terminal:
$ echo $BASH_VERSION
5.2.37(6)-release
$ trap
$ echo $$
30762
User defined signal 1: 30
[shell terminates]
Now let's try killing an interactive shell that's not sitting in readline()
with the same fatal signal:
$ echo $BASH_VERSION
5.2.37(6)-release
$ trap
$ kill -USR1 $$
User defined signal 1: 30
[shell terminates].
--
``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/
- Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/14
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/14
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/15
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/15
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal.,
Chet Ramey <=
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/19
- Re: Bash spews bracketed-paste escape sequences when handling signal., Robert Elz, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/19