Home
last modified time | relevance | path

Searched refs:c_lflag (Results 1 – 25 of 104) sorted by relevance

12345

/NextBSD/crypto/openssh/
HDttymodes.h131 TTYMODE(ISIG, c_lflag, 50)
132 TTYMODE(ICANON, c_lflag, 51)
134 TTYMODE(XCASE, c_lflag, 52)
136 TTYMODE(ECHO, c_lflag, 53)
137 TTYMODE(ECHOE, c_lflag, 54)
138 TTYMODE(ECHOK, c_lflag, 55)
139 TTYMODE(ECHONL, c_lflag, 56)
140 TTYMODE(NOFLSH, c_lflag, 57)
141 TTYMODE(TOSTOP, c_lflag, 58)
143 TTYMODE(IEXTEN, c_lflag, 59)
[all …]
HDsshtty.c84 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); in enter_raw_mode()
86 tio.c_lflag &= ~IEXTEN; in enter_raw_mode()
/NextBSD/sys/compat/svr4/
HDsvr4_termios.c146 st->c_iflag, st->c_oflag, st->c_cflag, st->c_lflag));
160 bt->c_iflag, bt->c_oflag, bt->c_cflag, bt->c_lflag);
325 svr4_to_bsd_flag1(c_lflag,I,SIG);
326 svr4_to_bsd_flag1(c_lflag,I,CANON);
327 undefined_flag1(c_lflag,X,CASE);
328 svr4_to_bsd_flag1(c_lflag,E,CHO);
329 svr4_to_bsd_flag1(c_lflag,E,CHOE);
330 svr4_to_bsd_flag1(c_lflag,E,CHOK);
331 svr4_to_bsd_flag1(c_lflag,E,CHONL);
332 svr4_to_bsd_flag1(c_lflag,N,OFLSH);
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Host/common/
HDTerminal.cpp45 if (fd_termios.c_lflag & ECHO) in SetEcho()
48 fd_termios.c_lflag |= ECHO; in SetEcho()
52 if (fd_termios.c_lflag & ECHO) in SetEcho()
53 fd_termios.c_lflag &= ~ECHO; in SetEcho()
82 if (fd_termios.c_lflag & ICANON) in SetCanonical()
85 fd_termios.c_lflag |= ICANON; in SetCanonical()
89 if (fd_termios.c_lflag & ICANON) in SetCanonical()
90 fd_termios.c_lflag &= ~ICANON; in SetCanonical()
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDlib_raw.c95 buf.c_lflag &= (unsigned) ~(ICANON | ISIG | IEXTEN); in NCURSES_EXPORT()
147 buf.c_lflag &= (unsigned) ~ICANON; in NCURSES_SP_NAME()
149 buf.c_lflag |= ISIG; in NCURSES_SP_NAME()
190 buf.c_lflag &= (unsigned) ~(NOFLSH); in NCURSES_SP_NAME()
225 buf.c_lflag |= ISIG | ICANON | in NCURSES_SP_NAME()
226 (termp->Ottyb.c_lflag & IEXTEN); in NCURSES_SP_NAME()
276 buf.c_lflag |= ICANON; in NCURSES_SP_NAME()
312 buf.c_lflag |= NOFLSH; in NCURSES_SP_NAME()
356 buf.c_lflag &= (unsigned) ~(NOFLSH); in NCURSES_SP_NAME()
358 buf.c_lflag |= (NOFLSH); in NCURSES_SP_NAME()
/NextBSD/contrib/telnet/telnetd/
HDsys_term.c440 return(termbuf.c_lflag & EXTPROC); in tty_linemode()
454 termbuf.c_lflag |= EXTPROC; in tty_setlinemode()
456 termbuf.c_lflag &= ~EXTPROC; in tty_setlinemode()
468 return (termbuf.c_lflag & ECHO); in tty_isecho()
506 termbuf.c_lflag |= ECHO; in tty_setecho()
508 termbuf.c_lflag &= ~ECHO; in tty_setecho()
518 return(!(termbuf.c_lflag & ICANON)); in tty_israw()
534 termbuf.c_lflag &= ~ICANON; in tty_setraw()
536 termbuf.c_lflag |= ICANON; in tty_setraw()
607 return(termbuf.c_lflag & ICANON); in tty_isediting()
[all …]
/NextBSD/bin/stty/
HDkey.c149 ip->t.c_lflag |= ISIG|IEXTEN; in f_cbreak()
150 ip->t.c_lflag &= ~ICANON; in f_cbreak()
170 ip->t.c_lflag &= ~ECHOPRT; in f_dec()
171 ip->t.c_lflag |= ECHOE|ECHOKE|ECHOCTL; in f_dec()
267 ip->t.c_lflag = def.c_lflag | (ip->t.c_lflag & LKEEP); in f_sane()
HDgfmt.c64 (u_long)tp->c_cflag, (u_long)tp->c_iflag, (u_long)tp->c_lflag, in gprint()
105 tp->c_lflag = tmp; in gread()
/NextBSD/sys/compat/linux/
HDlinux_ioctl.c313 unsigned short c_lflag; member
322 unsigned int c_lflag; member
394 bios->c_iflag, bios->c_oflag, bios->c_cflag, bios->c_lflag, in bsd_to_linux_termios()
456 lios->c_lflag = 0; in bsd_to_linux_termios()
457 if (bios->c_lflag & ISIG) in bsd_to_linux_termios()
458 lios->c_lflag |= LINUX_ISIG; in bsd_to_linux_termios()
459 if (bios->c_lflag & ICANON) in bsd_to_linux_termios()
460 lios->c_lflag |= LINUX_ICANON; in bsd_to_linux_termios()
461 if (bios->c_lflag & ECHO) in bsd_to_linux_termios()
462 lios->c_lflag |= LINUX_ECHO; in bsd_to_linux_termios()
[all …]
/NextBSD/contrib/tcsh/
HDmi.termios.c211 termios_p->c_lflag = 0;
214 termios_p->c_lflag |= T_ECHO | ECHOE | ECHOK;
218 termios_p->c_lflag |= ISIG;
221 termios_p->c_lflag |= ICANON;
344 if (termios_p->c_lflag & T_ECHO)
348 if (!(termios_p->c_lflag & ICANON))
350 if (termios_p->c_lflag & ISIG)
HDed.init.c211 extty.d_t.c_lflag &= ~ttylist[EX_IO][M_LINED].t_clrmask; in ed_Setup()
212 extty.d_t.c_lflag |= ttylist[EX_IO][M_LINED].t_setmask; in ed_Setup()
335 edtty.d_t.c_lflag &= ~ttylist[ED_IO][M_LINED].t_clrmask; in ed_Init()
336 edtty.d_t.c_lflag |= ttylist[ED_IO][M_LINED].t_setmask; in ed_Init()
440 extty.d_t.c_lflag = tstty.d_t.c_lflag; in Rawmode()
441 extty.d_t.c_lflag &= ~ttylist[EX_IO][M_LINED].t_clrmask; in Rawmode()
442 extty.d_t.c_lflag |= ttylist[EX_IO][M_LINED].t_setmask; in Rawmode()
444 edtty.d_t.c_lflag = tstty.d_t.c_lflag; in Rawmode()
445 edtty.d_t.c_lflag &= ~ttylist[ED_IO][M_LINED].t_clrmask; in Rawmode()
446 edtty.d_t.c_lflag |= ttylist[ED_IO][M_LINED].t_setmask; in Rawmode()
[all …]
/NextBSD/usr.bin/tset/
HDset.c129 mode.c_lflag &= ~(ECHONL | NOFLSH | TOSTOP in reset_mode()
138 mode.c_lflag |= (ISIG | ICANON | ECHO | ECHOE | ECHOK in reset_mode()
206 mode.c_lflag |= ICANON; in set_conversions()
220 mode.c_lflag |= ECHO; in set_conversions()
229 mode.c_lflag &= ~ECHO; in set_conversions()
232 mode.c_lflag |= (ECHOE | ECHOK); in set_conversions()
/NextBSD/contrib/libreadline/examples/
HDexcallback.c110 old_lflag = term.c_lflag; in main()
112 term.c_lflag &= ~ICANON; in main()
145 term.c_lflag = old_lflag; in process_line()
/NextBSD/lib/libc/gen/
HDreadpassphrase.c89 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase()
95 term.c_lflag |= ECHO; in readpassphrase()
97 oterm.c_lflag |= ECHO; in readpassphrase()
137 if (!(term.c_lflag & ECHO)) in readpassphrase()
/NextBSD/crypto/openssh/openbsd-compat/
HDreadpassphrase.c111 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase()
119 term.c_lflag |= ECHO; in readpassphrase()
121 oterm.c_lflag |= ECHO; in readpassphrase()
145 if (!(term.c_lflag & ECHO)) in readpassphrase()
/NextBSD/crypto/heimdal/appl/telnet/telnet/
HDsys_bsd.c357 tmp_tc.c_lflag |= ECHO; in TerminalNewMode()
362 tmp_tc.c_lflag &= ~ECHO; in TerminalNewMode()
384 tmp_tc.c_lflag &= ~ISIG; in TerminalNewMode()
387 tmp_tc.c_lflag |= ISIG; in TerminalNewMode()
392 tmp_tc.c_lflag |= ICANON; in TerminalNewMode()
394 tmp_tc.c_lflag &= ~ICANON; in TerminalNewMode()
425 tmp_tc.c_lflag &= ~ECHOCTL; in TerminalNewMode()
429 tmp_tc.c_lflag |= ECHOCTL; in TerminalNewMode()
464 tmp_tc.c_lflag |= NOKERNINFO; in TerminalNewMode()
/NextBSD/sys/i386/ibcs2/
HDibcs2_ioctl.c164 l = st->c_lflag; r = 0;
173 bt->c_lflag = r;
183 if (bt->c_lflag & ICANON) {
256 l = bt->c_lflag; r = 0;
265 st->c_lflag = r;
279 if (bt->c_lflag & ICANON) {
310 t->c_lflag = ts->c_lflag;
323 ts->c_lflag = t->c_lflag;
/NextBSD/contrib/libreadline/
HDrltty.c412 # define OUTPUT_BEING_FLUSHED(tp) (tp->c_lflag & FLUSHO)
505 tiop->c_lflag &= ~FLUSHO;
583 readline_echoing_p = (oldtio.c_lflag & ECHO);
585 tiop->c_lflag &= ~(ICANON | ECHO);
607 tiop->c_lflag &= ~ISIG;
609 tiop->c_lflag |= ISIG;
618 tiop->c_lflag &= ~FLUSHO;
619 oldtio.c_lflag &= ~FLUSHO;
1007 nosigstty.c_lflag &= ~ISIG; in _rl_disable_tty_signals()
/NextBSD/usr.sbin/watch/
HDwatch.c114 ntty.c_lflag &= ~ICANON; /* disable canonical operation */ in set_tty()
115 ntty.c_lflag &= ~ECHO; in set_tty()
117 ntty.c_lflag &= ~FLUSHO; in set_tty()
120 ntty.c_lflag &= ~PENDIN; in set_tty()
123 ntty.c_lflag &= ~IEXTEN; in set_tty()
/NextBSD/contrib/telnet/telnet/
HDsys_bsd.c437 tmp_tc.c_lflag |= ECHO; in TerminalNewMode()
446 tmp_tc.c_lflag &= ~ECHO; in TerminalNewMode()
477 tmp_tc.c_lflag &= ~ISIG; in TerminalNewMode()
482 tmp_tc.c_lflag |= ISIG; in TerminalNewMode()
492 tmp_tc.c_lflag |= ICANON; in TerminalNewMode()
502 tmp_tc.c_lflag &= ~ICANON; in TerminalNewMode()
549 tmp_tc.c_lflag &= ~ECHOCTL; in TerminalNewMode()
557 tmp_tc.c_lflag |= ECHOCTL; in TerminalNewMode()
607 tmp_tc.c_lflag |= NOKERNINFO; in TerminalNewMode()
/NextBSD/crypto/heimdal/appl/login/
HDstty_default.c86 termios.c_lflag |= (ISIG|IEXTEN|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE); in stty_default()
87 termios.c_lflag &= ~(ECHOPRT|TOSTOP|FLUSHO); in stty_default()
/NextBSD/crypto/heimdal/appl/telnet/telnetd/
HDsys_term.c519 return (termbuf.c_lflag & ECHO); in tty_isecho()
538 termbuf.c_lflag |= ECHO; in tty_setecho()
540 termbuf.c_lflag &= ~ECHO; in tty_setecho()
546 return(!(termbuf.c_lflag & ICANON)); in tty_israw()
623 return (!(termbuf.c_lflag & ECHOCTL)); in tty_islitecho()
626 return (!(termbuf.c_lflag & TCTLECH)); in tty_islitecho()
638 termbuf.c_lflag &= ~ECHOCTL; in tty_setlitecho()
640 termbuf.c_lflag |= ECHOCTL; in tty_setlitecho()
644 termbuf.c_lflag &= ~TCTLECH; in tty_setlitecho()
646 termbuf.c_lflag |= TCTLECH; in tty_setlitecho()
[all …]
/NextBSD/contrib/opie/
HDopielogin.c854 termios.c_lflag &= ~ECHO;
978 attr.c_lflag |= ICANON; /* enable canonical input processing */
979 attr.c_lflag &= ~ISIG; /* disable INTR, QUIT,& SUSP signals */
980 attr.c_lflag |= (ECHO | ECHOE); /* enable echo and erase */
991 attr.c_lflag |= ICANON; /* enable canonical input */
992 attr.c_lflag |= ECHO;
993 attr.c_lflag |= ECHOE; /* enable ERASE character */
994 attr.c_lflag |= ECHOK; /* enable KILL to delete line */
1451 attr.c_lflag |= (ISIG | IEXTEN);
/NextBSD/libexec/getty/
HDsubr.c247 tmode.c_lflag = L0; in set_flags()
256 tmode.c_lflag = L1; in set_flags()
265 tmode.c_lflag = L2; in set_flags()
275 lflag = omode.c_lflag; in set_flags()
393 tmode.c_lflag = lflag; in set_flags()
/NextBSD/sys/kern/
HDtty_compat.c277 tcflag_t lflag = tp->t_termios.c_lflag; in ttcompatgetflags()
339 tcflag_t lflag = t->c_lflag; in ttcompatsetflags()
406 t->c_lflag = lflag; in ttcompatsetflags()
416 tcflag_t lflag = t->c_lflag; in ttcompatsetlflags()
482 t->c_lflag = lflag; in ttcompatsetlflags()

12345