On Sun, Nov 11, 2007 at 09:56:11PM -0800, [EMAIL PROTECTED] wrote: ... > I had some difficulties getting job control working at > first. I found that having the child process do a > setpgrp() before forking to the bash instance made the > error message about disabling job control go away.
You need to call setpgrp or setsid and then open a pty device to establish the pty as a control terminal. -- Mike Stroyan <[EMAIL PROTECTED]>