stty: better default
authorAlan Cox <alan@linux.intel.com>
Sun, 12 Nov 2017 18:57:51 +0000 (18:57 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 12 Nov 2017 18:57:51 +0000 (18:57 +0000)
Applications/util/stty.c

index 70429c9..20bc9e4 100644 (file)
@@ -59,7 +59,7 @@
 
 #define TINPUT_DEF     (BRKINT | IGNPAR | ISTRIP | ICRNL)
 
-#define TOUTPUT_DEF    OPOST
+#define TOUTPUT_DEF    (OPOST | ONLCR)
 
 #define TLOCAL_DEF     (ISIG | IEXTEN | ICANON | ECHO | ECHOE)