Searched refs:tio (Results 1 - 18 of 18) sorted by relevance

/freebsd-10-stable/crypto/openssh/
H A Dsshtty.c71 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 Dttymodes.c282 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 Dserverloop.c474 struct termios tio; local
496 tcgetattr(fdin, &tio) == 0 &&
497 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
H A Dmux.c101 struct termios tio; member in struct:mux_session_confirm_ctx
434 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1)
1377 cctx->term, &cctx->tio, c->rfd, &cctx->cmd, cctx->env);
H A Dchannels.c1718 struct termios tio; local
1786 if (tcgetattr(c->wfd, &tio) == 0 &&
1787 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c184 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-10-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_ttypty.c63 struct termios tio; local
82 RL(tcgetattr(acurrent, &tio));
83 tio.c_oflag &= ~ONLCR;
84 RL(tcsetattr(acurrent, TCSADRAIN, &tio));
/freebsd-10-stable/usr.bin/talk/
H A Dinit_disp.c129 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-10-stable/sys/cam/ctl/
H A Dctl_tpc.c974 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-10-stable/contrib/netbsd-tests/kernel/tty/
H A Dt_pr.c162 struct termios tio; local
173 rump_sys_ioctl(fd, TIOCGETA, &tio);
/freebsd-10-stable/libexec/comsat/
H A Dcomsat.c161 struct termios tio; local
193 (void)tcgetattr(fileno(tp), &tio); local
194 cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r";
/freebsd-10-stable/contrib/libreadline/
H A Drltty.c660 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-10-stable/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c370 struct termios tio; local
372 cfmakeraw(&tio);
374 if (openpty(amaster, aslave, pty, &tio, NULL) == -1) {
/freebsd-10-stable/contrib/ntp/ntpd/
H A Drefclock_parse.c2987 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local
2990 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local
3093 if (TTY_GETATTR(fd232, &tio) == -1)
3095 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcgetattr(%d, &tio): %m", unit, fd232);
3102 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc));
3111 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc)); /* best guess */
3115 memset((char *)tio.c_cc, disablec, sizeof(tio
4853 struct termios tio; local
4856 struct termio tio; local
5277 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local
5280 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local
[all...]
H A Drefclock_palisade.c270 struct termios tio; local
288 if (tcgetattr(fd, &tio) < 0) {
290 "Palisade(%d) tcgetattr(fd, &tio): %m",unit);
292 printf("Palisade(%d) tcgetattr(fd, &tio)\n",unit);
298 tio.c_cflag |= (PARENB|PARODD);
299 tio.c_iflag &= ~ICRNL;
318 tio.c_cflag = (CS8|CLOCAL|CREAD);
328 if (tcsetattr(fd, TCSANOW, &tio) == -1) {
329 msyslog(LOG_ERR, "Palisade(%d) tcsetattr(fd, &tio): %m",unit);
331 printf("Palisade(%d) tcsetattr(fd, &tio)\
[all...]
H A Drefclock_ripencc.c471 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-10-stable/usr.sbin/ppp/
H A Dtty.c482 struct termios tio; local
484 tcgetattr(p->fd, &tio);
485 if (cfsetspeed(&tio, B0) == -1 || tcsetattr(p->fd, TCSANOW, &tio) == -1)
/freebsd-10-stable/sys/cam/
H A Dcam_ccb.h1226 struct ccb_termio tio; member in union:ccb

Completed in 371 milliseconds