| /src/crypto/external/bsd/openssh/dist/ |
| sshtty.c | 72 struct termios tio; local 74 if (tcgetattr(fileno(stdin), &tio) == -1) { 79 _saved_tio = tio; 80 tio.c_iflag |= IGNPAR; 81 tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); 83 tio.c_iflag &= ~IUCLC; 85 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); 87 tio.c_lflag &= ~IEXTEN; 89 tio.c_oflag &= ~OPOST; 90 tio.c_cc[VMIN] = 1 [all...] |
| ttymodes.c | 257 struct termios tio; local 266 debug_f("no fd or tio"); 269 if (tcgetattr(fd, &tio) == -1) { 274 tio = *tiop; 277 obaud = speed_to_baud(cfgetospeed(&tio)); 278 ibaud = speed_to_baud(cfgetispeed(&tio)); 288 (r = sshbuf_put_u32(buf, tio.c_cc[NAME])) != 0) \ 297 (r = sshbuf_put_u32(buf, ((tio.FIELD & NAME) != 0))) != 0) \ 320 struct termios tio; local 342 if (tcgetattr(fd, &tio) == -1) [all...] |
| mux.c | 78 struct termios tio; member in struct:mux_session_confirm_ctx 441 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1) 1401 cctx->term, &cctx->tio, c->rfd, cctx->cmd, cctx->env);
|
| channels.c | 2271 struct termios tio; local 2328 if (tcgetattr(c->wfd, &tio) == 0 && 2329 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
|
| /src/usr.sbin/btattach/ |
| init_unistone.c | 76 struct termios tio; local 97 if (tcgetattr(fd, &tio) != 0) 111 if (cfsetspeed(&tio, speed) != 0 || 112 tcsetattr(fd, TCSANOW, &tio) != 0)
|
| init_stlc2500.c | 110 struct termios tio; local 116 if (tcgetattr(fd, &tio) != 0 || 117 cfsetspeed(&tio, speed) != 0 || 118 tcsetattr(fd, TCSANOW, &tio) != 0)
|
| btattach.c | 167 struct termios tio; local 263 if (tcgetattr(fd, &tio) < 0) 266 cfmakeraw(&tio); 267 tio.c_cflag |= (cflag | type->cflag); 268 tio.c_cflag &= ~Cflag; 270 if (cfsetspeed(&tio, init_speed) < 0 271 || tcsetattr(fd, TCSANOW, &tio) < 0 280 if (cfsetspeed(&tio, speed) < 0 281 || tcsetattr(fd, TCSANOW, &tio) < 0) 559 struct termios tio; local [all...] |
| /src/tests/kernel/kqueue/read/ |
| t_ttypty.c | 64 struct termios tio; local 83 RL(tcgetattr(acurrent, &tio)); 84 tio.c_oflag &= ~ONLCR; 85 RL(tcsetattr(acurrent, TCSADRAIN, &tio));
|
| /src/tests/kernel/tty/ |
| t_pr.c | 162 struct termios tio; local 173 rump_sys_ioctl(fd, TIOCGETA, &tio);
|
| /src/external/bsd/tmux/dist/ |
| cmd-new-session.c | 77 struct termios tio, *tiop; local 175 * tcgetattr() is used rather than using tty.tio since if the client is 189 if (tcgetattr(c->fd, &tio) != 0) 191 tiop = &tio;
|
| client.c | 241 struct termios tio, saved_tio; local 350 cfmakeraw(&tio); 351 tio.c_iflag = ICRNL|IXANY; 352 tio.c_oflag = OPOST|ONLCR; 354 tio.c_lflag = NOKERNINFO; 356 tio.c_cflag = CREAD|CS8|HUPCL; 357 tio.c_cc[VMIN] = 1; 358 tio.c_cc[VTIME] = 0; 359 cfsetispeed(&tio, cfgetispeed(&saved_tio)); 360 cfsetospeed(&tio, cfgetospeed(&saved_tio)) [all...] |
| tty.c | 119 if (tcgetattr(c->fd, &tty->tio) != 0) 341 struct termios tio; local 346 memcpy(&tio, &tty->tio, sizeof tio); 347 tio.c_iflag &= ~(IXON|IXOFF|ICRNL|INLCR|IGNCR|IMAXBEL|ISTRIP); 348 tio.c_iflag |= IGNBRK; 349 tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET); 350 tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL|ECHOPRT| 352 tio.c_cc[VMIN] = 1 [all...] |
| tmux.h | 1435 struct termios *tio; member in struct:session 1581 struct termios tio; member in struct:tty
|
| /src/usr.bin/qsubst/ |
| qsubst.c | 170 struct termios tio; local 172 if (tcgetattr(0, &tio) < 0) { 178 tcsetattr(0, TCSADRAIN | TCSASOFT, &tio); 233 struct termios tio; local 237 if (tcgetattr(0, &tio) < 0) 239 otio = tio; 240 tio.c_lflag &= ~(ICANON | ECHOKE | ECHOE | ECHO | ECHONL); 241 tio.c_cc[VMIN] = 1; 242 tio.c_cc[VTIME] = 0; 243 tcsetattr(0, TCSANOW | TCSASOFT, &tio); [all...] |
| /src/usr.bin/resize/ |
| resize.c | 329 struct termio tio; local 331 struct termios tio; local 453 tio = tioorig; 454 UIntClr(tio.c_iflag, (ICRNL | IUCLC)); 455 UIntClr(tio.c_lflag, (ICANON | ECHO)); 456 tio.c_cflag |= CS8; 457 tio.c_cc[VMIN] = 6; 458 tio.c_cc[VTIME] = 1; 461 tio = tioorig; 462 UIntClr(tio.c_iflag, ICRNL) [all...] |
| /src/usr.bin/rfcomm_sppd/ |
| rfcomm_sppd.c | 102 static struct termios tio; /* stored termios for reset on exit */ variable in typeref:struct:termios 239 tio = t; 243 if (tio.c_lflag != t.c_lflag || 244 tio.c_iflag != t.c_iflag) { 686 tcsetattr(STDIN_FILENO, TCSAFLUSH, &tio);
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_palisade.c | 308 struct termios tio; local 328 if (tcgetattr(fd, &tio) < 0) { 330 "Palisade(%d) tcgetattr(fd, &tio): %m",unit); 332 printf("Palisade(%d) tcgetattr(fd, &tio)\n",unit); 338 tio.c_cflag |= (PARENB|PARODD); 339 tio.c_iflag &= ~ICRNL; 358 tio.c_cflag = (CS8|CLOCAL|CREAD); 367 tio.c_cflag = (CS8|CLOCAL|CREAD|PARENB|PARODD); 372 tio.c_cflag = (CS8|CLOCAL|CREAD|PARENB|PARODD); 381 tio.c_cflag &= ~(PARENB|PARODD) [all...] |
| refclock_parse.c | 2990 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local 2993 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local 3110 if (TTY_GETATTR(fd232, &tio) == -1) 3112 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcgetattr(%d, &tio): %m", unit, fd232); 3119 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc)); 3128 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc)); /* best guess */ 3132 memset((char *)tio.c_cc, disablec, sizeof(tio.c_cc)) 4871 struct termios tio; local 4874 struct termio tio; local 5295 struct termios tio; \/* NEEDED FOR A LONG TIME ! *\/ local 5298 struct termio tio; \/* NEEDED FOR A LONG TIME ! *\/ local [all...] |
| refclock_ripencc.c | 473 struct termios tio; local 491 if (tcgetattr(fd, &tio) < 0) { 492 msyslog(LOG_ERR, "Palisade(%d) tcgetattr(fd, &tio): %m",unit); 499 tio.c_cflag |= (PARENB|PARODD); 500 tio.c_iflag &= ~ICRNL; 501 if (tcsetattr(fd, TCSANOW, &tio) == -1) { 502 msyslog(LOG_ERR, "Palisade(%d) tcsetattr(fd, &tio): %m",unit);
|
| /src/external/gpl3/gdb/dist/readline/readline/ |
| rltty.c | 599 TIOTYPE tio; local 609 if (get_tty_settings (tty, &tio) < 0) 624 otio = tio; 645 _rl_bind_tty_special_chars (vi_insertion_keymap, tio); 648 _rl_bind_tty_special_chars (_rl_keymap, tio); 651 prepare_terminal_settings (meta_flag, otio, &tio); 653 if (set_tty_settings (tty, &tio) < 0)
|
| /src/external/gpl3/gdb.old/dist/readline/readline/ |
| rltty.c | 600 TIOTYPE tio; local 610 if (get_tty_settings (tty, &tio) < 0) 625 otio = tio; 646 _rl_bind_tty_special_chars (vi_insertion_keymap, tio); 649 _rl_bind_tty_special_chars (_rl_keymap, tio); 652 prepare_terminal_settings (meta_flag, otio, &tio); 654 if (set_tty_settings (tty, &tio) < 0)
|