diff --git a/bin/stty/modes.c b/bin/stty/modes.c index b82a36ebc126..60cc9afdeaab 100644 --- a/bin/stty/modes.c +++ b/bin/stty/modes.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)modes.c 5.4 (Berkeley) 6/10/91";*/ -static char rcsid[] = "$Id: modes.c,v 1.5 1993/08/01 18:57:36 mycroft Exp $"; +static char rcsid[] = "$Id: modes.c,v 1.6 1994/04/12 06:08:48 cgd Exp $"; #endif /* not lint */ #include @@ -79,6 +79,8 @@ struct modes cmodes[] = { "-clocal", 0, CLOCAL, "crtscts", CRTSCTS, 0, "-crtscts", 0, CRTSCTS, + "mdmbuf", MDMBUF, 0, + "-mdmbuf", 0, MDMBUF, NULL }; @@ -155,8 +157,6 @@ struct modes lmodes[] = { "-noflsh", 0, NOFLSH, "tostop", TOSTOP, 0, "-tostop", 0, TOSTOP, - "mdmbuf", MDMBUF, 0, - "-mdmbuf", 0, MDMBUF, "flusho", FLUSHO, 0, "-flusho", 0, FLUSHO, "pendin", PENDIN, 0, diff --git a/bin/stty/print.c b/bin/stty/print.c index 85c9bf30a084..f41bbfe7c2e3 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)print.c 5.4 (Berkeley) 6/10/91";*/ -static char rcsid[] = "$Id: print.c,v 1.7 1994/03/23 04:05:31 mycroft Exp $"; +static char rcsid[] = "$Id: print.c,v 1.8 1994/04/12 06:08:51 cgd Exp $"; #endif /* not lint */ #include @@ -115,7 +115,6 @@ print(tp, wp, ldisc, fmt) put("-altwerase", ALTWERASE, 0); put("-noflsh", NOFLSH, 0); put("-tostop", TOSTOP, 0); - put("-mdmbuf", MDMBUF, 0); put("-flusho", FLUSHO, 0); put("-pendin", PENDIN, 0); put("-nokerninfo", NOKERNINFO, 0); @@ -169,6 +168,7 @@ print(tp, wp, ldisc, fmt) put("-clocal", CLOCAL, 0); put("-cstopb", CSTOPB, 0); put("-crtscts", CRTSCTS, 0); + put("-mdmbuf", MDMBUF, 0); /* special control characters */ cc = tp->c_cc;