File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 285285only because "it's the simplest way to kill a process" as you might run in
286286trouble.
287287\item Example on using \texttt {SIGQUIT } on Solaris (a standalone \texttt {sleep }
288- program is used to avoid invoking shell built-in):
288+ program is used to avoid invoking a shell built-in):
289289
290290\begin {verbatim }
291291$ /usr/bin/sleep 10
319319\texttt {SIGTTIN } & background read attempted from control terminal (stop) \\
320320\texttt {SIGTTOU } & background write attempted to control terminal (stop) \\
321321\end {tabular }
322-
323322\end {slide }
324323
325324\begin {itemize }
333332\item the \texttt {SIGCHLD } signal is always received by the parent
334333(no matter if \texttt {wait() } or \texttt {waitpid() } is used) unless
335334explicitly ignored. See \example {signals/sigchld.c}
335+ \item If you write a program that prints anything onto its standard output and
336+ execute it in the background, you notice that usually the text shows up on your
337+ terminal (meaning no \texttt {SIGTTOU } was sent as that would have stopped the
338+ process on the controlling terminal write attempt). It is because the signal is
339+ sent (or not) by the terminal driver, and \texttt {stty } will tell you what is
340+ the current setting. If you see no \texttt {tostop }, you can set it up with
341+ `` \texttt {stty tostop }'' and see the difference.
336342\end {itemize }
337343
338344% %%%%
You can’t perform that action at this time.
0 commit comments