Re: Does anyone understand terminal job control?

2009-02-09 Thread Douglas A. Tutty
On Sun, Feb 08, 2009 at 08:27:09PM -0800, Daniel Burrows wrote: On Sun, Feb 08, 2009 at 07:58:51AM -0500, Douglas A. Tutty dtu...@vianet.ca was heard to say: Perhaps your controller program will have to be a filter between the process and the terminal: pipe its std-in an std-out to the

Re: Does anyone understand terminal job control?

2009-02-09 Thread Daniel Burrows
On Mon, Feb 09, 2009 at 10:37:07AM -0500, Douglas A. Tutty dtu...@vianet.ca was heard to say: On Sun, Feb 08, 2009 at 08:27:09PM -0800, Daniel Burrows wrote: On Sun, Feb 08, 2009 at 07:58:51AM -0500, Douglas A. Tutty dtu...@vianet.ca was heard to say: Perhaps your controller program

Re: Does anyone understand terminal job control?

2009-02-08 Thread Douglas A. Tutty
On Sun, Feb 08, 2009 at 05:52:34PM +1000, Adrian Levi wrote: 2009/2/8 Daniel Burrows dburr...@debian.org: Hello list, I've been banging my head on this one for a while. I have a need to write some code that can manage job control on a terminal. More specifically, I need to run a

Re: Does anyone understand terminal job control?

2009-02-08 Thread Mirko Parthey
On Sat, Feb 07, 2009 at 04:58:13PM -0800, Daniel Burrows wrote: directly under my controller process. It's not even that they're starting as foreground processes: I can start them without access to the controlling terminal, and they never see a SIGTTIN. What do you mean by: without access to

Re: Does anyone understand terminal job control?

2009-02-08 Thread Daniel Burrows
On Sun, Feb 08, 2009 at 05:52:34PM +1000, Adrian Levi adrian.l...@gmail.com was heard to say: 2009/2/8 Daniel Burrows dburr...@debian.org: Hello list, I've been banging my head on this one for a while. I have a need to write some code that can manage job control on a terminal.

Re: Does anyone understand terminal job control?

2009-02-08 Thread Daniel Burrows
On Sun, Feb 08, 2009 at 07:58:51AM -0500, Douglas A. Tutty dtu...@vianet.ca was heard to say: On Sun, Feb 08, 2009 at 05:52:34PM +1000, Adrian Levi wrote: 2009/2/8 Daniel Burrows dburr...@debian.org: Hello list, I've been banging my head on this one for a while. I have a need

Re: Does anyone understand terminal job control?

2009-02-08 Thread Daniel Burrows
On Sun, Feb 08, 2009 at 11:15:46PM +0100, Mirko Parthey mirko.part...@informatik.tu-chemnitz.de was heard to say: On Sat, Feb 07, 2009 at 04:58:13PM -0800, Daniel Burrows wrote: directly under my controller process. It's not even that they're starting as foreground processes: I can start

Does anyone understand terminal job control?

2009-02-07 Thread Daniel Burrows
Hello list, I've been banging my head on this one for a while. I have a need to write some code that can manage job control on a terminal. More specifically, I need to run a single process and stuff it into the background at will, so that it gets suspended when it tries to read from the

Re: Does anyone understand terminal job control?

2009-02-07 Thread Boyd Stephen Smith Jr.
On Saturday 07 February 2009 18:58:13 Daniel Burrows wrote: I've been banging my head on this one for a while. The source for /bin/dash and /bin/bash are available. You might should be able to peruse them and find the correct way to suspend/resume/detach/etc. processes. -- Boyd Stephen

Re: Does anyone understand terminal job control?

2009-02-07 Thread Douglas A. Tutty
On Sat, Feb 07, 2009 at 10:43:11PM -0600, Boyd Stephen Smith Jr. wrote: On Saturday 07 February 2009 18:58:13 Daniel Burrows wrote: I've been banging my head on this one for a while. The source for /bin/dash and /bin/bash are available. You might should be able to peruse them and find

Re: Does anyone understand terminal job control?

2009-02-07 Thread Boyd Stephen Smith Jr.
On Saturday 07 February 2009 22:59:25 Douglas A. Tutty wrote: On Sat, Feb 07, 2009 at 10:43:11PM -0600, Boyd Stephen Smith Jr. wrote: On Saturday 07 February 2009 18:58:13 Daniel Burrows wrote: I've been banging my head on this one for a while. The source for /bin/dash and /bin/bash

Re: Does anyone understand terminal job control?

2009-02-07 Thread Adrian Levi
2009/2/8 Daniel Burrows dburr...@debian.org: Hello list, I've been banging my head on this one for a while. I have a need to write some code that can manage job control on a terminal. More specifically, I need to run a single process and stuff it into the background at will, so that it