Lines Matching defs:ttyparm
151 # define ttyparm (ep->e_ttyparm)
252 /*** don't do tty_set unless ttyparm has valid data ***/
253 if(tty_set(fd, TCSANOW, &ttyparm) == SYSERR)
280 if(tty_get(fd,&ttyparm) == SYSERR)
284 if(ttyparm.sg_flags&LCASE)
286 if(!(ttyparm.sg_flags&ECHO))
292 nttyparm = ttyparm;
300 ep->e_erase = ttyparm.sg_erase;
301 ep->e_kill = ttyparm.sg_kill;
307 ep->e_ttyspeed = (ttyparm.sg_ospeed>=B1200?FAST:SLOW);
321 if (!(ttyparm.c_lflag & ECHO ))
328 ttyparm.c_lflag &= ~FLUSHO;
330 nttyparm = ttyparm;
355 if(ttyparm.c_cc[VWERASE] == _POSIX_DISABLE)
364 if(ttyparm.c_cc[VLNEXT] == _POSIX_DISABLE )
372 ep->e_intr = ttyparm.c_cc[VINTR];
373 ep->e_eof = ttyparm.c_cc[VEOF];
374 ep->e_erase = ttyparm.c_cc[VERASE];
375 ep->e_kill = ttyparm.c_cc[VKILL];
378 ep->e_ttyspeed = (cfgetospeed(&ttyparm)>=B1200?FAST:SLOW);
410 if((tty_get(fd,&ttyparm) != SYSERR))
411 ep->e_ttyspeed = (ttyparm.sg_ospeed>=B1200?FAST:SLOW);
453 if((tty_get(fd, &ttyparm)==SYSERR) || (!(ttyparm.c_lflag&ECHO)))
456 ttyparm.c_lflag &= ~FLUSHO;
458 nttyparm = ttyparm;
459 ep->e_eof = ttyparm.c_cc[VEOF];
484 if(ttyparm.c_cc[VWERASE] == _POSIX_DISABLE)
491 if(ttyparm.c_cc[VLNEXT] == _POSIX_DISABLE )
497 ep->e_erase = ttyparm.c_cc[VERASE];
498 ep->e_kill = ttyparm.c_cc[VKILL];
501 ep->e_ttyspeed = (cfgetospeed(&ttyparm)>=B1200?FAST:SLOW);