Minimized nshterm flags, fixed some pretty stupid non-standard coding in top, now behaving with two shell instances as expected

This commit is contained in:
Lorenz Meier
2013-08-19 15:02:15 +02:00
parent 9610f7a0d7
commit 1ae5a6ac1d
2 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ nshterm_main(int argc, char *argv[])
}
/* Set ONLCR flag (which appends a CR for every LF) */
uart_config.c_oflag |= (ONLCR | OPOST | OCRNL);
uart_config.c_oflag |= (ONLCR | OPOST/* | OCRNL*/);
if ((termios_state = tcsetattr(fd, TCSANOW, &uart_config)) < 0) {
warnx("ERROR setting baudrate / termios config for %s (tcsetattr)\n", argv[1]);