From: Ray Strode Date: Mon, 15 Nov 2010 18:56:01 +0000 (-0500) Subject: terminal: Don't set ISTRIP in terminal attributes X-Git-Tag: 0.8.4~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aba7c7b89fcbbfa516d86f50f7b89a593ca95303;p=thirdparty%2Fplymouth.git terminal: Don't set ISTRIP in terminal attributes In certain error paths plymouth would erroneously set ISTRIP on the terminal. This is bogus in the same way the changes fixed by commit ea394383c54dda771dcf59e7ec11280fa945280b were bogus. --- diff --git a/src/libply-splash-core/ply-terminal.c b/src/libply-splash-core/ply-terminal.c index 40243799..22db27df 100644 --- a/src/libply-splash-core/ply-terminal.c +++ b/src/libply-splash-core/ply-terminal.c @@ -244,7 +244,7 @@ ply_terminal_set_buffered_input (ply_terminal_t *terminal) */ if (!terminal->original_term_attributes_saved || !(terminal->original_term_attributes.c_lflag & ICANON)) { - term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON; + term_attributes.c_iflag |= BRKINT | IGNPAR | ICRNL | IXON; term_attributes.c_oflag |= OPOST; term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN; diff --git a/src/main.c b/src/main.c index 7358c24b..e003d997 100644 --- a/src/main.c +++ b/src/main.c @@ -1963,7 +1963,7 @@ on_crash (int signum) tcgetattr (fd, &term_attributes); - term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON; + term_attributes.c_iflag |= BRKINT | IGNPAR | ICRNL | IXON; term_attributes.c_oflag |= OPOST; term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN;