Searched refs:new_tty (Results 1 – 2 of 2) sorted by relevance
100 struct termio old_tty, new_tty; in repl_getch() local103 new_tty = old_tty; in repl_getch()104 new_tty.c_lflag &= ~(ICANON | ECHO | ISIG); in repl_getch()105 ioctl(fd, TCSETA, &new_tty); in repl_getch()
111 struct termio old_tty, new_tty; in repl_getch() local114 new_tty = old_tty; in repl_getch()115 new_tty.c_lflag &= ~(ICANON | ECHO | ISIG); in repl_getch()116 ioctl(fd, TCSETA, &new_tty); in repl_getch()