diff --git a/NOTES.md b/NOTES.md index cf56809..9914ae1 100644 --- a/NOTES.md +++ b/NOTES.md @@ -530,6 +530,19 @@ usage, generally invalid options or missing arguments. The exit status of the last command is available in the special parameter $?. +#### Signals +cf. 3.7.6 Signals + +When Bash is interactive, it ignores 'SIGTERM' (so that 'kill 0' does not kill +an interactive shell), and 'SIGINT' is caught and handled. When Bash receives a +'SIGINT', it breaks out of any executing loops. In all cases, Bash ignores +'SIGQUIT'. Bash ignores 'SIGTTIN', 'SIGTTOU', and 'SIGTSTP'. + +NOTE: The behaviour on when ^C is printed seems strange, investigate further +once we implement this + +TODO: investigate this further, this seems very complicated + ## Definitions cf. [Bash Reference Manual](https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Definitions) cf. 2 Definitions