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 ea394383c5
were bogus.
This commit is contained in:
Ray Strode 2010-11-15 13:56:01 -05:00
parent b204e25c87
commit aba7c7b89f
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;