Where can I find a complete list of the keyboard combinations which send signals in Linux?
- Ctrl+C - SIGINT
- Ctrl+\ - SIGQUIT
The Linux N_TTY line discipline only sends three different signals: SIGINT, SIGQUIT, and SIGTSTP. By default the following control characters produce the signals:
You can use
stty to check or change the characters that generate signals.
$ stty -a | grep -Ewoe '(intr|quit|susp) = [^;]+' intr = ^C quit = ^\ susp = ^Z
intr (interrupt) generates
susp (suspend) generates
stty -a will also show things like
start = ^Q; stop = ^S; and
erase = ^? (backspace), which don't send signals but affect the terminal layer otherwise.
stty will show the non-default settings and e.g.
stty intr ^Q would change the interrupt character to
^Q instead of
^L (form feed, new page) is not a terminal feature, but a character often used by applications to ask for a redraw the view, rechecking the window size at the same time.