From owner-freebsd-bugs Mon Jul 31 14:45:23 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id OAA29176 for bugs-outgoing; Mon, 31 Jul 1995 14:45:23 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id OAA29170 for ; Mon, 31 Jul 1995 14:45:18 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.11/8.6.9) with SMTP id OAA04672 for ; Mon, 31 Jul 1995 14:45:15 -0700 Prev-Resent: Mon, 31 Jul 1995 14:45:15 -0700 Prev-Resent: "bugs@freebsd.org " Received: from freefall.cdrom.com (freefall.cdrom.com [192.216.222.4]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id SAA04297 for ; Mon, 31 Jul 1995 18:01:19 -0700 Received: from kithrup.com (kithrup.com [140.174.23.40]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id NAA22259 for ; Mon, 31 Jul 1995 13:02:06 -0700 Received: (from sef@localhost) by kithrup.com (8.6.8/8.6.6) id NAA23423 for jkh@freebsd.org; Mon, 31 Jul 1995 13:01:53 -0700 Date: Mon, 31 Jul 1995 13:01:53 -0700 From: Sean Eric Fagan Message-Id: <199507312001.NAA23423@kithrup.com> To: jkh@freebsd.org Subject: forwarded Resent-To: bugs@freebsd.org Resent-Date: Mon, 31 Jul 1995 14:45:15 -0700 Resent-Message-ID: <4670.807227115@time.cdrom.com> Resent-From: "Jordan K. Hubbard" Sender: bugs-owner@freebsd.org Precedence: bulk >From owner-bsdi-users Mon Jul 31 13:00:01 1995 Date: Mon, 31 Jul 1995 15:42:15 -0400 From: bostic@BSDI.COM (Keith Bostic) To: hribnak@nucleus.com Subject: Re: Rlogin Coring and other questions Cc: bsdi-users@BSDI.COM Sender: owner-bsdi-users@BSDI.COM Precedence: bulk > 1) Ok is there a fix for Rlogin coredumping? its seems it (rlogin) can not > handle any baud rates above 9600 baud. Everything gives a memory fault... It should handle up to 38400; regardless, here's a patch to rlogin.c that should make the problem go away. --keith =================================================================== RCS file: /usr.bin/rlogin/rlogin.c,v retrieving revision 2.1 retrieving revision 2.2 diff -c -r2.1 -r2.2 *** 2.1 1995/02/03 13:01:07 --- 2.2 1995/07/31 19:35:56 *************** *** 259,264 **** --- 259,266 ---- (void)strcpy(term, (p = getenv("TERM")) ? p : "network"); if (ioctl(0, TIOCGETP, &ttyb) == 0) { (void)strcat(term, "/"); + if (ttyb.sg_ospeed >= sizeof(speeds) / sizeof(speeds[0])) + ttyb.sg_ospeed = sizeof(speeds) / sizeof(speeds[0]) - 1; (void)strcat(term, speeds[(int)ttyb.sg_ospeed]); }