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/key.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/key.c')
-rw-r--r-- | bin/stty/key.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c index 9aed9a1..ba33a81 100644 --- a/bin/stty/key.c +++ b/bin/stty/key.c @@ -56,7 +56,6 @@ void f_all __P((struct info *)); void f_cbreak __P((struct info *)); void f_columns __P((struct info *)); void f_dec __P((struct info *)); -void f_drainwait __P((struct info *)); void f_everything __P((struct info *)); void f_extproc __P((struct info *)); void f_ispeed __P((struct info *)); @@ -83,7 +82,6 @@ static struct key { { "columns", f_columns, F_NEEDARG }, { "cooked", f_sane, 0 }, { "dec", f_dec, 0 }, - { "drainwait", f_drainwait, F_NEEDARG }, { "everything", f_everything, 0 }, { "extproc", f_extproc, F_OFFOK }, { "ispeed", f_ispeed, F_NEEDARG }, @@ -142,7 +140,7 @@ void f_all(ip) struct info *ip; { - print(&ip->t, &ip->win, ip->ldisc, ip->timeout, BSD); + print(&ip->t, &ip->win, ip->ldisc, BSD); } void @@ -185,20 +183,11 @@ f_dec(ip) } void -f_drainwait(ip) - struct info *ip; -{ - - ip->timeout = atoi(ip->arg); - ip->tset = 1; -} - -void f_everything(ip) struct info *ip; { - print(&ip->t, &ip->win, ip->ldisc, ip->timeout, BSD); + print(&ip->t, &ip->win, ip->ldisc, BSD); } void |