Penguin

Differences between current version and predecessor to the previous major change of SIGTTIN.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Friday, September 27, 2002 11:36:21 am by JohnMcPherson
Older page: version 1 Last edited on Friday, September 27, 2002 9:23:38 am by PerryLorier Revert
@@ -1,3 +1,10 @@
 !!!Signal: Terminal Input on Background Process 
  
 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] 
+  
+An example is:  
+ bash$ cat > /dev/null &  
+ [[1] 31731  
+ [[1] + suspended (tty input) cat  
+  
+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.