Lines Matching defs:tty
29 public HANDLE tty;
31 public int tty;
44 /* The __open() system call translates "/dev/tty" to "con". */
52 * Open the tty device.
53 * Try ttyname(), then try /dev/tty, then use file descriptor 2.
73 fd = open_tty_device("/dev/tty");
91 tty = CreateFile("CONIN$", GENERIC_READ | GENERIC_WRITE,
94 GetConsoleMode(tty, &console_mode);
96 SetConsoleMode(tty, ENABLE_PROCESSED_INPUT | ENABLE_MOUSE_INPUT);
106 tty = open("CON", OPEN_READ);
115 tty = open_tty();
126 SetConsoleMode(tty, console_mode);
127 CloseHandle(tty);
140 SetConsoleMode(tty, ENABLE_PROCESSED_INPUT | ENABLE_MOUSE_INPUT);
189 result = iread(tty, &uc, sizeof(char));