Searched refs:ttystate (Results 1 – 2 of 2) sorted by relevance
61 struct ttystate ttystate; /* tty info */ variable257 fix_term = ttystate.ttyflags;343 if (ttystate.ttyflags & TTY_CBREAK_ON) { in cleanup()346 if (ttystate.ttyflags & TTY_ECHO_OFF) { in cleanup()444 if (ttystate.ttyflags == 0) { in echo_off()445 if ((ttystate.ttyfile = open("/dev/tty", in echo_off()454 if (tcgetattr(ttystate.ttyfile, &ttystate.ttystate) < 0) { in echo_off()458 ttystate.ttystate.c_lflag &= ~ECHO; in echo_off()459 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in echo_off()468 ttystate.ttyflags |= TTY_ECHO_OFF; in echo_off()[all …]
109 struct ttystate { struct110 struct termios ttystate; /* buffer for ioctls */ argument