Lines Matching refs:tty
33 public HANDLE tty;
39 public int tty;
54 /* The __open() system call translates "/dev/tty" to "con". */
62 * Open the tty device.
63 * Try ttyname(), then try /dev/tty, then use file descriptor 2.
83 fd = open_tty_device("/dev/tty");
105 tty = CreateFile("CONIN$", GENERIC_READ | GENERIC_WRITE,
108 GetConsoleMode(tty, &init_console_input_mode);
115 SetConsoleMode(tty, curr_console_input_mode);
125 tty = open("CON", OPEN_READ);
134 tty = open_tty();
145 SetConsoleMode(tty, init_console_input_mode);
146 CloseHandle(tty);
159 SetConsoleMode(tty, curr_console_input_mode);
208 result = iread(tty, &uc, sizeof(char));