From 912c4a4d1dd36bba830df1307878c68b77c5def3 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 20 Jul 1993 02:06:49 +0000 Subject: Applied Andrew's patch to fix loop-on-logout problem. --- sys/dev/sio/sio.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 1b3d3ac..46e32eb 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -41,7 +41,7 @@ * into the patch kit. Added in sioselect * from com.c. Added port 4 support. */ -static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys.386bsd/i386/isa/sio.c,v 1.3 1993/07/18 21:27:57 rgrimes Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys.386bsd/i386/isa/sio.c,v 1.4 1993/07/20 00:22:30 jkh Exp $"; #include "sio.h" #if NSIO > 0 @@ -670,13 +670,11 @@ bidir_open_top: * since those are only relevant for logins. It's * important to have echo off initially so that the * line doesn't start blathering before the echo flag - * can be turned off. It's useful to have clocal on - * initially so that "stty changed-defaults t_iflag = 0; tp->t_oflag = 0; - tp->t_cflag = CREAD | CS8 | CLOCAL; + tp->t_cflag = CREAD | CS8 | HUPCL; tp->t_lflag = 0; tp->t_ispeed = tp->t_ospeed = comdefaultrate; } -- cgit v1.1