1 Workaround for missing cfmakeraw().
2 See also https://www.illumos.org/issues/1060
4 --- vte-0.78.2/src/app/app.cc.orig
5 +++ vte-0.78.2/src/app/app.cc
8 if (tcgetattr(STDIN_FILENO, &tcattr) == 0) {
11 + tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
12 + tcattr.c_oflag &= ~OPOST;
13 + tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
14 + tcattr.c_cflag &= ~(CSIZE|PARENB);
15 + tcattr.c_cflag |= CS8;
19 if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) == 0)
22 --- vte-0.78.2/src/dumpkeys.c.orig
23 +++ vte-0.78.2/src/dumpkeys.c
27 signal(SIGINT, sigint_handler);
29 + tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
30 + tcattr.c_oflag &= ~OPOST;
31 + tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
32 + tcattr.c_cflag &= ~(CSIZE|PARENB);
33 + tcattr.c_cflag |= CS8;
37 if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) != 0) {
40 --- vte-0.78.2/src/mev.c.orig
41 +++ vte-0.78.2/src/mev.c
45 signal(SIGINT, sigint_handler);
47 + tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
48 + tcattr.c_oflag &= ~OPOST;
49 + tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
50 + tcattr.c_cflag &= ~(CSIZE|PARENB);
51 + tcattr.c_cflag |= CS8;
55 if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) != 0) {