Home
last modified time | relevance | path

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

1234

/freebsd-14-stable/crypto/openssh/
HDttymodes.h125 TTYMODE(ISIG, c_lflag, 50)
126 TTYMODE(ICANON, c_lflag, 51)
128 TTYMODE(XCASE, c_lflag, 52)
130 TTYMODE(ECHO, c_lflag, 53)
131 TTYMODE(ECHOE, c_lflag, 54)
132 TTYMODE(ECHOK, c_lflag, 55)
133 TTYMODE(ECHONL, c_lflag, 56)
134 TTYMODE(NOFLSH, c_lflag, 57)
135 TTYMODE(TOSTOP, c_lflag, 58)
137 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()
/freebsd-14-stable/contrib/ncurses/ncurses/tinfo/
HDlib_raw.c96 buf.c_lflag &= (unsigned) ~(ICANON | ISIG | IEXTEN); in NCURSES_EXPORT()
152 buf.c_lflag &= (unsigned) ~ICANON; in NCURSES_SP_NAME()
199 buf.c_lflag &= (unsigned) ~(NOFLSH); in NCURSES_SP_NAME()
235 buf.c_lflag |= ISIG | ICANON | in NCURSES_SP_NAME()
236 (termp->Ottyb.c_lflag & IEXTEN); in NCURSES_SP_NAME()
290 buf.c_lflag |= ICANON; in NCURSES_SP_NAME()
330 buf.c_lflag |= NOFLSH; in NCURSES_SP_NAME()
375 buf.c_lflag &= (unsigned) ~(NOFLSH); in NCURSES_SP_NAME()
377 buf.c_lflag |= (NOFLSH); in NCURSES_SP_NAME()
/freebsd-14-stable/contrib/tcsh/
HDmi.termios.c209 termios_p->c_lflag = 0;
212 termios_p->c_lflag |= T_ECHO | ECHOE | ECHOK;
216 termios_p->c_lflag |= ISIG;
219 termios_p->c_lflag |= ICANON;
342 if (termios_p->c_lflag & T_ECHO)
346 if (!(termios_p->c_lflag & ICANON))
348 if (termios_p->c_lflag & ISIG)
HDed.init.c207 extty.d_t.c_lflag &= ~ttylist[EX_IO][M_LINED].t_clrmask; in ed_Setup()
208 extty.d_t.c_lflag |= ttylist[EX_IO][M_LINED].t_setmask; in ed_Setup()
331 edtty.d_t.c_lflag &= ~ttylist[ED_IO][M_LINED].t_clrmask; in ed_Init()
332 edtty.d_t.c_lflag |= ttylist[ED_IO][M_LINED].t_setmask; in ed_Init()
436 extty.d_t.c_lflag = tstty.d_t.c_lflag; in Rawmode()
437 extty.d_t.c_lflag &= ~ttylist[EX_IO][M_LINED].t_clrmask; in Rawmode()
438 extty.d_t.c_lflag |= ttylist[EX_IO][M_LINED].t_setmask; in Rawmode()
440 edtty.d_t.c_lflag = tstty.d_t.c_lflag; in Rawmode()
441 edtty.d_t.c_lflag &= ~ttylist[ED_IO][M_LINED].t_clrmask; in Rawmode()
442 edtty.d_t.c_lflag |= ttylist[ED_IO][M_LINED].t_setmask; in Rawmode()
[all …]
/freebsd-14-stable/sys/compat/linux/
HDlinux_ioctl.c315 unsigned short c_lflag; member
324 unsigned int c_lflag; member
445 lios->c_lflag = 0; in bsd_to_linux_termios()
446 if (bios->c_lflag & ISIG) in bsd_to_linux_termios()
447 lios->c_lflag |= LINUX_ISIG; in bsd_to_linux_termios()
448 if (bios->c_lflag & ICANON) in bsd_to_linux_termios()
449 lios->c_lflag |= LINUX_ICANON; in bsd_to_linux_termios()
450 if (bios->c_lflag & ECHO) in bsd_to_linux_termios()
451 lios->c_lflag |= LINUX_ECHO; in bsd_to_linux_termios()
452 if (bios->c_lflag & ECHOE) in bsd_to_linux_termios()
[all …]
/freebsd-14-stable/contrib/wpa/wpa_supplicant/
HDwpa_passphrase.c43 ctrl_echo = term.c_lflag & ECHO; in main()
44 term.c_lflag &= ~ECHO; in main()
53 term.c_lflag |= ECHO; in main()
/freebsd-14-stable/contrib/libfido2/openbsd-compat/
HDreadpassphrase.c101 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase()
109 term.c_lflag |= ECHO; in readpassphrase()
111 oterm.c_lflag |= ECHO; in readpassphrase()
151 if (!(term.c_lflag & ECHO)) in readpassphrase()
/freebsd-14-stable/crypto/openssh/openbsd-compat/
HDreadpassphrase.c97 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase()
105 term.c_lflag |= ECHO; in readpassphrase()
107 oterm.c_lflag |= ECHO; in readpassphrase()
147 if (!(term.c_lflag & ECHO)) in readpassphrase()
/freebsd-14-stable/lib/libc/gen/
HDreadpassphrase.c94 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase()
100 term.c_lflag |= ECHO; in readpassphrase()
102 oterm.c_lflag |= ECHO; in readpassphrase()
142 if (!(term.c_lflag & ECHO)) in readpassphrase()
HDtermios.c171 t->c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN|NOFLSH|TOSTOP|PENDIN); in cfmakeraw()
188 t->c_lflag = TTYDEF_LFLAG; in cfmakesane()
/freebsd-14-stable/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()
/freebsd-14-stable/usr.sbin/watch/
HDwatch.c112 ntty.c_lflag &= ~ICANON; /* disable canonical operation */ in set_tty()
113 ntty.c_lflag &= ~ECHO; in set_tty()
115 ntty.c_lflag &= ~FLUSHO; in set_tty()
118 ntty.c_lflag &= ~PENDIN; in set_tty()
121 ntty.c_lflag &= ~IEXTEN; in set_tty()
/freebsd-14-stable/contrib/telnet/telnet/
HDsys_bsd.c431 tmp_tc.c_lflag |= ECHO; in TerminalNewMode()
440 tmp_tc.c_lflag &= ~ECHO; in TerminalNewMode()
471 tmp_tc.c_lflag &= ~ISIG; in TerminalNewMode()
476 tmp_tc.c_lflag |= ISIG; in TerminalNewMode()
486 tmp_tc.c_lflag |= ICANON; in TerminalNewMode()
496 tmp_tc.c_lflag &= ~ICANON; in TerminalNewMode()
543 tmp_tc.c_lflag &= ~ECHOCTL; in TerminalNewMode()
551 tmp_tc.c_lflag |= ECHOCTL; in TerminalNewMode()
601 tmp_tc.c_lflag |= NOKERNINFO; in TerminalNewMode()
/freebsd-14-stable/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()
/freebsd-14-stable/contrib/libarchive/libarchive_fe/
HDpassphrase.c211 term.c_lflag &= ~(ECHO | ECHONL); in readpassphrase()
219 term.c_lflag |= ECHO; in readpassphrase()
221 oterm.c_lflag |= ECHO; in readpassphrase()
266 if (!(term.c_lflag & ECHO)) { in readpassphrase()
/freebsd-14-stable/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 …]
/freebsd-14-stable/contrib/nvi/cl/
HDcl_screen.c337 clp->vi_enter.c_lflag |= ISIG; in cl_vi_init()
470 clp->ex_enter.c_lflag |= ECHO | ECHOE | ECHOK | ICANON | IEXTEN | ISIG; in cl_ex_init()
472 clp->ex_enter.c_lflag |= ECHOCTL; in cl_ex_init()
475 clp->ex_enter.c_lflag |= ECHOKE; in cl_ex_init()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Host/common/
HDTerminal.cpp83 fd_termios.c_lflag &= ~ECHO; in SetEcho()
85 fd_termios.c_lflag |= ECHO; in SetEcho()
99 fd_termios.c_lflag &= ~ICANON; in SetCanonical()
101 fd_termios.c_lflag |= ICANON; in SetCanonical()
/freebsd-14-stable/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()
HDtty.c532 if (tp->t_termios.c_lflag & TOSTOP) { in ttydev_write()
630 new->c_lflag = (old->c_lflag & lock->c_lflag) | in ttydev_ioctl()
631 (new->c_lflag & ~lock->c_lflag); in ttydev_ioctl()
909 t->c_lflag = TTYDEF_LFLAG; in tty_init_termios()
1509 tp->t_termios.c_lflag &= ~FLUSHO; in tty_signal_sessleader()
1535 tp->t_termios.c_lflag &= ~FLUSHO; in tty_signal_pgrp()
1537 if (sig == SIGINFO && !(tp->t_termios.c_lflag & NOKERNINFO)) in tty_signal_pgrp()
1740 t->c_lflag &= TTYSUP_LFLAG; in tty_generic_ioctl()
1784 if ((t->c_lflag & ICANON) != (tp->t_termios.c_lflag & ICANON)) in tty_generic_ioctl()
1793 tp->t_termios.c_lflag = t->c_lflag; in tty_generic_ioctl()
[all …]
/freebsd-14-stable/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()
/freebsd-14-stable/contrib/openpam/lib/libpam/
HDopenpam_ttyconv.c102 slflag = tcattr.c_lflag; in prompt_tty()
103 tcattr.c_lflag &= ~ECHO; in prompt_tty()
184 tcattr.c_lflag = slflag; in prompt_tty()
/freebsd-14-stable/usr.sbin/lpr/lpd/
HDmodes.c220 ip->c_lflag &= ~mp->unset; in msearch()
221 ip->c_lflag |= mp->set; in msearch()
/freebsd-14-stable/contrib/ncurses/progs/
HDreset_cmd.c360 clear_flags(tty_settings->c_lflag, (ECHONL in reset_tty_settings()
366 set_flags(tty_settings->c_lflag, (ISIG in reset_tty_settings()
450 set_flags(tty_settings->c_lflag, ECHO); in set_conversions()
464 set_flags(tty_settings->c_lflag, (ECHOE | ECHOK)); in set_conversions()

1234