Searched defs:current_mode (Results 1 - 1 of 1) sorted by relevance

/bind-9.11.3/lib/isc/unix/
H A Dkeyboard.c32 struct termios current_mode; local
47 current_mode = keyboard->saved_mode;
49 current_mode.c_iflag &=
51 current_mode.c_oflag &= ~OPOST;
52 current_mode.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
53 current_mode.c_cflag &= ~(CSIZE|PARENB);
54 current_mode.c_cflag |= CS8;
56 current_mode.c_cc[VMIN] = 1;
57 current_mode.c_cc[VTIME] = 0;
58 if (tcsetattr(fd, TCSAFLUSH, &current_mode) <
[all...]

Completed in 13 milliseconds