Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Aug 1995 02:28:31 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= aka "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>
To:        jkh@freebsd.org, Sean Eric Fagan <sef@kithrup.com>, bugs@freebsd.org
Subject:   Re: forwarded
Message-ID:  <qWFaL7mOH5@astral.msk.su>
In-Reply-To: <199507312001.NAA23423@kithrup.com>; from Sean Eric Fagan at Mon, 31 Jul 1995 13:01:53 -0700
References:  <199507312001.NAA23423@kithrup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>It should handle up to 38400; regardless, here's a patch to
>rlogin.c that should make the problem go away.

This patch didn't solve problem on FreeBSD, because
speed table already propogated up to 115200.

The problem is: remote machine can not understand speeds > 38400,
but rlogin pass them to remote rlogind f.e:
	cons25/115200
Other things depends of remote rlogind: if it simple does atoi()
set speed ioctl may failed or set unpredictable speed.

We need to restrict passed speed to 38400 to satisfy any kind of remote
rlogind. I am not shure, but seems this step not cause performance
degradation of FBSD->FBSD connection.

If no objections comes, I'll commit something aprox. looks like:
	if (speed > B38400)
		speed = B38400;

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?qWFaL7mOH5>