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

Re: PATCH: 3.1.6-dev-17 (Was: BUG: backgrounding zsh does bad tty stuff)



Bart Schaefer wrote about Re: PATCH: 3.1.6-dev-17 (Was: BUG: backgrounding zsh does bad tty stuff):
:Perhaps what you mean is that we should wait for our parent to put us in
:our own process group before attempting to make that group the tty group?

Yes, though the whole thing reeks anyway.  Your patch does a more appropriate
job, though in normal operation one is going to expect the parent to set
the pgrp appropriately before execing the child, thus all these 
GETPGRP() calls may be somewhat excessive - I haven't thought through all
the possible permutations yet (not to mention broken systems) so I think
I'll stay with your patch for now. 

Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@xxxxxxx>       Phone   : (Australia) 0413 431 874



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