$RodHat_/search
signal reference

SIGTSTP

Stop typed at the terminal (Ctrl-Z).

Linux number
20
FreeBSD number
18
Default action
Stop the process
Catch, block or ignore
Allowed
Standard
POSIX.1-1990

The catchable version of SIGSTOP. An editor or curses program catches it, restores the terminal, then re-raises the signal with the default action so it actually stops; on SIGCONT it sets the terminal up again and redraws. That round trip is what makes Ctrl-Z in vi leave your shell usable.

Compare it

Sources

  1. signal(7), Linux man-pages
  2. signal(3), FreeBSD manual

Numbers are Linux on x86 and arm64; alpha, mips, sparc and parisc number some signals differently. Spot one that's wrong? Tell Rod.