]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[main] Use updated terminal attrs on crash
authorRay Strode <rstrode@redhat.com>
Fri, 9 Apr 2010 20:07:11 +0000 (16:07 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 9 Apr 2010 20:07:11 +0000 (16:07 -0400)
In commit ea394383c54dda771dcf59e7ec11280fa945280b I changed
the terminal settings used by ply-terminal.  This commit puts
those same settings into effect in the crash path.

src/main.c

index ebbc22b28cd58bdada5cecd5bd3089c7e77d5797..c8b8d8bd5415f57f1df1c477f621378f54f45b05 100644 (file)
@@ -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);