Searched refs:new_tty (Results 1 – 2 of 2) sorted by relevance
101 struct termio old_tty, new_tty; in repl_getch() local104 new_tty = old_tty; in repl_getch()105 new_tty.c_lflag &= ~(ICANON | ECHO | ISIG); in repl_getch()106 ioctl(fd, TCSETA, &new_tty); in repl_getch()
112 struct termio old_tty, new_tty; in repl_getch() local115 new_tty = old_tty; in repl_getch()116 new_tty.c_lflag &= ~(ICANON | ECHO | ISIG); in repl_getch()117 ioctl(fd, TCSETA, &new_tty); in repl_getch()