Lines Matching refs:tty
15 # Gregory P. Smith (tty support & GetPassWarning)
35 the tty. If no tty is available defaults to sys.stderr.
39 EOFError: If our input tty or stdin was closed.
47 # Always try reading and writing directly on the tty first.
48 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY)
49 tty = io.FileIO(fd, 'w+')
50 stack.enter_context(tty)
51 input = io.TextIOWrapper(tty)
86 # We can't control the tty or stdin. Give up and use normal IO.