Lines Matching refs:term
374 struct termios term;
377 if (tcgetattr(fd, &term) == -1)
383 memset(term.c_cc, 0, sizeof(term.c_cc));
384 term.c_cc[VMIN] = 1;
387 term.c_cflag = CS8|CREAD|CLOCAL;
389 term.c_cflag = CS8|CREAD|CLOCAL|PARENB;
391 term.c_iflag = IGNPAR;
392 term.c_oflag = 0;
393 term.c_lflag = 0;
395 cfsetispeed(&term, B50);
396 cfsetospeed(&term, B50);
398 if (tcsetattr(fd, TCSANOW, &term) == -1)