Lines Matching defs:termmodes
580 struct termios termmodes; /* To hold terminal settings. */
604 if ((filedes = 1, GTTYS(filedes, &termmodes) < 0) ||
605 (filedes = 2, GTTYS(filedes, &termmodes) < 0) ||
606 (filedes = 0, GTTYS(filedes, &termmodes) < 0) ||
608 GTTYS(filedes, &termmodes) < 0)) {
620 termmodes.c_lflag = termmode.c_lflag;
621 termmodes.c_oflag = termmode.c_oflag;
622 termmodes.c_iflag = termmode.c_iflag;
623 termmodes.c_cflag = termmode.c_cflag;
625 termmodes.c_cc[i] = termmode.c_cc[i];
627 CurrentBaudRate = speeds[SPEEDS(termmodes)];
632 OFLAG(termmodes) &=
641 CRdelay, CRbits, &OFLAG(termmodes));
643 NLdelay, NLbits, &OFLAG(termmodes));
645 BSdelay, BSbits, &OFLAG(termmodes));
647 FFdelay, FFbits, &OFLAG(termmodes));
649 TBdelay, TBbits, &OFLAG(termmodes));
667 OFLAG(termmodes) &= ~(TAB3);
673 OFLAG(termmodes) |= TAB3;
684 termmode.c_lflag = termmodes.c_lflag;
685 termmode.c_oflag = termmodes.c_oflag;
686 termmode.c_iflag = termmodes.c_iflag;
687 termmode.c_cflag = termmodes.c_cflag;
689 termmode.c_cc[i] = termmodes.c_cc[i];
692 (void) STTYS(filedes, &termmodes);