Issue
Trying to learn how to use terminal here.
So I can use ctrl-z to pause other processes, but for some reason it does not work in nano. Why that would be?
Solution
This can be easily done by masking the SIGTSTP signal:
#include <signal.h>
signal(SIGTSTP,SIG_IGN); /* disable ctrl-Z */
That's what nano is doing, apparently.
If you want nano to allow you for suspending it with ctrl-z you can put the line:
set suspend
into your $HOME/.nanorc
.
Answered By - piokuc Answer Checked By - Candace Johnson (WPSolving Volunteer)