Subject: bin/2546: rlogin to netbsd host fails if "stty min 0" is done before
To: None <gnats-bugs@NetBSD.ORG>
From: Jonas Lagerblad <jonas@ivee.com>
List: netbsd-bugs
Date: 06/13/1996 18:40:55
>Number: 2546
>Category: bin
>Synopsis: rlogin to netbsd host fails if "stty min 0" is done before
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 13 13:05:05 1996
>Last-Modified:
>Originator: Jonas Lagerblad
>Organization:
Jonas Lagerblad, IVEE Development AB, jonas@ivee.com
Phone (office): +46-31 701 42 61 Mobile: +46-707 79 73 37
Telefax: +46-31 101987
>Release: 1.2_ALPHA
>Environment:
System: NetBSD spot.ivee.com 1.2_ALPHA NetBSD 1.2_ALPHA (IVEE-SCSI) #2: Thu Jun 13 08:28:32 MET DST 1996 jonas@spot.ivee.com:/usr/src/sys/arch/i386/compile/IVEE-SCSI i386
>Description:
Fore some reason doesn't rlogin work from one NetBSD host to another
if the stty field min has the value zero. This i very annoying since
xterm from the latest XFree86 distribution sets min to zero.
This seems to be an error in rlogin since it doesn't matter
to what type of host I try to connect to.
>How-To-Repeat:
spot> stty min 0
spot> rlogin cyan
rlogin: closed connection.
spot> stty min 1
spot> rlogin cyan
Last login: Thu Jun 13 18:34:30 from spot
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
NetBSD 1.2_ALPHA (IVEE-WS) #0: Thu Jun 13 16:31:35 MET DST 1996
You have mail.
cyan> exit
logout
>Fix:
Do some type of sanity check either print an error message or
correct the value of VMIN in rlogin.
>Audit-Trail:
>Unformatted: