From c78c138f0f1e0db42115c306e06a6c59f6d5b4bc Mon Sep 17 00:00:00 2001 From: assar Date: Sun, 4 Mar 2001 06:04:50 +0000 Subject: implement OCRNL, ONOCR, and ONLRET Obtained from: NetBSD --- bin/stty/print.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/stty/print.c') 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; -- cgit v1.1