From: Ray Strode Date: Fri, 9 Apr 2010 20:07:11 +0000 (-0400) Subject: [main] Use updated terminal attrs on crash X-Git-Tag: 0.8.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1285196e59807a8c705f8f9111c0eb92317a0673;p=thirdparty%2Fplymouth.git [main] Use updated terminal attrs on crash In commit ea394383c54dda771dcf59e7ec11280fa945280b I changed the terminal settings used by ply-terminal. This commit puts those same settings into effect in the crash path. --- diff --git a/src/main.c b/src/main.c index ebbc22b2..c8b8d8bd 100644 --- a/src/main.c +++ b/src/main.c @@ -1739,9 +1739,9 @@ on_crash (int signum) tcgetattr (fd, &term_attributes); - term_attributes.c_iflag |= IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON; + term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON; term_attributes.c_oflag |= OPOST; - term_attributes.c_lflag |= ECHO | ECHONL | ICANON | ISIG | IEXTEN; + term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN; tcsetattr (fd, TCSAFLUSH, &term_attributes);