Home
last modified time | relevance | path

Searched refs:TCSADRAIN (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/usr.bin/lock/
H A Dlock.c148 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &ntty); in main()
168 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); in main()
192 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); in main()
285 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); in quit()
295 (void)tcsetattr(0, TCSADRAIN|TCSASOFT, &tty); in bye()
/freebsd/contrib/ncurses/include/
H A Dnc_termios.h51 #ifndef TCSADRAIN
52 #define TCSADRAIN TCSETAW macro
142 #define TCSADRAIN 3 macro
/freebsd/usr.bin/mail/
H A Dtty.c106 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
114 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
121 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
129 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
144 tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
/freebsd/usr.bin/top/
H A Dscreen.c194 tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); in init_screen()
229 tcsetattr(STDOUT_FILENO, TCSADRAIN, &old_settings); in end_screen()
239 tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); in reinit_screen()
/freebsd/crypto/openssh/
H A Dsshtty.c61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode()
91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) { in enter_raw_mode()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A Dembedded_interpreter.py87 termios.tcsetattr(fd, termios.TCSADRAIN, new)
95 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/freebsd/contrib/nvi/cl/
H A Dcl_read.c210 TCSASOFT | TCSADRAIN, &term2); in cl_read()
213 TCSASOFT | TCSADRAIN, &clp->vi_enter); in cl_read()
300 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &term1); in cl_read()
H A Dcl_screen.c170 (void)tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->orig); in cl_quit()
365 if (tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &clp->vi_enter)) { in cl_vi_init()
483 fast: if (tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->ex_enter)) { in cl_ex_init()
H A Dcl_funcs.c729 TCSASOFT | TCSADRAIN, &clp->orig); in cl_suspend()
739 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &t); in cl_suspend()
779 (void)tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->orig); in cl_suspend()
799 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &t); in cl_suspend()
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c54 # define TCSADRAIN TCSETSW macro
59 # define TCSADRAIN TCSETAW macro
63 # define TCSADRAIN TIOCSETAW macro
347 tcsetattr(tin, TCSADRAIN, &tmp_tc); in TerminalNewMode()
506 if (tcsetattr(tin, TCSADRAIN, &tmp_tc) < 0) in TerminalNewMode()
/freebsd/contrib/telnet/telnet/
H A Dsys_bsd.c79 # define TCSADRAIN TCSETSW macro
84 # define TCSADRAIN TCSETAW macro
88 # define TCSADRAIN TIOCSETAW macro
410 tcsetattr(tin, TCSADRAIN, &tmp_tc); in TerminalNewMode()
671 if (tcsetattr(tin, TCSADRAIN, &tmp_tc) < 0) in TerminalNewMode()
/freebsd/usr.sbin/dconschat/
H A Ddconschat.c181 tcsetattr(STDIN_FILENO, TCSADRAIN, &dc->tsave); in dconschat_suspend()
187 tcsetattr(STDIN_FILENO, TCSADRAIN, &dc->traw); in dconschat_suspend()
203 tcsetattr(STDIN_FILENO, TCSADRAIN, &sc.traw); in dconschat_sigchld()
226 tcsetattr(STDIN_FILENO, TCSADRAIN, &dc->tsave); in dconschat_fork_gdb()
239 tcsetattr(STDIN_FILENO, TCSADRAIN, &dc->traw); in dconschat_fork_gdb()
258 tcsetattr(STDIN_FILENO, TCSADRAIN, &dc->tsave); in dconschat_cleanup()
644 tcsetattr(STDIN_FILENO, TCSADRAIN, &dc->traw); in dconschat_init_socket()
/freebsd/include/
H A Dtermios.h60 #define TCSADRAIN 1 /* drain output, then change */ macro
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-nextstep.c65 case TCSADRAIN: in tcsetattr()
/freebsd/usr.sbin/ppp/
H A Dprompt.c460 tcsetattr(p->fd_in, TCSADRAIN, &newtio); in prompt_TtyCommandMode()
480 tcsetattr(p->fd_in, TCSADRAIN, &p->comtio); in prompt_TtyTermMode()
502 tcsetattr(p->fd_in, TCSADRAIN, &p->oldtio); in prompt_TtyOldMode()
/freebsd/contrib/libedit/
H A Dtty.c554 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ex) == -1) { in tty_setup()
1065 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ed) == -1) { in tty_rawmode()
1090 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ex) == -1) { in tty_cookedmode()
1115 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_qu) == -1) { in tty_quotemode()
1136 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ed) == -1) { in tty_noquotemode()
1296 if (tty_setty(el, TCSADRAIN, tios) == -1) { in tty_stty()
/freebsd/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ttyio.c145 if (tcsetattr(s, TCSADRAIN, &term) == -1) { in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_ttypty.c84 RL(tcsetattr(acurrent, TCSADRAIN, &tio)); in h_check()
/freebsd/usr.bin/tip/tip/
H A Dtip.c300 tcsetattr(0, TCSADRAIN, &term); in raw()
311 tcsetattr(0, TCSADRAIN, &defterm); in unraw()
H A Dcmds.c855 tcsetattr(FD, TCSADRAIN, &rmtty); in tandem()
856 tcsetattr(0, TCSADRAIN, &term); in tandem()
872 tcsetattr(FD, TCSADRAIN, &rmtty); in hardwareflow()
/freebsd/lib/libc/gen/
H A Dtermios.c67 case TCSADRAIN: in tcsetattr()
/freebsd/contrib/wpa/wpa_supplicant/examples/
H A Dp2p-nfc.py373 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
390 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
H A Ddpp-nfc.py736 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
752 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
/freebsd/contrib/tcsh/
H A Dsh.file.c104 on = TCSADRAIN; in setup_tty()
121 on = TCSADRAIN; in setup_tty()
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c136 # define TCSADRAIN TCSETSW macro
141 # define TCSADRAIN TCSETAW macro
145 # define TCSADRAIN TIOCSETAW macro

12