Home
last modified time | relevance | path

Searched refs:c_iflag (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/cmd/bnu/
H A Dline.c136 ttbufs.c_iflag = ttbuf.c_iflag;
169 ttbufs.c_iflag &= 0xffff0000;
189 ttbufs.c_iflag = (IGNPAR | IGNBRK | IXON | IXOFF);
195 ttbufs.c_iflag &= ~ISTRIP;
203 ttbufs.c_iflag |= ISTRIP;
207 ttbufs.c_iflag &= ~(IXON | IXOFF);
220 ttbuf.c_iflag = ttbufs.c_iflag;
276 tbufs.c_iflag = tbuf.c_iflag;
321 tbuf.c_iflag = tbufs.c_iflag;
344 tbuf.c_iflag = tbufs.c_iflag;
[all …]
H A Dsetmode.c286 termios_clear.c_iflag = 0;
290 termios_set.c_iflag = 0;
301 termios_clear.c_iflag |= imodes[i].reset;
302 termios_set.c_iflag |= imodes[i].set;
348 termios.c_iflag &= ~termios_clear.c_iflag; in setty()
349 termios.c_iflag |= termios_set.c_iflag; in setty()
H A Dcu.c460 _Tv0s.c_iflag = _Tv0.c_iflag; in main()
476 term_8bit = ( (_Tv0s.c_cflag & CS8) && !(_Tv0s.c_iflag & ISTRIP) && in main()
1141 _Tv.c_iflag |= IXOFF; in _dopercen()
1143 _Tv.c_iflag &= ~IXOFF; in _dopercen()
1155 _Tv.c_iflag |= IXON; in _dopercen()
1157 _Tv.c_iflag &= ~IXON; in _dopercen()
1372 _Tv0.c_iflag = _Tv0s.c_iflag; in _mode()
1381 _Tv.c_iflag &= ~(INLCR | ICRNL | IGNCR | IUCLC); in _mode()
1383 _Tv.c_iflag |= ISTRIP; in _mode()
1388 _Tv.c_iflag &= ~IXON; in _mode()
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dline.c120 ttbufs.c_iflag = ttbuf.c_iflag; in fixline()
148 ttbufs.c_iflag &= 0xffff0000; in fixline()
158 ttbufs.c_iflag = (IGNPAR | IGNBRK | IXON | IXOFF); in fixline()
161 ttbufs.c_iflag &= ~ISTRIP; in fixline()
164 ttbufs.c_iflag |= ISTRIP; in fixline()
186 ttbufs.c_iflag &= ~(IXON | IXOFF); in fixline()
199 ttbuf.c_iflag = ttbufs.c_iflag; in fixline()
/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()
74 PROGTTYS.c_iflag = PROGTTY.c_iflag; in resetty()
H A Dsavetty.c58 PROGTTY.c_iflag = PROGTTYS.c_iflag; in savetty()
72 cur_term->Filedes, SP, PROGTTYS.c_iflag, PROGTTYS.c_oflag, in savetty()
H A Dmeta.c57 PROGTTYS.c_iflag &= ~ISTRIP; in _meta()
59 PROGTTYS.c_iflag |= ISTRIP; in _meta()
H A Ddef_prog.c58 PROGTTYS.c_iflag = PROGTTY.c_iflag; in def_prog_mode()
H A Draw.c57 PROGTTYS.c_iflag &= ~IXON; in raw()
67 cur_term->Filedes, PROGTTYS.c_iflag, PROGTTYS.c_cflag); in raw()
H A Dsetupterm.c465 SHELLTTY.c_iflag = SHELLTTYS.c_iflag; in setupterm()
474 PROGTTYS.c_iflag = PROGTTY.c_iflag; in setupterm()
794 PROGTTY.c_iflag = PROGTTYS.c_iflag; in reset_prog_mode()
835 SHELLTTYS.c_iflag = SHELLTTY.c_iflag; in def_shell_mode()
H A Dreset_sh.c64 SHELLTTY.c_iflag = SHELLTTYS.c_iflag; in reset_shell_mode()
H A Ddraino.c104 PROGTTY.c_iflag = PROGTTYS.c_iflag; in draino()
/illumos-gate/usr/src/ucbcmd/tset/
H A Dtset.c484 modes.c_iflag = oldmodes.c_iflag = mode.c_iflag; in main()
509 modes.c_iflag = mode.c_iflag; in main()
520 modes.c_iflag |= (BRKINT|ISTRIP|ICRNL|IXON); in main()
521 modes.c_iflag &= ~(IGNBRK|PARMRK|INPCK|INLCR|IGNCR|IUCLC|IXOFF); in main()
532 mode.c_iflag = modes.c_iflag; in main()
906 modes.c_iflag |= IUCLC; in main()
910 modes.c_iflag &= ~IUCLC; in main()
914 modes.c_iflag &= ~(PARMRK|INPCK); in main()
917 modes.c_iflag |= INPCK; in main()
922 modes.c_iflag |= INPCK; in main()
[all …]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c199 cb->c_iflag &= ~imodes[i].reset;
200 cb->c_iflag |= imodes[i].set;
205 cb->c_iflag &= ~nimodes[i].reset;
206 cb->c_iflag |= nimodes[i].set;
347 termios->c_iflag = termio->c_iflag;
358 termios->c_iflag = stermio->imode;
387 termio->c_iflag = termios->c_iflag;
396 stermio->imode = termios->c_iflag;
429 cb->c_iflag = grab[0];
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c231 cb->c_iflag &= ~imodes[i].reset;
232 cb->c_iflag |= imodes[i].set;
236 cb->c_iflag &= ~ISTRIP;
242 cb->c_iflag &= ~nimodes[i].reset;
243 cb->c_iflag |= nimodes[i].set;
384 termios->c_iflag = termio->c_iflag;
394 termios->c_iflag = stermio->imode;
447 termio->c_iflag = termios->c_iflag;
456 stermio->imode = termios->c_iflag;
542 cb->c_iflag = grab[0];
/illumos-gate/usr/src/uts/common/io/
H A Dttcompat.c1039 termiosp->c_iflag = 0; in from_compat()
1084 termiosp->c_iflag |= IXOFF; in from_compat()
1086 termiosp->c_iflag |= IUCLC; in from_compat()
1093 termiosp->c_iflag |= ICRNL; in from_compat()
1117 termiosp->c_iflag &= ~(ICRNL|IUCLC); in from_compat()
1120 termiosp->c_iflag |= IMAXBEL|BRKINT|IGNPAR; in from_compat()
1122 termiosp->c_iflag |= IXON; in from_compat()
1133 termiosp->c_iflag |= ISTRIP; in from_compat()
1138 termiosp->c_iflag |= INPCK|ISTRIP; in from_compat()
1143 termiosp->c_iflag |= INPCK|ISTRIP; in from_compat()
[all …]
H A Dldterm.c1014 if (!(tp->t_amodes.c_iflag & IGNPAR)) { in ldtermrput()
1016 if (tp->t_amodes.c_iflag & PARMRK) { in ldtermrput()
1051 if (!(tp->t_amodes.c_iflag & IGNBRK)) { in ldtermrput()
1052 if (tp->t_amodes.c_iflag & BRKINT) { in ldtermrput()
1055 } else if (tp->t_amodes.c_iflag & PARMRK) { in ldtermrput()
1198 if ((tp->t_modes.c_iflag & IXOFF) && in ldtermrput()
1216 if ((tp->t_modes.c_iflag & IXOFF) && (tp->t_state & TS_TBLOCK) && in ldtermrput()
1236 if (tp->t_modes.c_iflag & (INLCR|IGNCR|ICRNL|IUCLC|IXON) || in ldtermrput()
1246 if (tp->t_modes.c_iflag & ISTRIP) in ldtermrput()
1269 if (tp->t_modes.c_iflag & IXON && in ldtermrput()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c343 tmp_tc.c_iflag |= ICRNL;
353 tmp_tc.c_iflag &= ~ICRNL;
363 tmp_tc.c_iflag &= ~(IXOFF|IXON); /* Leave the IXANY bit alone */
367 tmp_tc.c_iflag |= IXOFF|IXON;
369 tmp_tc.c_iflag |= IXOFF|IXON|IXANY;
371 tmp_tc.c_iflag |= IXOFF|IXON;
372 tmp_tc.c_iflag &= ~IXANY;
411 tmp_tc.c_iflag &= ~ICRNL;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnonl.c57 PTERMIOS(_prog)->c_iflag |= ICRNL; in nl()
77 PTERMIOS(_prog)->c_iflag &= ~ICRNL; in nonl()
H A Dcbreak.c101 PTERMIOS(_prog)->c_iflag &= ~IXON; in raw()
118 PTERMIOS(_prog)->c_iflag |= IXON; in noraw()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dbhyve_sol_glue.c30 t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR| in cfmakeraw()
32 t->c_iflag |= IGNBRK; in cfmakeraw()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnonl.c56 cur_term->_prog.c_iflag |= ICRNL; in nl()
80 cur_term->_prog.c_iflag &= ~ICRNL; in nonl()
/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()
203 pdp->pio_ti.c_iflag |= ICRNL; in kmdb_promio_create()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dstty.c381 sp->c_iflag |= tp->mask; in sane()
383 sp->c_iflag &= ~tp->mask; in sane()
410 sp->c_iflag = strtol(arg,&arg,16); in gin()
450 sfprintf(sfstdout,":%x",sp->c_iflag); in gout()
505 if(sp->c_iflag&tp->mask) in output()
507 if(tty.c_iflag&tp->mask) in output()
673 sp->c_iflag &= ~tp->mask; in set()
675 sp->c_iflag |= tp->mask; in set()
773 sp->c_iflag |= IUCLC; in set()
778 sp->c_iflag &= ~IUCLC; in set()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c1036 tty.c_iflag &= ~ICRNL; in ostart()
1195 tty.c_iflag = termio.c_iflag; in gTTY()
1208 tty.c_iflag = termio.c_iflag; in gTTY()
1228 termio.c_iflag = tty.c_iflag; in sTTY()

123