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

/freebsd-9.3-release/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.c283 struct termios tio; local
302 debug("tty_make_modes: no fd or tio");
305 if (tcgetattr(fd, &tio) == -1) {
310 tio = *tiop;
313 baud = speed_to_baud(cfgetospeed(&tio));
316 baud = speed_to_baud(cfgetispeed(&tio));
323 put_arg(&buf, special_char_encode(tio.c_cc[NAME]));
327 put_arg(&buf, ((tio.FIELD & NAME) != 0));
351 struct termios tio; local
374 if (tcgetattr(fd, &tio)
[all...]
H A Dserverloop.c476 struct termios tio; local
498 tcgetattr(fdin, &tio) == 0 &&
499 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
H A Dmux.c105 struct termios tio; member in struct:mux_session_confirm_ctx
432 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1)
1287 cctx->term, &cctx->tio, c->rfd, &cctx->cmd, cctx->env);
H A Dchannels.c1711 struct termios tio; local
1779 if (tcgetattr(c->wfd, &tio) == 0 &&
1780 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
/freebsd-9.3-release/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-9.3-release/usr.bin/talk/
H A Dinit_disp.c131 struct termios tio; local
133 tcgetattr(0, &tio);
134 my_win.cerase = tio.c_cc[VERASE];
135 my_win.kill = tio.c_cc[VKILL];
136 my_win.werase = tio.c_cc[VWERASE];
/freebsd-9.3-release/libexec/comsat/
H A Dcomsat.c165 struct termios tio; local
197 (void)tcgetattr(fileno(tp), &tio); local
198 cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r";
/freebsd-9.3-release/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-9.3-release/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c367 struct termios tio; local
422 cfmakeraw(&tio);
424 if (tcsetattr(*aslave, TCSANOW, &tio) < 0) {
/freebsd-9.3-release/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
4842 struct termios tio; local
4845 struct termio tio; local
5266 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local
5269 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local
[all...]
H A Drefclock_palisade.c274 struct termios tio; local
292 if (tcgetattr(fd, &tio) < 0) {
294 "Palisade(%d) tcgetattr(fd, &tio): %m",unit);
296 printf("Palisade(%d) tcgetattr(fd, &tio)\n",unit);
302 tio.c_cflag |= (PARENB|PARODD);
303 tio.c_iflag &= ~ICRNL;
322 tio.c_cflag = (CS8|CLOCAL|CREAD);
332 if (tcsetattr(fd, TCSANOW, &tio) == -1) {
333 msyslog(LOG_ERR, "Palisade(%d) tcsetattr(fd, &tio): %m",unit);
335 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-9.3-release/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-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_mount.h283 #define XFS_SWAP_EXTENTS(mp, io, tio, sxp) \
285 ((io)->io_obj, (tio)->io_obj, sxp)
/freebsd-9.3-release/sys/cam/
H A Dcam_ccb.h1175 struct ccb_termio tio; member in union:ccb

Completed in 329 milliseconds