Fix termios regression on PPC introduced in
For some reason PPC is much more sensitive than ARM when it comes to
termios changes.  This patch fixes a regression in Ctrl-C handling
after login introduced in when blocking of Ctrl-C was added
to prevent breaking the login-prompt.
@@ -88,8 +88,7 @@ static void stty(int fd, speed_t speed)
term.c_iflag = ICRNL|IXON|IXOFF;
term.c_oflag = OPOST|ONLCR;
term.c_cflag |= CS8|CREAD|HUPCL|CBAUDEX;
- term.c_lflag |= ICANON|ECHO|ECHOE|ECHOK|ECHOKE;
- term.c_lflag &= ~ISIG;
+ term.c_lflag |= ICANON|ISIG|ECHO|ECHOE|ECHOK|ECHOKE;
/* Reset special characters to defaults */
term.c_cc[VINTR] = CTRL('C');
