Re: behavior of the QUIT character (^\) in the shell command line

2022-12-17 Thread Robert Elz via austin-group-l at The Open Group
Date:Sat, 17 Dec 2022 22:20:20 +0100 From:"Vincent Lefevre via austin-group-l at The Open Group" Message-ID: <20221217212020.ga388...@zira.vinc17.org> | What is the behavior of the QUIT character (^\) when typing a command | in an interactive sh shell? As you

behavior of the QUIT character (^\) in the shell command line

2022-12-17 Thread Vincent Lefevre via austin-group-l at The Open Group
What is the behavior of the QUIT character (^\) when typing a command in an interactive sh shell? https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html just says that if the shell is interactive, SIGQUIT shall be ignored. Results with various POSIX and non-POSIX shells: With bash

is waitid() intentionally not required to be async-signal-safe?

2022-12-17 Thread Philip Guenther via austin-group-l at The Open Group
I just noticed that waitid() is not included in the list of async-signal-safe interfaces, at least as of TC2. Was that an intentional decision or an oversight? Is there a known existing implementation where it isn't? (...or did I miss an existing bug about this?) Philip Guenther