Home | History | Annotate | Download | only in test

Lines Matching refs:tty

10     tty = open("/dev/tty", "r")

12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
50 with open("/dev/tty", "r") as tty:
51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1)