Lines Matching refs:modes

263 #define	curerase modes.c_cc[VERASE]
264 #define curkill modes.c_cc[VKILL]
265 #define curintr modes.c_cc[VINTR]
432 struct termios modes; variable
472 if ((istermios = ioctl(FILEDES, TCGETS, (char *)&modes)) < 0) { in main()
478 modes.c_lflag = oldmodes.c_lflag = mode.c_lflag; in main()
479 modes.c_oflag = oldmodes.c_oflag = mode.c_oflag; in main()
480 modes.c_iflag = oldmodes.c_iflag = mode.c_iflag; in main()
481 modes.c_cflag = oldmodes.c_cflag = mode.c_cflag; in main()
483 modes.c_cc[i] = oldmodes.c_cc[i] = mode.c_cc[i]; in main()
485 bmove((char *)&modes, (char *)&oldmodes, sizeof (modes)); in main()
486 ospeed = cfgetospeed(&modes); in main()
501 if ((istermios = ioctl(FILEDES, TCGETS, (char *)&modes)) < 0) { in main()
503 modes.c_lflag = mode.c_lflag; in main()
504 modes.c_oflag = mode.c_oflag; in main()
505 modes.c_iflag = mode.c_iflag; in main()
506 modes.c_cflag = mode.c_cflag; in main()
508 modes.c_cc[i] = mode.c_cc[i]; in main()
513 modes.c_cc[VQUIT] = reset(modes.c_cc[VQUIT], CQUIT); in main()
514 modes.c_cc[VEOF] = reset(modes.c_cc[VEOF], CEOF); in main()
516 modes.c_iflag |= (BRKINT|ISTRIP|ICRNL|IXON); in main()
517 modes.c_iflag &= ~(IGNBRK|PARMRK|INPCK|INLCR|IGNCR|IUCLC|IXOFF); in main()
518 modes.c_oflag |= (OPOST|ONLCR); in main()
519 modes.c_oflag &= ~(OLCUC|OCRNL|ONOCR|ONLRET|OFILL|OFDEL| in main()
521 modes.c_cflag |= (CS7|CREAD); in main()
522 modes.c_cflag &= ~(PARODD|CLOCAL); in main()
523 modes.c_lflag |= (ISIG|ICANON|ECHO|ECHOK); in main()
524 modes.c_lflag &= ~(XCASE|ECHONL|NOFLSH); in main()
526 mode.c_lflag = modes.c_lflag; in main()
527 mode.c_oflag = modes.c_oflag; in main()
528 mode.c_iflag = modes.c_iflag; in main()
529 mode.c_cflag = modes.c_cflag; in main()
531 mode.c_cc[i] = modes.c_cc[i]; in main()
534 (void) ioctl(FILEDES, TCSETSW, (char *)&modes); 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()
901 setdelay("dV", VTdelay, VTbits, &modes.c_oflag); in main()
904 modes.c_iflag |= IUCLC; in main()
905 modes.c_oflag |= OLCUC; in main()
906 modes.c_cflag |= XCASE; in main()
908 modes.c_iflag &= ~IUCLC; in main()
909 modes.c_oflag &= ~OLCUC; in main()
910 modes.c_cflag &= ~XCASE; in main()
912 modes.c_iflag &= ~(PARMRK|INPCK); in main()
913 modes.c_lflag |= ICANON; in main()
915 modes.c_iflag |= INPCK; in main()
916 modes.c_cflag |= PARENB; in main()
917 modes.c_cflag &= ~PARODD; in main()
920 modes.c_iflag |= INPCK; in main()
921 modes.c_cflag |= PARENB; in main()
922 modes.c_cflag |= PARODD; in main()
925 modes.c_oflag |= ONLCR; in main()
926 modes.c_iflag |= ICRNL; in main()
927 modes.c_lflag |= ECHO; in main()
928 modes.c_oflag |= TAB3; in main()
930 modes.c_oflag &= ~ONLCR; in main()
931 modes.c_iflag &= ~ICRNL; in main()
934 modes.c_lflag &= ~ECHO; in main()
936 modes.c_oflag &= ~TAB3; in main()
938 modes.c_lflag |= (ECHOE|ECHOK); in main()
940 modes.c_lflag &= ~ECHOE; in main()
1150 mode.c_lflag = modes.c_lflag; in setmode()
1151 mode.c_oflag = modes.c_oflag; in setmode()
1152 mode.c_iflag = modes.c_iflag; in setmode()
1153 mode.c_cflag = modes.c_cflag; in setmode()
1155 mode.c_cc[i] = modes.c_cc[i]; in setmode()
1159 } else if (!bequal((char *)&modes, (char *)&oldmodes, in setmode()
1160 sizeof (modes))) in setmode()
1161 ttymodes = &modes; in setmode()