diff options
author | ache <ache@FreeBSD.org> | 2000-04-30 17:04:26 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-04-30 17:04:26 +0000 |
commit | 9e83ee311bb66d63ab25c123779e61ad1f1cd5cf (patch) | |
tree | 305e8fe881e5c9e0897ab997e1a47432486ce0d1 /bin/stty/print.c | |
parent | aa662159af43f8cb75ca80df5e1d2d4653eafa64 (diff) | |
download | FreeBSD-src-9e83ee311bb66d63ab25c123779e61ad1f1cd5cf.zip FreeBSD-src-9e83ee311bb66d63ab25c123779e61ad1f1cd5cf.tar.gz |
Back out all drainwait changes. It is enough controllable via sysctl or
comcontrol, having it in stty cause too many problems with existing drivers
and tty access permissings of non-superuser.
Asked-by: bde
Diffstat (limited to 'bin/stty/print.c')
-rw-r--r-- | bin/stty/print.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/stty/print.c b/bin/stty/print.c index 6df106d..a0149c2 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -55,11 +55,10 @@ static void bput __P((char *)); static char *ccval __P((struct cchar *, int)); void -print(tp, wp, ldisc, timeout, fmt) +print(tp, wp, ldisc, fmt) struct termios *tp; struct winsize *wp; int ldisc; - int timeout; enum FMT fmt; { struct cchar *p; @@ -97,8 +96,7 @@ print(tp, wp, ldisc, timeout, fmt) else cnt += printf("speed %d baud;", ispeed); if (fmt >= BSD) - cnt += printf(" %d rows; %d columns; drainwait %d seconds;", - wp->ws_row, wp->ws_col, timeout); + cnt += printf(" %d rows; %d columns;", wp->ws_row, wp->ws_col); if (cnt) (void)printf("\n"); |