Lines Matching refs:it

24 have, and it is a required feature in the 2001 revision of POSIX.1
51 even if you run just one program, it can use multiple processes
66 Every process belongs to a process group. When a process is created, it
68 process. You can put it in another process group using the
73 The only way to put a process in a different session is to make it the
76 process group, and you can't move it out of that process group again.
99 terminal, it is @dfn{stopped} by the terminal driver; if the
102 Characters}) and a program can stop any job by sending it a
123 allocate a controlling terminal to a session, since it is done for you
127 An individual process disconnects from its controlling terminal when it
131 @c !!! explain how it gets a new one (by opening any terminal)
133 @c We should document how this will work in the GNU system when it is decided.
176 new session can be established on it. (In fact, another user could log
187 handler for it (@pxref{Signal Handling}), it can continue running as in
189 but it still cannot access the terminal any more.
340 When a shell program that normally performs job control is started, it
341 has to be careful in case it has been invoked from another shell that is
344 A subshell that runs interactively has to ensure that it has been placed
345 in the foreground by its parent shell before it can enable job control
347 @code{getpgrp} function, and comparing it to the process group ID of the
351 If the subshell is not running as a foreground job, it must stop itself
353 arbitrarily put itself into the foreground; it must wait for the user to
355 it should repeat the check and stop itself again if it is still not in
360 shell, it can enable its own job control. It does this by calling
365 When a shell enables job control, it should set itself to ignore all the
366 job control stop signals so that it doesn't accidentally stop itself.
371 control. It must leave all processes it creates in the same process
375 you must remember to make the shell do it.
442 its controlling terminal, it can launch jobs in response to commands
456 the first approach because it makes bookkeeping somewhat simpler.
460 As each process is forked, it should put itself in the new process group
469 group before it begins executing a new program, and the shell depends on
470 having all the child processes in the group before it continues
473 process gets to it first.
485 processes it creates also ignore these signals by inheritance. This is
487 actions for these signals back to @code{SIG_DFL} just after it is forked.
505 immediately after it has been forked by the shell, and never returns.
641 Now let's consider what actions must be taken by the shell when it
646 When a foreground job is launched, the shell must first give it access
662 terminal modes so that it can restore them later if the job is
673 @r{@code{SIGCONT} signal to wake it up before we block.} */
692 /* @r{Wait for it to report.} */
712 a job into the background. Here is the function it uses:
716 @r{the process group a @code{SIGCONT} signal to wake it up.} */
740 The shell must also check on the status of background jobs so that it
754 is not using these data structures---such as when it is waiting for
755 input on the terminal---it makes sense to enable a handler for
873 @r{completed and delete it from the list of active jobs.} */
987 managing jobs. For example, it would be useful to have commands to list
1011 use to open the controlling terminal. In @theglibc{}, it returns
1014 current process (if it has one). To find the name of the specific
1031 not a null pointer, it should be an array that can hold at least
1037 any reason. Even if a file name is returned, access to the file it
1092 @c Stub or direct syscall, except on hurd, where it is equally safe.
1123 @c Stub or direct syscall, except on hurd, where it is equally safe.
1146 @c Stub or direct syscall, except on hurd, where it is equally safe.
1152 it returns @code{-1}. The following @code{errno} error conditions are
1158 function since it was forked.
1240 For terminal access purposes, this function is treated as output. If it