Home
last modified time | relevance | path

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

123

/titanic_44/usr/src/cmd/bnu/
H A Dline.c134 ttbufs.c_oflag = ttbuf.c_oflag;
169 ttbufs.c_oflag &= 0xffff0000;
208 ttbufs.c_oflag |= (OPOST | ONLCR);
218 ttbuf.c_oflag = ttbufs.c_oflag;
274 tbufs.c_oflag = tbuf.c_oflag;
319 tbuf.c_oflag = tbufs.c_oflag;
342 tbuf.c_oflag = tbufs.c_oflag;
372 Savettyb.c_oflag |= OPOST; in savline()
378 Savettybs.c_oflag |= OPOST; in savline()
408 ttbufs.c_oflag = ttbuf.c_oflag;
[all …]
H A Dsetmode.c289 termios_clear.c_oflag = 0;
293 termios_set.c_oflag = 0;
310 termios_clear.c_oflag |= omodes[i].reset;
311 termios_set.c_oflag |= omodes[i].set;
352 termios.c_oflag &= ~termios_clear.c_oflag; in setty()
353 termios.c_oflag |= termios_set.c_oflag; in setty()
/titanic_44/usr/src/cmd/ssh/include/
H A Dttymodes.h170 TTYMODE(OPOST, c_oflag, 70)
172 TTYMODE(OLCUC, c_oflag, 71)
175 TTYMODE(ONLCR, c_oflag, 72)
178 TTYMODE(OCRNL, c_oflag, 73)
181 TTYMODE(ONOCR, c_oflag, 74)
184 TTYMODE(ONLRET, c_oflag, 75)
/titanic_44/usr/src/ucbcmd/tset/
H A Dtset.c479 modes.c_oflag = oldmodes.c_oflag = mode.c_oflag; in main()
504 modes.c_oflag = mode.c_oflag; in main()
518 modes.c_oflag |= (OPOST|ONLCR); in main()
519 modes.c_oflag &= ~(OLCUC|OCRNL|ONOCR|ONLRET|OFILL|OFDEL| in main()
527 mode.c_oflag = modes.c_oflag; in main()
896 setdelay("dC", CRdelay, CRbits, &modes.c_oflag); in main()
897 setdelay("dN", NLdelay, NLbits, &modes.c_oflag); in main()
898 setdelay("dB", BSdelay, BSbits, &modes.c_oflag); in main()
899 setdelay("dF", FFdelay, FFbits, &modes.c_oflag); in main()
900 setdelay("dT", TBdelay, TBbits, &modes.c_oflag); in main()
[all …]
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnonl.c60 PTERMIOS(_prog)->c_oflag |= OPOST; in nl()
62 PTERMIOS(_prog)->c_oflag |= ONLCR; in nl()
81 PTERMIOS(_prog)->c_oflag &= ~ONLCR; in nonl()
83 PTERMIOS(_prog)->c_oflag &= ~OPOST; in nonl()
/titanic_44/usr/src/lib/libnsl/dial/
H A Dline.c123 ttbufs.c_oflag = ttbuf.c_oflag; in fixline()
153 ttbufs.c_oflag &= 0xffff0000; in fixline()
192 ttbufs.c_oflag |= (OPOST | ONLCR); in fixline()
202 ttbuf.c_oflag = ttbufs.c_oflag; in fixline()
244 Savettyb.c_oflag |= OPOST; in savline()
250 Savettybs.c_oflag |= OPOST; in savline()
/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnonl.c59 cur_term->_prog.c_oflag |= OPOST; in nl()
61 cur_term->_prog.c_oflag |= ONLCR; in nl()
84 cur_term->_prog.c_oflag &= ~ONLCR; in nonl()
86 cur_term->_prog.c_oflag &= ~OPOST; in nonl()
H A Dnewterm.c341 cur_term->_prog.c_oflag |= OPOST;
343 cur_term->_prog.c_oflag |= ONLCR;
349 cur_term->_prog.c_oflag &= ~(TAB1|TAB2|TAB3);
/titanic_44/usr/src/lib/libcurses/screen/
H A Dresetty.c58 PROGTTYS.c_iflag, PROGTTYS.c_oflag, in resetty()
71 PROGTTY.c_iflag, PROGTTY.c_oflag, in resetty()
75 PROGTTYS.c_oflag = PROGTTY.c_oflag; in resetty()
H A Dsavetty.c59 PROGTTY.c_oflag = PROGTTYS.c_oflag; in savetty()
74 cur_term->Filedes, SP, PROGTTYS.c_iflag, PROGTTYS.c_oflag, in savetty()
H A Dsetupterm.c457 SHELLTTY.c_oflag = SHELLTTYS.c_oflag; in setupterm()
466 PROGTTYS.c_oflag = PROGTTY.c_oflag; in setupterm()
655 if ((PROGTTYS.c_oflag & TABDLY) == TAB3) { in setupterm()
656 PROGTTYS.c_oflag &= ~TABDLY; in setupterm()
786 PROGTTY.c_oflag = PROGTTYS.c_oflag; in reset_prog_mode()
827 SHELLTTYS.c_oflag = SHELLTTY.c_oflag; in def_shell_mode()
H A Ddef_prog.c59 PROGTTYS.c_oflag = PROGTTY.c_oflag; in def_prog_mode()
H A Dreset_sh.c65 SHELLTTY.c_oflag = SHELLTTYS.c_oflag; in reset_shell_mode()
H A Ddraino.c105 PROGTTY.c_oflag = PROGTTYS.c_oflag; in draino()
/titanic_44/usr/src/uts/common/io/
H A Dttcompat.c1138 termiosp->c_oflag &= (ONLRET|ONOCR); in from_compat()
1185 termiosp->c_oflag |= OLCUC; in from_compat()
1192 termiosp->c_oflag |= ONLCR; in from_compat()
1196 termiosp->c_oflag |= CR2; in from_compat()
1200 termiosp->c_oflag |= CR3; in from_compat()
1205 termiosp->c_oflag |= ONLRET|CR1; /* tty37 */ in from_compat()
1208 termiosp->c_oflag |= NL1; in from_compat()
1252 termiosp->c_oflag |= OPOST; in from_compat()
1265 termiosp->c_oflag |= TAB1; in from_compat()
1269 termiosp->c_oflag |= TAB2; in from_compat()
[all …]
H A Dldterm.c2233 if (tp->t_modes.c_oflag & ONLRET) in ldterm_tabcols()
2343 if (tp->t_modes.c_oflag & ONLRET) in ldterm_tabcols()
2869 if (tp->t_modes.c_oflag & OLCUC) in ldterm_echo()
2903 if ((tp->t_modes.c_oflag & OPOST) || in ldterm_outchar()
3321 if (((tp->t_modes.c_oflag & OPOST) || in ldtermwmsg()
3525 if (!(tp->t_modes.c_oflag & OPOST)) { in ldterm_output_msg()
3542 (tp->t_modes.c_oflag & OLCUC) && in ldterm_output_msg()
3578 (tp->t_modes.c_oflag & OLCUC ? in ldterm_output_msg()
3583 (tp->t_modes.c_oflag & OLCUC ? in ldterm_output_msg()
3665 if (c == '\r' && (tp->t_modes.c_oflag & OCRNL)) { in ldterm_output_msg()
[all …]
/titanic_44/usr/src/ucbcmd/stty/
H A Dsttyparse.c215 cb->c_oflag &= ~omodes[i].reset;
216 cb->c_oflag |= omodes[i].set;
219 cb->c_oflag |= TAB3;
349 termios->c_oflag = termio->c_oflag;
360 termios->c_oflag = stermio->omode;
389 termio->c_oflag = termios->c_oflag;
400 stermio->omode = termios->c_oflag;
433 cb->c_oflag = grab[1];
/titanic_44/usr/src/cmd/ttymon/
H A Dsttyparse.c243 cb->c_oflag &= ~omodes[i].reset;
244 cb->c_oflag |= omodes[i].set;
247 cb->c_oflag |= TAB3;
377 termios->c_oflag = termio->c_oflag;
387 termios->c_oflag = stermio->omode;
440 termio->c_oflag = termios->c_oflag;
451 stermio->omode = termios->c_oflag;
537 cb->c_oflag = grab[1];
H A Dtmautobaud.c95 termio.c_oflag = 0; in auto_termio()
110 termios.c_oflag &= 0xffff0000; in auto_termio()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c345 tmp_tc.c_oflag |= ONLCR;
354 tmp_tc.c_oflag &= ~ONLCR;
433 tmp_tc.c_oflag &= ~TABDLY;
434 tmp_tc.c_oflag |= TAB3;
440 tmp_tc.c_oflag &= ~TABDLY;
470 tmp_tc.c_oflag &= ~OPOST;
474 tmp_tc.c_oflag |= OPOST;
/titanic_44/usr/src/cmd/vi/port/
H A Dex_put.c999 tty.c_oflag &= ~(ONLCR|TAB3); in pstart()
1039 tty.c_oflag &= ~(TAB3|ONLCR); in ostart()
1110 pfast = (f.c_oflag & ONLCR) == 0; in ostop()
1197 tty.c_oflag = termio.c_oflag; in gTTY()
1210 tty.c_oflag = termio.c_oflag; in gTTY()
1230 termio.c_oflag = tty.c_oflag; in sTTY()
/titanic_44/usr/src/lib/libcmd/common/
H A Dstty.c385 sp->c_oflag |= tp->mask; in sane()
387 sp->c_oflag &= ~tp->mask; in sane()
411 sp->c_oflag = strtol(arg,&arg,16); in gin()
449 sfprintf(sfstdout,":%x",sp->c_oflag); in gout()
509 if((sp->c_oflag&tp->mask)==tp->val) in output()
511 if(tty.c_oflag&tp->mask) in output()
676 sp->c_oflag &= ~tp->mask; in set()
677 sp->c_oflag |= tp->val; in set()
688 sp->c_oflag &= ~tp->mask; in set()
690 sp->c_oflag |= tp->val; in set()
[all …]
/titanic_44/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()
/titanic_44/usr/src/cmd/tput/
H A Dtput.c590 #define OFLAG(mode) mode.c_oflag in initterm()
621 termmodes.c_oflag = termmode.c_oflag; in initterm()
685 termmode.c_oflag = termmodes.c_oflag; in initterm()
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c73 tcflag_t c_oflag; /* output modes */ member
612 s5termios.c_oflag = termios->c_oflag;
638 termios->c_oflag = s5termios.c_oflag;

123