diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-27 10:34:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-27 10:34:32 +0000 |
commit | b9b30dc6666e27bfd6e5ac7aa9d524f8d7f97aff (patch) | |
tree | fc4bc7414059d6302253fe320202901ebfeaaee6 | |
parent | 3dbf82d2db33a5874bda20fd3c2631cce583822b (diff) |
VMIN=1/VTIME=0; netbsd pr#2546
-rw-r--r-- | usr.bin/rlogin/rlogin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/rlogin/rlogin.c b/usr.bin/rlogin/rlogin.c index 7b5a1c80476..78e7049f3a9 100644 --- a/usr.bin/rlogin/rlogin.c +++ b/usr.bin/rlogin/rlogin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlogin.c,v 1.6 1996/06/26 05:38:33 deraadt Exp $ */ +/* $OpenBSD: rlogin.c,v 1.7 1996/07/27 10:34:31 deraadt Exp $ */ /* $NetBSD: rlogin.c,v 1.8 1995/10/05 09:07:22 mycroft Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)rlogin.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: rlogin.c,v 1.6 1996/06/26 05:38:33 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rlogin.c,v 1.7 1996/07/27 10:34:31 deraadt Exp $"; #endif #endif /* not lint */ @@ -779,6 +779,8 @@ mode(f) tty.c_lflag &= ~(ECHO|ICANON|ISIG|IEXTEN); tty.c_iflag &= ~ICRNL; tty.c_oflag &= ~OPOST; + tty.c_cc[VMIN] = 1; + tty.c_cc[VTIME] = 0; if (eight) { tty.c_iflag &= IXOFF; tty.c_cflag &= ~(CSIZE|PARENB); |