On Tue, Aug 25, 2009 at 11:14 AM, Scott James Remnant<[email protected]> wrote: > On Tue, 2009-08-25 at 10:56 -0700, Garrett Cooper wrote: > >> [172:~]$ start console_owner >> [172:~]$ [owner] This is SPARTA! >> Hit CTRL-C now! >> > Err, just to confirm, are you running the shell on the console? > > If that has job control enabled, then it'll already be the console owner > and your test program won't gain ownership. > > So the ^C will go to bash, not SPARTA!
Ok, good question/point. Is there any way to kill job control without killing bash (maybe respawn bash without the -i option?). Anyhow, just to alleviate any and all possible concerns about the shell, I killed agetty so it wasn't running bash at all on the serial console. Unfortunately it's still not registering the input in the python app :(... [172:~]$ [owner] This is SPARTA! Hit CTRL-C now! # Stuck again, no output is registered. Any other ideas? I know that this functionality does in fact work for another app that we have, but I'm not sure why it doesn't work for this test app 100%... I even uncommented the os.open for /dev/ttyS0, so the test app does in fact have R/W access to the serial console, and it still doesn't work. Hmmmm... Thanks, -Garrett -- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
