summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stty.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stty.c b/src/stty.c
index 37aee2803..b980e8482 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -279,10 +279,18 @@ static struct mode_info const mode_info[] =
{"cr0", output, SANE_SET, CR0, CRDLY},
#endif
#ifdef TABDLY
+#ifdef TAB3
{"tab3", output, SANE_UNSET, TAB3, TABDLY},
+#endif
+#ifdef TAB2
{"tab2", output, SANE_UNSET, TAB2, TABDLY},
+#endif
+#ifdef TAB1
{"tab1", output, SANE_UNSET, TAB1, TABDLY},
+#endif
+#ifdef TAB0
{"tab0", output, SANE_SET, TAB0, TABDLY},
+#endif
#else
# ifdef OXTABS
{"tab3", output, SANE_UNSET, OXTABS, 0},