Lines Matching defs:nttyparm
116 static struct termios nttyparm; /* raw tty parameters */
275 nttyparm = ttyparm;
276 nttyparm.sg_flags &= ~(ECHO | TBDELAY);
278 nttyparm.sg_flags |= CBREAK;
280 nttyparm.sg_flags |= RAW;
285 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
311 nttyparm = ttyparm;
313 nttyparm.c_iflag &= ~(IGNPAR|PARMRK|INLCR|IGNCR|ICRNL);
314 nttyparm.c_iflag |= BRKINT;
316 nttyparm.c_iflag &=
318 nttyparm.c_iflag |= (BRKINT|IGNPAR);
320 nttyparm.c_lflag &= ~(ICANON|ECHO|ECHOK);
321 nttyparm.c_cc[VTIME] = 0;
322 nttyparm.c_cc[VMIN] = 1;
324 nttyparm.c_cc[VDISCARD] = 0;
327 nttyparm.c_cc[VWERASE] = 0;
330 nttyparm.c_cc[VLNEXT] = 0;
335 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
406 nttyparm = ttyparm;
410 nttyparm.c_lflag |= (ECHOE|ECHOK|ECHOCTL|PENDIN|IEXTEN);
411 nttyparm.c_cc[VEOL2] = ESC;
414 nttyparm.c_iflag &= ~(IGNCR|ICRNL);
415 nttyparm.c_iflag |= INLCR;
416 nttyparm.c_lflag |= (ECHOE|ECHOK);
417 nttyparm.c_cc[VEOF] = ESC; /* make ESC the eof char */
418 nttyparm.c_cc[VEOL] = '\r'; /* make CR an eol char */
419 nttyparm.c_cc[VEOL2] = editb.e_eof; /* make EOF an eol char */
422 nttyparm.c_cc[VWERASE] = cntl('W');
425 nttyparm.c_cc[VLNEXT] = cntl('V');
429 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
513 tty_set(fd, TCSADRAIN, &nttyparm);