When you type CTRL-c, you're sending the
\, works similarly but also
Of course, it's possible for the signal handler to do something else entirely: it's possible for the program to decide not to quit, or to implement some truly bizarre feature. In fact, editors like vi or Emacs almost always ignore most signals. Thecommand handles signals in the Bourne shell.
Whenever you send a signal from the keyboard, it's sent to all processes in the same. This may include the program's child processes, but may not. And, of course, child processes can choose to ignore signals on their own. But more often than not, killing the parent process kills its children.
Article 5.9 explains how to set the key that sends these and other signals. The command also sends signals.