Home
last modified time | relevance | path

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

12

/openbsd/lib/libcurses/
H A Dnc_termios.h51 #ifndef TCSADRAIN
52 #define TCSADRAIN TCSETAW macro
142 #define TCSADRAIN 3 macro
/openbsd/usr.bin/top/
H A Dscreen.c150 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); in init_screen()
180 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &old_settings); in end_screen()
189 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); in reinit_screen()
/openbsd/usr.bin/ssh/
H A Dsshtty.c59 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode()
89 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) { in enter_raw_mode()
/openbsd/usr.bin/vi/cl/
H A Dcl_read.c195 TCSASOFT | TCSADRAIN, &term2); in cl_read()
198 TCSASOFT | TCSADRAIN, &clp->vi_enter); in cl_read()
268 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &term1); in cl_read()
H A Dcl_funcs.c527 TCSASOFT | TCSADRAIN, &clp->orig); in cl_suspend()
537 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &t); in cl_suspend()
573 (void)tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->orig); in cl_suspend()
H A Dcl_screen.c169 (void)tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->orig); in cl_quit()
353 if (tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &clp->vi_enter)) { in cl_vi_init()
462 fast: if (tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->ex_enter)) { in cl_ex_init()
/openbsd/usr.bin/mg/
H A Dttyio.c79 if (tcsetattr(0, TCSASOFT | TCSADRAIN, &newtty) == -1) { in ttraw()
113 if (tcsetattr(0, TCSASOFT | TCSADRAIN, &oldtty) == -1) { in ttcooked()
/openbsd/gnu/llvm/lldb/source/Interpreter/
H A Dembedded_interpreter.py84 termios.tcsetattr(fd, termios.TCSADRAIN, new)
91 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/openbsd/games/hack/
H A Dhack.tty.c140 if(tcsetattr(0, TCSADRAIN, &inittyb) == -1) in settty()
150 if(tcsetattr(0, TCSADRAIN, &curttyb) == -1) in setctty()
H A Dhack.ioctl.c83 (void) tcsetattr(fileno(stdin), TCSADRAIN, &termios); in setioctls()
/openbsd/lib/libc/termios/
H A Dtcsetattr.c48 case TCSADRAIN: in tcsetattr()
/openbsd/usr.bin/bc/
H A Dtty.c32 while ((ret = tcsetattr(0, TCSADRAIN, t)) == -1 && errno == EINTR) in settty()
/openbsd/regress/sys/kern/pledge/generic/
H A Dtest_tty.c79 if (tcsetattr(fd, TCSADRAIN, &ts) == -1) in test_request_tty()
/openbsd/lib/libedit/
H A Dtty.c548 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ex) == -1) { in tty_setup()
1058 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ed) == -1) { in tty_rawmode()
1083 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ex) == -1) { in tty_cookedmode()
1109 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_qu) == -1) { in tty_quotemode()
1130 if (tty_setty(el, TCSADRAIN, &el->el_tty.t_ed) == -1) { in tty_noquotemode()
1287 if (tty_setty(el, TCSADRAIN, tios) == -1) { in tty_stty()
/openbsd/games/tetris/
H A Dscreen.c287 if (tcsetattr(0, TCSADRAIN, &newtt) == -1) in scr_set()
332 (void) tcsetattr(0, TCSADRAIN, &oldtt); in scr_end()
/openbsd/usr.bin/telnet/
H A Dsys_bsd.c214 tcsetattr(tin, TCSADRAIN, &tmp_tc); in TerminalNewMode()
358 if (isatty(tin) && tcsetattr(tin, TCSADRAIN, &tmp_tc) == -1) in TerminalNewMode()
/openbsd/usr.bin/mail/
H A Dtty.c110 if (tcsetattr(tty.fdin, TCSADRAIN, &newtio) == -1) { in grabh()
159 if (tcsetattr(tty.fdin, TCSADRAIN, &oldtio) == -1) in grabh()
H A Dcmd1.c390 (void)tcsetattr(fileno(stdin), TCSADRAIN, &tbuf); in type1()
/openbsd/sys/sys/
H A Dtermios.h208 #define TCSADRAIN 1 /* drain output, then change */ macro
/openbsd/bin/ksh/
H A Djobs.c200 tcsetattr(tty_fd, TCSADRAIN, &tty_state); in j_suspend()
741 tcsetattr(tty_fd, TCSADRAIN, &j->ttystate); in j_resume()
747 tcsetattr(tty_fd, TCSADRAIN, &tty_state); in j_resume()
769 tcsetattr(tty_fd, TCSADRAIN, &tty_state); in j_resume()
1060 tcsetattr(tty_fd, TCSADRAIN, &tty_state); in j_waitj()
H A Dedit.c186 tcsetattr(tty_fd, TCSADRAIN, &cb); in x_mode()
207 tcsetattr(tty_fd, TCSADRAIN, &tty_state); in x_mode()
/openbsd/sbin/ldattach/
H A Dldattach.c287 if (tcsetattr(fd, TCSADRAIN, &tty) == -1) { in main()
/openbsd/games/atc/
H A Dmain.c160 tcsetattr(fileno(stdin), TCSADRAIN, &tty_new); in main()
/openbsd/usr.sbin/wsmoused/
H A Dmouse_protocols.c223 if (tcsetattr(mouse.mfd, TCSADRAIN, &tty) == -1) in SetMouseSpeed()
236 if (tcsetattr(mouse.mfd, TCSADRAIN, &tty) == -1) in SetMouseSpeed()
/openbsd/gnu/usr.bin/perl/ext/POSIX/
H A DMakefile.PL65 TCIOFLUSH TCION TCOFLUSH TCOOFF TCOON TCSADRAIN TCSAFLUSH TCSANOW

12