summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-03-28 16:16:43 +0000
committerJim Meyering <jim@meyering.net>1993-03-28 16:16:43 +0000
commitc1c67d32959bc542c68351567938b695a5cf0092 (patch)
treec4df692e0c05d7e08aab871da3a74c591e6d4d16 /src/stty.c
parentfbc2f821ff009a37c6691cb056f63db0eb98e939 (diff)
downloadcoreutils-c1c67d32959bc542c68351567938b695a5cf0092.tar.xz
Accept `flush' option. From Arne H. Juul arnej@lise.unit.no
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stty.c b/src/stty.c
index 4fb815829..b9daf0a12 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -105,6 +105,9 @@
#if defined(VLNEXT) && !defined(CLNEXT)
#define CLNEXT Control ('v')
#endif
+#if defined(VFLUSHO) && !defined(CFLUSHO)
+#define CFLUSHO Control ('o')
+#endif
char *visible ();
unsigned long baud_to_value ();
@@ -346,6 +349,9 @@ static struct control_info control_info[] =
#ifdef VLNEXT
{"lnext", CLNEXT, VLNEXT},
#endif
+#ifdef VFLUSHO
+ {"flush", CFLUSHO, VFLUSHO},
+#endif
/* These must be last because of the display routines. */
{"min", 1, VMIN},