Home
last modified time | relevance | path

Searched refs:ntty (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.sbin/watch/
H A Dwatch.c108 struct termios ntty; in set_tty() local
110 ntty = otty; in set_tty()
111 ntty.c_lflag &= ~ICANON; /* disable canonical operation */ in set_tty()
112 ntty.c_lflag &= ~ECHO; in set_tty()
114 ntty.c_lflag &= ~FLUSHO; in set_tty()
117 ntty.c_lflag &= ~PENDIN; in set_tty()
120 ntty.c_lflag &= ~IEXTEN; in set_tty()
122 ntty.c_cc[VMIN] = 1; /* minimum of one character */ in set_tty()
123 ntty.c_cc[VTIME] = 0; /* timeout value */ in set_tty()
125 ntty.c_cc[VINTR] = 07; /* ^G */ in set_tty()
[all …]
/freebsd/usr.bin/lock/
H A Dlock.c74 static struct termios tty, ntty; variable
147 ntty = tty; ntty.c_lflag &= ~ECHO; in main()
148 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &ntty); in main()
244 if (tcgetattr(0, &ntty) && (errno != EINTR)) in main()
/freebsd/usr.bin/morse/
H A Dmorse.c284 static struct termios otty, ntty; variable
372 ntty = otty; in main()
373 ntty.c_cflag |= CLOCAL; in main()
374 tcsetattr(line, TCSANOW, &ntty); in main()