/illumos-gate/usr/src/cmd/bnu/ |
H A D | line.c | 135 ttbufs.c_oflag = ttbuf.c_oflag; 170 ttbufs.c_oflag &= 0xffff0000; 209 ttbufs.c_oflag |= (OPOST | ONLCR); 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; [all …]
|
H A D | setmode.c | 287 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 D | cu.c | 459 _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 D | tset.c | 483 modes.c_oflag = oldmodes.c_oflag = mode.c_oflag; in main() 508 modes.c_oflag = mode.c_oflag; in main() 522 modes.c_oflag |= (OPOST|ONLCR); in main() 523 modes.c_oflag &= ~(OLCUC|OCRNL|ONOCR|ONLRET|OFILL|OFDEL| in main() 531 mode.c_oflag = modes.c_oflag; in main() 898 setdelay("dC", CRdelay, CRbits, &modes.c_oflag); in main() 899 setdelay("dN", NLdelay, NLbits, &modes.c_oflag); in main() 900 setdelay("dB", BSdelay, BSbits, &modes.c_oflag); in main() 901 setdelay("dF", FFdelay, FFbits, &modes.c_oflag); in main() 902 setdelay("dT", TBdelay, TBbits, &modes.c_oflag); in main() [all …]
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | line.c | 119 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 D | nonl.c | 58 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 D | newterm.c | 334 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 D | nonl.c | 57 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 D | newterm.c | 339 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 D | resetty.c | 56 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 D | savetty.c | 57 PROGTTY.c_oflag = PROGTTYS.c_oflag; in savetty() 72 cur_term->Filedes, SP, PROGTTYS.c_iflag, PROGTTYS.c_oflag, in savetty()
|
H A D | setupterm.c | 464 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 D | def_prog.c | 57 PROGTTYS.c_oflag = PROGTTY.c_oflag; in def_prog_mode()
|
H A D | reset_sh.c | 63 SHELLTTY.c_oflag = SHELLTTYS.c_oflag; in reset_shell_mode()
|
H A D | draino.c | 103 PROGTTY.c_oflag = PROGTTYS.c_oflag; in draino()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ttcompat.c | 1040 termiosp->c_oflag &= (ONLRET|ONOCR); in from_compat() 1087 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() 1107 termiosp->c_oflag |= ONLRET|CR1; /* tty37 */ in from_compat() 1110 termiosp->c_oflag |= NL1; in from_compat() 1154 termiosp->c_oflag |= OPOST; in from_compat() 1167 termiosp->c_oflag |= TAB1; in from_compat() 1171 termiosp->c_oflag |= TAB2; in from_compat() [all …]
|
H A D | ldterm.c | 2250 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() 3340 if (((tp->t_modes.c_oflag & OPOST) || in ldtermwmsg() 3544 if (!(tp->t_modes.c_oflag & OPOST)) { in ldterm_output_msg() 3561 (tp->t_modes.c_oflag & OLCUC) && in ldterm_output_msg() 3597 (tp->t_modes.c_oflag & OLCUC ? in ldterm_output_msg() 3602 (tp->t_modes.c_oflag & OLCUC ? in ldterm_output_msg() 3684 if (c == '\r' && (tp->t_modes.c_oflag & OCRNL)) { in ldterm_output_msg() [all …]
|
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 212 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 D | sttyparse.c | 249 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 D | tmautobaud.c | 90 termio.c_oflag = 0; in auto_termio() 105 termios.c_oflag &= 0xffff0000; in auto_termio()
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_put.c | 998 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 D | stty.c | 387 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() 511 if((sp->c_oflag&tp->mask)==tp->val) in output() 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() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | sys_bsd.c | 341 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 D | kmdb_promio.c | 110 "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 D | tput.c | 598 #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()
|