summaryrefslogtreecommitdiffstats
path: root/bin/stty/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty/print.c')
-rw-r--r--bin/stty/print.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/stty/print.c b/bin/stty/print.c
index a0149c2..364b95b 100644
--- a/bin/stty/print.c
+++ b/bin/stty/print.c
@@ -148,7 +148,10 @@ print(tp, wp, ldisc, fmt)
binit("oflags");
put("-opost", OPOST, 1);
put("-onlcr", ONLCR, 1);
+ put("-ocrnl", OCRNL, 0);
put("-oxtabs", OXTABS, 1);
+ put("-onocr", OXTABS, 0);
+ put("-onlret", OXTABS, 0);
/* control flags (hardware state) */
tmp = tp->c_cflag;
OpenPOWER on IntegriCloud