Lines Matching refs:termmode
587 struct termio termmode; /* To hold terminal settings. */ in initterm() local
600 struct sgttyb termmode; /* To hold terminal settings. */ in initterm() local
618 if ((filedes = 1, GTTY(filedes, &termmode) == -1) || in initterm()
619 (filedes = 2, GTTY(filedes, &termmode) == -1) || in initterm()
620 (filedes = 0, GTTY(filedes, &termmode) == -1) || in initterm()
622 GTTY(filedes, &termmode) == -1)) { in initterm()
626 CurrentBaudRate = speeds[SPEED(termmode)]; in initterm()
628 termmodes.c_lflag = termmode.c_lflag; in initterm()
629 termmodes.c_oflag = termmode.c_oflag; in initterm()
630 termmodes.c_iflag = termmode.c_iflag; in initterm()
631 termmodes.c_cflag = termmode.c_cflag; in initterm()
633 termmodes.c_cc[i] = termmode.c_cc[i]; in initterm()
643 OFLAG(termmode) &= in initterm()
660 CRdelay, CRbits, &OFLAG(termmode)); in initterm()
662 NLdelay, NLbits, &OFLAG(termmode)); in initterm()
664 BSdelay, BSbits, &OFLAG(termmode)); in initterm()
666 FFdelay, FFbits, &OFLAG(termmode)); in initterm()
668 TBdelay, TBbits, &OFLAG(termmode)); in initterm()
677 OFLAG(termmode) &= ~(TAB3); in initterm()
683 OFLAG(termmode) |= TAB3; in initterm()
692 termmode.c_lflag = termmodes.c_lflag; in initterm()
693 termmode.c_oflag = termmodes.c_oflag; in initterm()
694 termmode.c_iflag = termmodes.c_iflag; in initterm()
695 termmode.c_cflag = termmodes.c_cflag; in initterm()
697 termmode.c_cc[i] = termmodes.c_cc[i]; in initterm()
698 (void) STTY(filedes, &termmode); in initterm()
703 (void) STTY(filedes, &termmode); in initterm()