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()
113 struct termio old_tty, new_tty; in repl_getch() local116 new_tty = old_tty; in repl_getch()117 new_tty.c_lflag &= ~(ICANON | ECHO | ISIG); in repl_getch()118 ioctl(fd, TCSETA, &new_tty); in repl_getch()