Lines Matching refs:termios
292 struct termios termios; in run() local
293 memset(&termios, 0, sizeof(termios)); in run()
294 termios.c_iflag = ICRNL|IXON|IUTF8; in run()
295 termios.c_oflag = OPOST|ONLCR|NL0|CR0|TAB0|BS0|VT0|FF0; in run()
296 termios.c_cflag = CS8|CREAD; in run()
297 termios.c_lflag = ISIG|ICANON|IEXTEN|ECHO|ECHOE|ECHOK; in run()
299 cfsetispeed(&termios, B38400); in run()
300 cfsetospeed(&termios, B38400); in run()
302 termios.c_cc[VINTR] = 0x1f & 'C'; in run()
303 termios.c_cc[VQUIT] = 0x1f & '\\'; in run()
304 termios.c_cc[VERASE] = 0x7f; in run()
305 termios.c_cc[VKILL] = 0x1f & 'U'; in run()
306 termios.c_cc[VEOF] = 0x1f & 'D'; in run()
307 termios.c_cc[VSTART] = 0x1f & 'Q'; in run()
308 termios.c_cc[VSTOP] = 0x1f & 'S'; in run()
309 termios.c_cc[VSUSP] = 0x1f & 'Z'; in run()
310 termios.c_cc[VREPRINT] = 0x1f & 'R'; in run()
311 termios.c_cc[VWERASE] = 0x1f & 'W'; in run()
312 termios.c_cc[VLNEXT] = 0x1f & 'V'; in run()
313 termios.c_cc[VMIN] = 1; in run()
314 termios.c_cc[VTIME] = 0; in run()
323 mChildPid = forkpty(&mMasterFd, NULL, &termios, &size); in run()