Ctrl-C and Ctrl-Z behavior incorrect
Using Bash for better consistency between Redox and Linux, do the following:
- Use bash as the shell
- Copy the script below into a file on Redox, and make it executable
- Run the script
- Type Ctrl-C to send a SIGINT, the script is not interrupted
- Type Ctrl-Z, the script is paused
- Type kill %1 as a Bash command to send SIGINT to the program, the script resumes
#!/usr/bin/bash
while true
do
cat /etc/passwd
done