Lines Matching refs:tty
11 tty = open("/dev/tty", "rb")
13 raise unittest.SkipTest("Unable to open /dev/tty")
15 with tty:
17 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
21 "are attached to /dev/tty")
22 del tty, r, rpgrp
34 with open("/dev/tty", "rb") as tty:
35 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
51 with open("/dev/tty", "rb") as tty:
52 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, True)