Lines Matching defs:tty
164 struct termios tty;
166 return(tty_get(fd,&tty)==0);
175 int tty_get(register int fd, register struct termios *tty)
179 *tty = ep->e_savetty;
182 while(tcgetattr(fd,tty) == SYSERR)
191 ep->e_savetty = *tty;
203 int tty_set(int fd, int action, struct termios *tty)
209 if(ep->e_savefd>=0 && compare(&ep->e_savetty,tty,sizeof(struct termios)))
212 while(tcsetattr(fd, action, tty) == SYSERR)
218 ep->e_savetty = *tty;
227 * This routine will set the tty in cooked mode.
260 * This routine will set the tty in raw mode.
387 * Get tty parameters and make ESC and '\r' wakeup characters.