diff options
Diffstat (limited to 'bin/stty/print.c')
-rw-r--r-- | bin/stty/print.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/stty/print.c b/bin/stty/print.c index 30fcbaa..63b30b3 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -136,7 +136,14 @@ print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) put("-opost", OPOST, 1); put("-onlcr", ONLCR, 1); put("-ocrnl", OCRNL, 0); - put("-oxtabs", OXTABS, 1); + switch(tmp&TABDLY) { + case TAB0: + bput("tab0"); + break; + case TAB3: + bput("tab3"); + break; + } put("-onocr", ONOCR, 0); put("-onlret", ONLRET, 0); |