added signals to README

This commit is contained in:
whaffman 2025-02-19 12:17:27 +01:00
parent c368cf80ea
commit 2add37e72a

View File

@ -38,6 +38,22 @@ A lot of amazing shell stuff
- CB command to change banner - CB command to change banner
- __Bonus:__ Command tree for &&, ||, * - __Bonus:__ Command tree for &&, ||, *
## Signals
### In interactive mode
- `ctrl - C` redisplay prompt status 130
- `ctrl - D` exit shell
- `ctrl - \`
### During process
- `ctrl - C` SIGINT to processs status 130
- `ctrl - D`
- `ctrl - \` SIGQUIT to process core dumped status 131
### During HEREDOC
- `ctrl - C` redisplay prompt status 130
- `ctrl - D` SEND EOF error displayed but still works status:0
- `ctrl - \` nothing
## Allowed Functions ## Allowed Functions
### `<readline/readline.h>` ### `<readline/readline.h>`