Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in sh emulation



On Mon, 12 Dec 2011 10:01:00 +0000
Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> So I think (i) the attachtty() works in the subprocess so long as
> SIGTTOU is blocked

POSIX is explicit this works:

  Attempts to use tcsetpgrp() from a process which is a member of a
  background process group on a fildes associated with its controlling
  terminal shall cause the process group to be sent a SIGTTOU signal. If
  the calling process is blocking or ignoring SIGTTOU signals, the process
  shall be allowed to perform the operation, and no signal is sent.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog



Messages sorted by: Reverse Date, Date, Thread, Author