Home | History | Annotate | Download | only in jni

Lines Matching defs:termios

31 #include <termios.h>
300 struct termios termios;
301 memset(&termios, 0, sizeof(termios));
302 termios.c_iflag = ICRNL|IXON|IUTF8;
303 termios.c_oflag = OPOST|ONLCR|NL0|CR0|TAB0|BS0|VT0|FF0;
304 termios.c_cflag = CS8|CREAD;
305 termios.c_lflag = ISIG|ICANON|IEXTEN|ECHO|ECHOE|ECHOK;
307 cfsetispeed(&termios, B38400);
308 cfsetospeed(&termios, B38400);
310 termios.c_cc[VINTR] = 0x1f & 'C';
311 termios.c_cc[VQUIT] = 0x1f & '\\';
312 termios.c_cc[VERASE] = 0x7f;
313 termios.c_cc[VKILL] = 0x1f & 'U';
314 termios.c_cc[VEOF] = 0x1f & 'D';
315 termios.c_cc[VSTART] = 0x1f & 'Q';
316 termios.c_cc[VSTOP] = 0x1f & 'S';
317 termios.c_cc[VSUSP] = 0x1f & 'Z';
318 termios.c_cc[VREPRINT] = 0x1f & 'R';
319 termios.c_cc[VWERASE] = 0x1f & 'W';
320 termios.c_cc[VLNEXT] = 0x1f & 'V';
321 termios.c_cc[VMIN] = 1;
322 termios.c_cc[VTIME] = 0;
331 mChildPid = forkpty(&mMasterFd, NULL, &termios, &size);