Re: SIGTTOU handling

2007-11-13 Thread Mike Stroyan
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 ne

Re: SIGTTOU handling

2007-11-12 Thread cerise
Hi Derek: Thanks for the input. I know that stderr is duplicated, so that's not a problem. I long suspected terminal problems, but I know that openpty is setting the term correctly from when I was mucking around with whether or not I wanted the terminal running in canonical mode. I changed ou

Re: SIGTTOU handling

2007-11-12 Thread Derek Fawcus
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. Try set

Re: SIGTTOU handling

2007-11-12 Thread Derek Fawcus
On Mon, Nov 12, 2007 at 08:03:38PM +, Derek Fawcus wrote: > On Sun, Nov 11, 2007 at 09:56:11PM -0800, [EMAIL PROTECTED] wrote: > > Can someone provide a hint to this end? My deepest > > thanks for your time and any advice you might be > > able to provide. > > I get exactly that behaviour with

Re: SIGTTOU handling

2007-11-12 Thread Derek Fawcus
On Sun, Nov 11, 2007 at 09:56:11PM -0800, [EMAIL PROTECTED] wrote: > Can someone provide a hint to this end? My deepest > thanks for your time and any advice you might be > able to provide. I get exactly that behaviour with a program I have been working on. I traced it to the fact that I ran bas

SIGTTOU handling

2007-11-12 Thread cerise
Hi: I'm having some trouble with bash -- it doesn't seem to be a problem with bash, but rather in my understanding of how job control works. This seemed like a pretty good place to start looking for the sort of help I need on this. At present, I'm writing what I call a terminal repeater. It allo