/freebsd-11-stable/crypto/openssh/ |
H A D | sshtty.c | 71 struct termios tio; local 73 if (tcgetattr(fileno(stdin), &tio) == -1) { 78 _saved_tio = tio; 79 tio.c_iflag |= IGNPAR; 80 tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); 82 tio.c_iflag &= ~IUCLC; 84 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); 86 tio.c_lflag &= ~IEXTEN; 88 tio.c_oflag &= ~OPOST; 89 tio [all...] |
H A D | ttymodes.c | 282 struct termios tio; local 301 debug("tty_make_modes: no fd or tio"); 304 if (tcgetattr(fd, &tio) == -1) { 309 tio = *tiop; 312 baud = speed_to_baud(cfgetospeed(&tio)); 315 baud = speed_to_baud(cfgetispeed(&tio)); 322 put_arg(&buf, special_char_encode(tio.c_cc[NAME])); 326 put_arg(&buf, ((tio.FIELD & NAME) != 0)); 350 struct termios tio; local 373 if (tcgetattr(fd, &tio) [all...] |
H A D | mux.c | 102 struct termios tio; member in struct:mux_session_confirm_ctx 439 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1) 1394 cctx->term, &cctx->tio, c->rfd, &cctx->cmd, cctx->env);
|
H A D | channels.c | 1779 struct termios tio; local 1847 if (tcgetattr(c->wfd, &tio) == 0 && 1848 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 184 struct termios tio; 206 if (tcgetattr(*amaster, &tio) != -1) { 207 tio.c_lflag |= (ECHO | ISIG | ICANON); 208 tio.c_oflag |= (OPOST | ONLCR); 209 tio.c_iflag |= ICRNL; 210 tcsetattr(*amaster, TCSANOW, &tio);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_ttypty.c | 63 struct termios tio; local 82 RL(tcgetattr(acurrent, &tio)); 83 tio.c_oflag &= ~ONLCR; 84 RL(tcsetattr(acurrent, TCSADRAIN, &tio));
|
/freebsd-11-stable/usr.bin/talk/ |
H A D | init_disp.c | 129 struct termios tio; local 131 tcgetattr(0, &tio); 132 my_win.cerase = tio.c_cc[VERASE]; 133 my_win.kill = tio.c_cc[VKILL]; 134 my_win.werase = tio.c_cc[VWERASE];
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_tpc.c | 974 struct tpc_io *tio; local 981 while ((tio = TAILQ_FIRST(&list->allio)) != NULL) { 982 TAILQ_REMOVE(&list->allio, tio, links); 983 ctl_free_io(tio->io); 984 free(tio, M_CTL); 1015 tio = malloc(sizeof(*tio), M_CTL, M_WAITOK | M_ZERO); 1016 TAILQ_INIT(&tio->run); 1017 tio->list = list; 1018 TAILQ_INSERT_TAIL(&list->allio, tio, link 1036 struct tpc_io *tio; local 1172 struct tpc_io *tio, *tior, *tiow; local 1331 struct tpc_io *tio, *tiow; local 1600 struct tpc_io *tio, *tior; local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/kernel/tty/ |
H A D | t_pr.c | 162 struct termios tio; local 173 rump_sys_ioctl(fd, TIOCGETA, &tio);
|
/freebsd-11-stable/libexec/comsat/ |
H A D | comsat.c | 161 struct termios tio; local 193 (void)tcgetattr(fileno(tp), &tio); local 194 cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r";
|
/freebsd-11-stable/contrib/libreadline/ |
H A D | rltty.c | 660 TIOTYPE tio; local 670 if (get_tty_settings (tty, &tio) < 0) 683 otio = tio; 704 _rl_bind_tty_special_chars (vi_insertion_keymap, tio); 707 _rl_bind_tty_special_chars (_rl_keymap, tio); 710 prepare_terminal_settings (meta_flag, otio, &tio); 712 if (set_tty_settings (tty, &tio) < 0)
|
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 373 struct termios tio; local 375 cfmakeraw(&tio); 377 if (openpty(amaster, aslave, pty, &tio, NULL) == -1) {
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_palisade.c | 306 struct termios tio; local 326 if (tcgetattr(fd, &tio) < 0) { 328 "Palisade(%d) tcgetattr(fd, &tio): %m",unit); 330 printf("Palisade(%d) tcgetattr(fd, &tio)\n",unit); 336 tio.c_cflag |= (PARENB|PARODD); 337 tio.c_iflag &= ~ICRNL; 356 tio.c_cflag = (CS8|CLOCAL|CREAD); 365 tio.c_cflag = (CS8|CLOCAL|CREAD|PARENB|PARODD); 370 tio.c_cflag = (CS8|CLOCAL|CREAD|PARENB|PARODD); 379 tio [all...] |
H A D | refclock_parse.c | 2987 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local 2990 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local 3094 if (TTY_GETATTR(fd232, &tio) == -1) 3096 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcgetattr(%d, &tio): %m", unit, fd232); 3103 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc)); 3112 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc)); /* best guess */ 3116 memset((char *)tio.c_cc, disablec, sizeof(tio 4855 struct termios tio; local 4858 struct termio tio; local 5279 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local 5282 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local [all...] |
H A D | refclock_ripencc.c | 471 struct termios tio; local 489 if (tcgetattr(fd, &tio) < 0) { 490 msyslog(LOG_ERR, "Palisade(%d) tcgetattr(fd, &tio): %m",unit); 497 tio.c_cflag |= (PARENB|PARODD); 498 tio.c_iflag &= ~ICRNL; 499 if (tcsetattr(fd, TCSANOW, &tio) == -1) { 500 msyslog(LOG_ERR, "Palisade(%d) tcsetattr(fd, &tio): %m",unit);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | tty.c | 484 struct termios tio; local 486 tcgetattr(p->fd, &tio); 487 if (cfsetspeed(&tio, B0) == -1 || tcsetattr(p->fd, TCSANOW, &tio) == -1)
|
/freebsd-11-stable/sys/cam/ |
H A D | cam_ccb.h | 1280 struct ccb_termio tio; member in union:ccb
|