summaryrefslogtreecommitdiffstats
path: root/bin/stty/print.c
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-03-04 06:04:50 +0000
committerassar <assar@FreeBSD.org>2001-03-04 06:04:50 +0000
commitc78c138f0f1e0db42115c306e06a6c59f6d5b4bc (patch)
treea8c2687c4b1bd822502b1894633d12e6b935cec7 /bin/stty/print.c
parent35583224c700ea795d0000e00b57a46e7f96d2fb (diff)
downloadFreeBSD-src-c78c138f0f1e0db42115c306e06a6c59f6d5b4bc.zip
FreeBSD-src-c78c138f0f1e0db42115c306e06a6c59f6d5b4bc.tar.gz
implement OCRNL, ONOCR, and ONLRET
Obtained from: NetBSD
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