diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1993-07-20 02:06:49 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1993-07-20 02:06:49 +0000 |
commit | ba52f649346f398f5601805562fd0a8162a1a457 (patch) | |
tree | 4024ce09c61e66bc75670552840768e112028432 /sys | |
parent | c58613f34438524fd04bc87b7449c22485d4b9bf (diff) | |
download | src-ba52f649346f398f5601805562fd0a8162a1a457.tar.gz src-ba52f649346f398f5601805562fd0a8162a1a457.zip |
Applied Andrew's patch to fix loop-on-logout problem.
Notes
Notes:
svn path=/head/; revision=166
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sio/sio.c | 8 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 8 | ||||
-rw-r--r-- | sys/isa/sio.c | 8 |
3 files changed, 9 insertions, 15 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 1b3d3acddbd1..46e32eb27baa 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 </dev/comx" - * doesn't hang waiting for carrier. + * can be turned off. */ tp->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; } diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index 1b3d3acddbd1..46e32eb27baa 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/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 </dev/comx" - * doesn't hang waiting for carrier. + * can be turned off. */ tp->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; } diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 1b3d3acddbd1..46e32eb27baa 100644 --- a/sys/isa/sio.c +++ b/sys/isa/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 </dev/comx" - * doesn't hang waiting for carrier. + * can be turned off. */ tp->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; } |