/src/share/examples/rump/tipsy/ |
tipsy.c | 87 struct termios tios; local in function:main 115 if (rump_sys_ioctl(com, TIOCGETA, &tios) == -1) 117 tios.c_cflag &= ~(CSIZE|PARENB); 118 tios.c_cflag |= CS8; 119 tios.c_cflag |= CLOCAL; 120 tios.c_iflag &= ~(ISTRIP|ICRNL); 121 tios.c_oflag &= ~OPOST; 122 tios.c_lflag &= ~(ICANON|ISIG|IEXTEN|ECHO); 123 tios.c_cc[VMIN] = 1; 124 tios.c_cc[VTIME] = 0 [all...] |
/src/tests/kernel/ |
t_pty.c | 113 struct termios tios; local in function:condition 124 if (tcgetattr(fd, &tios) == -1) 126 cfmakeraw(&tios); 127 cfsetspeed(&tios, B921600); 128 if (tcsetattr(fd, TCSANOW, &tios) == -1)
|
/src/usr.sbin/sliplogin/ |
sliplogin.c | 213 struct termios tios, otios; local in function:main 292 if (tcgetattr(STDIN_FILENO, &tios) < 0) { 296 otios = tios; 297 cfmakeraw(&tios); 298 tios.c_iflag &= ~IMAXBEL; 299 if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &tios) < 0) { 303 speed = cfgetispeed(&tios);
|
/src/lib/libedit/ |
tty.c | 1161 struct termios *tios = &el->el_tty.t_ex; local in function:tty_stty 1176 tios = &el->el_tty.t_ed; 1181 tios = &el->el_tty.t_ex; 1186 tios = &el->el_tty.t_ts; 1275 tios->c_cc[c] = (cc_t)v; 1294 tty_setup_flags(el, tios, z); 1296 if (tty_setty(el, TCSADRAIN, tios) == -1) { 1335 tty_setup_flags(EditLine *el, struct termios *tios, int mode) 1339 tcflag_t *f = tty__get_flag(tios, kind);
|