Penguin
Annotated edit history of SIGTTIN version 3, including all changes. View license author blame.
Rev Author # Line
1 PerryLorier 1 !!!Signal: Terminal Input on Background Process
2
3 The process is trying to read from a terminal that it no longer is the controlling terminal for. This process will be stopped until a [SIGCONT] is sent. This signal can be caught and ignored, see [SIGTSTP], [SIGSTOP] and [SIGCONT]
2 JohnMcPherson 4
5 An example is:
6 bash$ cat > /dev/null &
3 JohnMcPherson 7 [[1] 31731
8 [[1] + suspended (tty input) cat
2 JohnMcPherson 9
10 By default, cat will read from standard input, but the & character means that this command is run in the background, and the terminal's input goes back to the shell. When cat tries to read from the terminal's stdin, a SIGTTIN signal is raised.