On Wed, May 08, 2013 at 10:51:28PM +1000, Erik Christiansen wrote: > That hangs here, because /dev/tty is not used. (Confirmed by fuser)
That's not quite right. /dev/tty is "magic" ... it refers to whatever the controlling terminal of the current process is. I can't immediately see why it's not working, but I also can't quite figure out what that line is meant to accomplish. You won't see it mentioned in the output of fuser unless someone has explicitly opened it, but referring to it should still get you a file descriptor that duplicates whatever your controlling terminal is. Unless you don't have one. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
pgpEfHtXlnqL2.pgp
Description: PGP signature