Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/bnu/
H A Dline.c135 ttbufs.c_oflag = ttbuf.c_oflag;
170 ttbufs.c_oflag &= 0xffff0000;
219 ttbuf.c_oflag = ttbufs.c_oflag;
275 tbufs.c_oflag = tbuf.c_oflag;
320 tbuf.c_oflag = tbufs.c_oflag;
343 tbuf.c_oflag = tbufs.c_oflag;
373 Savettyb.c_oflag |= OPOST; in savline()
379 Savettybs.c_oflag |= OPOST; in savline()
409 ttbufs.c_oflag = ttbuf.c_oflag;
422 ttbufs.c_oflag &= 0xffff0000;
[all …]
H A Dsetmode.c287 termios_clear.c_oflag = 0;
291 termios_set.c_oflag = 0;
308 termios_clear.c_oflag |= omodes[i].reset;
309 termios_set.c_oflag |= omodes[i].set;
350 termios.c_oflag &= ~termios_clear.c_oflag; in setty()
351 termios.c_oflag |= termios_set.c_oflag; in setty()
H A Dcu.c459 _Tv0s.c_oflag = _Tv0.c_oflag; in main()
1371 _Tv0.c_oflag = _Tv0s.c_oflag; in _mode()
1384 _Tv.c_oflag |= OPOST; in _mode()
1385 _Tv.c_oflag &= ~(OLCUC | ONLCR | OCRNL | ONOCR | ONLRET); in _mode()
1396 _Tv.c_oflag |= ONLCR; in _mode()
1651 VERBOSE("oflag=`%o',", xv.c_oflag); in tdmp()
/illumos-gate/usr/src/ucbcmd/tset/
H A Dtset.c483 modes.c_oflag = oldmodes.c_oflag = mode.c_oflag; in main()
508 modes.c_oflag = mode.c_oflag; in main()
531 mode.c_oflag = modes.c_oflag; in main()
907 modes.c_oflag |= OLCUC; in main()
911 modes.c_oflag &= ~OLCUC; in main()
927 modes.c_oflag |= ONLCR; in main()
930 modes.c_oflag |= TAB3; in main()
938 modes.c_oflag &= ~TAB3; in main()
1136 oldmode.c_oflag = oldmodes.c_oflag; in setmode()
1147 oldmode.c_oflag = oldmodes.c_oflag; in setmode()
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dline.c119 ttbufs.c_oflag = ttbuf.c_oflag; in fixline()
149 ttbufs.c_oflag &= 0xffff0000; in fixline()
188 ttbufs.c_oflag |= (OPOST | ONLCR); in fixline()
198 ttbuf.c_oflag = ttbufs.c_oflag; in fixline()
240 Savettyb.c_oflag |= OPOST; in savline()
246 Savettybs.c_oflag |= OPOST; in savline()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnonl.c58 PTERMIOS(_prog)->c_oflag |= OPOST; in nl()
60 PTERMIOS(_prog)->c_oflag |= ONLCR; in nl()
79 PTERMIOS(_prog)->c_oflag &= ~ONLCR; in nonl()
81 PTERMIOS(_prog)->c_oflag &= ~OPOST; in nonl()
H A Dnewterm.c334 PTERMIOS(_prog)->c_oflag |= OPOST; in newterm()
336 PTERMIOS(_prog)->c_oflag |= ONLCR; in newterm()
342 PTERMIOS(_prog)->c_oflag &= ~(TAB1|TAB2|TAB3); in newterm()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnonl.c57 cur_term->_prog.c_oflag |= OPOST; in nl()
59 cur_term->_prog.c_oflag |= ONLCR; in nl()
82 cur_term->_prog.c_oflag &= ~ONLCR; in nonl()
84 cur_term->_prog.c_oflag &= ~OPOST; in nonl()
H A Dnewterm.c339 cur_term->_prog.c_oflag |= OPOST;
341 cur_term->_prog.c_oflag |= ONLCR;
347 cur_term->_prog.c_oflag &= ~(TAB1|TAB2|TAB3);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dresetty.c56 PROGTTYS.c_iflag, PROGTTYS.c_oflag, in resetty()
69 PROGTTY.c_iflag, PROGTTY.c_oflag, in resetty()
73 PROGTTYS.c_oflag = PROGTTY.c_oflag; in resetty()
H A Dsavetty.c57 PROGTTY.c_oflag = PROGTTYS.c_oflag; in savetty()
72 cur_term->Filedes, SP, PROGTTYS.c_iflag, PROGTTYS.c_oflag, in savetty()
H A Dsetupterm.c464 SHELLTTY.c_oflag = SHELLTTYS.c_oflag; in setupterm()
473 PROGTTYS.c_oflag = PROGTTY.c_oflag; in setupterm()
662 if ((PROGTTYS.c_oflag & TABDLY) == TAB3) { in setupterm()
663 PROGTTYS.c_oflag &= ~TABDLY; in setupterm()
793 PROGTTY.c_oflag = PROGTTYS.c_oflag; in reset_prog_mode()
834 SHELLTTYS.c_oflag = SHELLTTY.c_oflag; in def_shell_mode()
H A Ddef_prog.c57 PROGTTYS.c_oflag = PROGTTY.c_oflag; in def_prog_mode()
H A Dreset_sh.c63 SHELLTTY.c_oflag = SHELLTTYS.c_oflag; in reset_shell_mode()
H A Ddraino.c103 PROGTTY.c_oflag = PROGTTYS.c_oflag; in draino()
/illumos-gate/usr/src/uts/common/io/
H A Dttcompat.c1087 termiosp->c_oflag |= OLCUC; in from_compat()
1094 termiosp->c_oflag |= ONLCR; in from_compat()
1098 termiosp->c_oflag |= CR2; in from_compat()
1102 termiosp->c_oflag |= CR3; in from_compat()
1110 termiosp->c_oflag |= NL1; in from_compat()
1167 termiosp->c_oflag |= TAB1; in from_compat()
1171 termiosp->c_oflag |= TAB2; in from_compat()
1175 termiosp->c_oflag |= TAB3; in from_compat()
1179 termiosp->c_oflag |= FFDLY; in from_compat()
1181 termiosp->c_oflag |= BSDLY; in from_compat()
[all …]
H A Dldterm.c2250 if (tp->t_modes.c_oflag & ONLRET) in ldterm_tabcols()
2360 if (tp->t_modes.c_oflag & ONLRET) in ldterm_tabcols()
2886 if (tp->t_modes.c_oflag & OLCUC) in ldterm_echo()
2920 if ((tp->t_modes.c_oflag & OPOST) || in ldterm_outchar()
3774 if (tp->t_modes.c_oflag & OLCUC) in ldterm_output_msg()
3859 if (tp->t_modes.c_oflag & in ldterm_output_msg()
3863 switch (tp->t_modes.c_oflag & in ldterm_output_msg()
4203 tp->t_amodes.c_oflag = in ldterm_do_ioctl()
4204 (tp->t_amodes.c_oflag & 0xffff0000 | cb->c_oflag); in ldterm_do_ioctl()
4907 cb->c_oflag = tp->t_amodes.c_oflag; /* cb->c_cflag */ in ldterm_ioctl_reply()
[all …]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c212 cb->c_oflag &= ~omodes[i].reset;
213 cb->c_oflag |= omodes[i].set;
216 cb->c_oflag |= TAB3;
346 termios->c_oflag = termio->c_oflag;
357 termios->c_oflag = stermio->omode;
386 termio->c_oflag = termios->c_oflag;
397 stermio->omode = termios->c_oflag;
430 cb->c_oflag = grab[1];
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c249 cb->c_oflag &= ~omodes[i].reset;
250 cb->c_oflag |= omodes[i].set;
253 cb->c_oflag |= TAB3;
383 termios->c_oflag = termio->c_oflag;
393 termios->c_oflag = stermio->omode;
446 termio->c_oflag = termios->c_oflag;
457 stermio->omode = termios->c_oflag;
543 cb->c_oflag = grab[1];
H A Dtmautobaud.c90 termio.c_oflag = 0; in auto_termio()
105 termios.c_oflag &= 0xffff0000; in auto_termio()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c998 tty.c_oflag &= ~(ONLCR|TAB3); in pstart()
1038 tty.c_oflag &= ~(TAB3|ONLCR); in ostart()
1109 pfast = (f.c_oflag & ONLCR) == 0; in ostop()
1196 tty.c_oflag = termio.c_oflag; in gTTY()
1209 tty.c_oflag = termio.c_oflag; in gTTY()
1229 termio.c_oflag = tty.c_oflag; in sTTY()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dstty.c387 sp->c_oflag |= tp->mask; in sane()
389 sp->c_oflag &= ~tp->mask; in sane()
413 sp->c_oflag = strtol(arg,&arg,16); in gin()
451 sfprintf(sfstdout,":%x",sp->c_oflag); in gout()
513 if(tty.c_oflag&tp->mask) in output()
678 sp->c_oflag &= ~tp->mask; in set()
679 sp->c_oflag |= tp->val; in set()
690 sp->c_oflag &= ~tp->mask; in set()
692 sp->c_oflag |= tp->val; in set()
774 sp->c_oflag |= OLCUC; in set()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c341 tmp_tc.c_oflag |= ONLCR;
350 tmp_tc.c_oflag &= ~ONLCR;
429 tmp_tc.c_oflag &= ~TABDLY;
430 tmp_tc.c_oflag |= TAB3;
436 tmp_tc.c_oflag &= ~TABDLY;
466 tmp_tc.c_oflag &= ~OPOST;
470 tmp_tc.c_oflag |= OPOST;
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promio.c110 "0%o l: 0%o\n", ti->c_iflag, ti->c_oflag, ti->c_cflag, in pio_ctl()
119 "0%o l: 0%o\n", ti->c_iflag, ti->c_oflag, ti->c_cflag, in pio_ctl()
202 pdp->pio_ti.c_oflag |= ONLCR; in kmdb_promio_create()
/illumos-gate/usr/src/cmd/tput/
H A Dtput.c598 #define OFLAG(mode) mode.c_oflag in initterm()
629 termmodes.c_oflag = termmode.c_oflag; in initterm()
693 termmode.c_oflag = termmodes.c_oflag; in initterm()

123