aboutsummaryrefslogtreecommitdiff
path: root/bin/stty/gfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty/gfmt.c')
-rw-r--r--bin/stty/gfmt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c
index 3953e647ca91..d909131ee32c 100644
--- a/bin/stty/gfmt.c
+++ b/bin/stty/gfmt.c
@@ -163,6 +163,16 @@ gread(tp, s)
tp->c_cc[VSUSP] = tmp;
continue;
}
+ if (CHK("vmin")) {
+ (void)sscanf(ep, "%ld", &tmp);
+ tp->c_cc[VMIN] = tmp;
+ continue;
+ }
+ if (CHK("vtime")) {
+ (void)sscanf(ep, "%ld", &tmp);
+ tp->c_cc[VTIME] = tmp;
+ continue;
+ }
if (CHK("werase")) {
tp->c_cc[VWERASE] = tmp;
continue;