Home
last modified time | relevance | path

Searched refs:c_oflag (Results 1 – 25 of 46) sorted by relevance

12

/dragonfly/usr.bin/tset/
H A Dset.c91 mode.c_oflag &= ~(0 in reset_mode()
115 mode.c_oflag |= (OPOST in reset_mode()
191 mode.c_oflag |= OLCUC; in set_conversions()
196 mode.c_oflag &= ~OLCUC; in set_conversions()
211 mode.c_oflag |= ONLCR; in set_conversions()
215 mode.c_oflag |= OXTABS; in set_conversions()
218 mode.c_oflag &= ~ONLCR; in set_conversions()
225 mode.c_oflag &= ~OXTABS; in set_conversions()
241 if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) { in set_init()
242 oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET); in set_init()
/dragonfly/crypto/openssh/
H A Dttymodes.h149 TTYMODE(OPOST, c_oflag, 70)
151 TTYMODE(OLCUC, c_oflag, 71)
154 TTYMODE(ONLCR, c_oflag, 72)
157 TTYMODE(OCRNL, c_oflag, 73)
160 TTYMODE(ONOCR, c_oflag, 74)
163 TTYMODE(ONLRET, c_oflag, 75)
H A Dsshtty.c88 tio.c_oflag &= ~OPOST; in enter_raw_mode()
/dragonfly/contrib/tcsh-6/
H A Ded.init.c201 extty.d_t.c_oflag &= ~ttylist[EX_IO][M_OUTPUT].t_clrmask; in ed_Setup()
202 extty.d_t.c_oflag |= ttylist[EX_IO][M_OUTPUT].t_setmask; in ed_Setup()
325 edtty.d_t.c_oflag &= ~ttylist[ED_IO][M_OUTPUT].t_clrmask; in ed_Init()
326 edtty.d_t.c_oflag |= ttylist[ED_IO][M_OUTPUT].t_setmask; in ed_Init()
452 extty.d_t.c_oflag = tstty.d_t.c_oflag; in Rawmode()
453 extty.d_t.c_oflag &= ~ttylist[EX_IO][M_OUTPUT].t_clrmask; in Rawmode()
454 extty.d_t.c_oflag |= ttylist[EX_IO][M_OUTPUT].t_setmask; in Rawmode()
456 edtty.d_t.c_oflag = tstty.d_t.c_oflag; in Rawmode()
457 edtty.d_t.c_oflag &= ~ttylist[ED_IO][M_OUTPUT].t_clrmask; in Rawmode()
458 edtty.d_t.c_oflag |= ttylist[ED_IO][M_OUTPUT].t_setmask; in Rawmode()
[all …]
/dragonfly/contrib/ncurses/progs/
H A Dreset_cmd.c254 tty_settings->c_oflag &= ~((unsigned) (0 in reset_tty_settings()
293 tty_settings->c_oflag |= (OPOST in reset_tty_settings()
393 tty_settings->c_oflag |= ONLCR; in set_conversions()
398 tty_settings->c_oflag |= OXTABS; in set_conversions()
405 tty_settings->c_oflag &= ~((unsigned) ONLCR); in set_conversions()
412 tty_settings->c_oflag &= ~OXTABS; in set_conversions()
481 old_settings->c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) { in send_init_strings()
482 old_settings->c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET); in send_init_strings()
/dragonfly/libexec/telnetd/
H A Dsys_term.c573 termbuf.c_oflag &= ~OPOST; in tty_binaryout()
577 termbuf.c_oflag |= OPOST; in tty_binaryout()
598 return(!(termbuf.c_oflag&OPOST)); in tty_isbinaryout()
661 return (termbuf.c_oflag & OXTABS); in tty_issofttab()
664 return ((termbuf.c_oflag & TABDLY) == TAB3); in tty_issofttab()
680 termbuf.c_oflag |= OXTABS; in tty_setsofttab()
683 termbuf.c_oflag &= ~TABDLY; in tty_setsofttab()
684 termbuf.c_oflag |= TAB3; in tty_setsofttab()
688 termbuf.c_oflag &= ~OXTABS; in tty_setsofttab()
691 termbuf.c_oflag &= ~TABDLY; in tty_setsofttab()
[all …]
/dragonfly/usr.bin/telnet/
H A Dsys_bsd.c430 tmp_tc.c_oflag |= ONLCR; in TerminalNewMode()
439 tmp_tc.c_oflag &= ~ONLCR; in TerminalNewMode()
516 tmp_tc.c_oflag |= OXTABS; in TerminalNewMode()
519 tmp_tc.c_oflag &= ~TABDLY; in TerminalNewMode()
520 tmp_tc.c_oflag |= TAB3; in TerminalNewMode()
528 tmp_tc.c_oflag &= ~OXTABS; in TerminalNewMode()
531 tmp_tc.c_oflag &= ~TABDLY; in TerminalNewMode()
575 tmp_tc.c_oflag &= ~OPOST; in TerminalNewMode()
579 tmp_tc.c_oflag |= OPOST; in TerminalNewMode()
/dragonfly/bin/stty/
H A Dkey.c144 ip->t.c_oflag |= OPOST; in f_cbreak()
215 ip->t.c_oflag |= ONLCR; in f_nl()
218 ip->t.c_oflag &= ~ONLCR; in f_nl()
263 ip->t.c_oflag = TTYDEF_OFLAG; in f_sane()
H A Dgfmt.c61 (u_long)tp->c_oflag); in gprint()
105 tp->c_oflag = tmp; in gread()
H A Dmodes.c235 ip->t.c_oflag &= ~mp->unset; in msearch()
236 ip->t.c_oflag |= mp->set; in msearch()
/dragonfly/games/backgammon/teachgammon/
H A Dteach.c66 noech.c_oflag &= ~(ONLCR | OXTABS); in main()
67 raw.c_oflag &= ~(ONLCR | OXTABS); in main()
/dragonfly/libexec/getty/
H A Dsubr.c243 tmode.c_oflag = O0; in set_flags()
252 tmode.c_oflag = O1; in set_flags()
261 tmode.c_oflag = O2; in set_flags()
268 oflag = omode.c_oflag; in set_flags()
381 tmode.c_oflag = oflag; in set_flags()
H A Dmain.c381 tmode.c_oflag |= ONLCR; in main()
462 tmode.c_oflag = def.c_oflag; in defttymode()
/dragonfly/usr.sbin/lpr/lpd/
H A Dmodes.c221 ip->c_oflag &= ~mp->unset; in msearch()
222 ip->c_oflag |= mp->set; in msearch()
/dragonfly/games/hack/
H A Dhack.tty.c136 if (curttyb.c_oflag & OXTABS) { in gettty()
137 curttyb.c_oflag &= ~OXTABS; in gettty()
/dragonfly/lib/libc/gen/
H A Dtermios.c172 t->c_oflag &= ~OPOST; in cfmakeraw()
190 t->c_oflag = TTYDEF_OFLAG; in cfmakesane()
/dragonfly/contrib/ncurses/ncurses/trace/
H A Dlib_tracebits.c174 if (tty->c_oflag & ALLOUT) in _nc_trace_ttymode()
175 lookup_bits(buf, oflags, "oflags", tty->c_oflag); in _nc_trace_ttymode()
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dlib_ttyflags.c157 if (termp->Ottyb.c_oflag & OFLAGS_TABS) in NCURSES_SP_NAME()
195 termp->Nttyb.c_oflag &= (unsigned) (~OFLAGS_TABS); in NCURSES_SP_NAME()
/dragonfly/contrib/gdb-7/gdb/
H A Dser-unix.c258 (int) state->termios.c_oflag); in hardwire_print_tty_state()
275 state->termio.c_iflag, state->termio.c_oflag); in hardwire_print_tty_state()
410 state.termios.c_oflag = 0; in hardwire_raw()
433 state.termio.c_oflag = 0; in hardwire_raw()
/dragonfly/games/backgammon/backgammon/
H A Dmain.c114 noech.c_oflag &= ~(ONLCR | OXTABS); in main()
115 raw.c_oflag &= ~(ONLCR | OXTABS); in main()
/dragonfly/lib/libvgl/
H A Dkeyboard.c54 term.c_oflag = 0; in VGLKeyboardInit()
/dragonfly/usr.bin/top/
H A Dscreen.c393 new_settings.c_oflag &= ~(TAB3); in screen_init()
418 new_settings.c_oflag &= ~(TAB3); in screen_init()
/dragonfly/usr.bin/window/
H A Dwwinit.c103 wwwintty.ww_termios.c_oflag &= ~OXTABS; in wwinit()
109 wwnewtty.ww_termios.c_oflag = 0; in wwinit()
/dragonfly/contrib/nvi2/cl/
H A Dcl_screen.c478 clp->ex_enter.c_oflag |= OPOST; in cl_ex_init()
480 clp->ex_enter.c_oflag |= ONLCR; in cl_ex_init()
/dragonfly/sys/sys/
H A D_termios.h224 tcflag_t c_oflag; /* output flags */ member

12