/dragonfly/crypto/openssh/ |
H A D | sshtty.c | 71 struct termios tio; in enter_raw_mode() local 73 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode() 78 _saved_tio = tio; in enter_raw_mode() 79 tio.c_iflag |= IGNPAR; in enter_raw_mode() 82 tio.c_iflag &= ~IUCLC; in enter_raw_mode() 84 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); in enter_raw_mode() 86 tio.c_lflag &= ~IEXTEN; in enter_raw_mode() 88 tio.c_oflag &= ~OPOST; in enter_raw_mode() 89 tio.c_cc[VMIN] = 1; in enter_raw_mode() 90 tio.c_cc[VTIME] = 0; in enter_raw_mode() [all …]
|
H A D | ttymodes.c | 281 struct termios tio; in ssh_tty_make_modes() local 293 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_make_modes() 298 tio = *tiop; in ssh_tty_make_modes() 301 obaud = speed_to_baud(cfgetospeed(&tio)); in ssh_tty_make_modes() 302 ibaud = speed_to_baud(cfgetispeed(&tio)); in ssh_tty_make_modes() 345 struct termios tio; in ssh_tty_parse_modes() local 367 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_parse_modes() 399 tio.c_cc[NAME] = special_char_decode(u); \ in ssh_tty_parse_modes() 406 tio.FIELD |= NAME; \ in ssh_tty_parse_modes() 408 tio.FIELD &= ~NAME; \ in ssh_tty_parse_modes() [all …]
|
H A D | mux.c | 86 struct termios tio; member 451 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1) in mux_master_process_new_session() 1394 cctx->term, &cctx->tio, c->rfd, cctx->cmd, cctx->env); in mux_session_confirm()
|
H A D | channels.c | 2012 struct termios tio; in channel_handle_wfd() local 2077 if (tcgetattr(c->wfd, &tio) == 0 && in channel_handle_wfd() 2078 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { in channel_handle_wfd()
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | console.c | 170 tp->t_ispeed = tio->c_ispeed; in vcons_tty_param() 171 tp->t_ospeed = tio->c_ospeed; in vcons_tty_param() 172 tp->t_cflag = tio->c_cflag; in vcons_tty_param() 443 struct termios tio; in vcons_set_mode() local 445 if (tcgetattr(0, &tio) < 0) { in vcons_set_mode() 448 cfmakeraw(&tio); in vcons_set_mode() 449 tio.c_oflag |= OPOST | ONLCR; in vcons_set_mode() 450 tio.c_lflag |= ISIG; in vcons_set_mode() 456 tio.c_cc[VINTR] = _POSIX_VDISABLE; in vcons_set_mode() 457 tio.c_cc[VSUSP] = _POSIX_VDISABLE; in vcons_set_mode() [all …]
|
/dragonfly/usr.bin/talk/ |
H A D | init_disp.c | 121 struct termios tio; in set_edit_chars() local 123 tcgetattr(0, &tio); in set_edit_chars() 124 my_win.cerase = tio.c_cc[VERASE]; in set_edit_chars() 125 my_win.kill = tio.c_cc[VKILL]; in set_edit_chars() 126 my_win.werase = tio.c_cc[VWERASE]; in set_edit_chars()
|
/dragonfly/usr.bin/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 94 struct termios tio; /* stored termios for reset on exit */ variable 231 memcpy(&tio, &t, sizeof(tio)); in main() 235 if (memcmp(&tio, &t, sizeof(tio))) { in main() 493 tcsetattr(STDIN_FILENO, TCSAFLUSH, &tio); in reset_tio()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | 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)
|
/dragonfly/libexec/comsat/ |
H A D | comsat.c | 153 struct termios tio; in notify() local 185 tcgetattr(fileno(tp), &tio); in notify() 186 cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r"; in notify()
|
/dragonfly/usr.sbin/ppp/ |
H A D | tty.c | 490 struct termios tio; in tty_Offline() local 492 tcgetattr(p->fd, &tio); in tty_Offline() 493 if (cfsetspeed(&tio, B0) == -1 || tcsetattr(p->fd, TCSANOW, &tio) == -1) in tty_Offline()
|
/dragonfly/usr.bin/dsynth/ |
H A D | build.c | 2471 struct termios tio; in dophase() local 2474 if (tcgetattr(MasterPtyFd, &tio) == 0) { in dophase() 2475 tio.c_oflag |= OPOST | ONOCR; in dophase() 2476 tio.c_oflag &= ~(OCRNL | ONLCR); in dophase() 2477 tio.c_iflag |= ICRNL; in dophase() 2478 tio.c_iflag &= ~(INLCR | IGNCR); in dophase() 2479 if (tcsetattr(MasterPtyFd, TCSANOW, &tio)) { in dophase()
|
/dragonfly/sys/bus/cam/ |
H A D | cam_ccb.h | 901 struct ccb_termio tio; member
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_chain.c | 1855 hammer2_io_t *tio; in hammer2_chain_modify() local 1857 if ((tio = chain->dio) != NULL) in hammer2_chain_modify() 1858 hammer2_io_bqrelse(&tio); in hammer2_chain_modify()
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_chain.c | 1872 hammer2_io_t *tio; in hammer2_chain_modify() local 1874 if ((tio = chain->dio) != NULL) in hammer2_chain_modify() 1875 hammer2_io_bqrelse(&tio); in hammer2_chain_modify()
|