Lines Matching refs:termmode
579 struct termio termmode; /* To hold terminal settings. */
592 struct sgttyb termmode; /* To hold terminal settings. */
610 if ((filedes = 1, GTTY(filedes, &termmode) == -1) ||
611 (filedes = 2, GTTY(filedes, &termmode) == -1) ||
612 (filedes = 0, GTTY(filedes, &termmode) == -1) ||
614 GTTY(filedes, &termmode) == -1)) {
618 CurrentBaudRate = speeds[SPEED(termmode)];
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];
635 OFLAG(termmode) &=
652 CRdelay, CRbits, &OFLAG(termmode));
654 NLdelay, NLbits, &OFLAG(termmode));
656 BSdelay, BSbits, &OFLAG(termmode));
658 FFdelay, FFbits, &OFLAG(termmode));
660 TBdelay, TBbits, &OFLAG(termmode));
669 OFLAG(termmode) &= ~(TAB3);
675 OFLAG(termmode) |= 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];
690 (void) STTY(filedes, &termmode);
695 (void) STTY(filedes, &termmode);