*BSD News Article 17341


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!news
From: andrew@werple.apana.org.au (Andrew Herbert)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: [???BSD] Shell keeps running after modem hangs up
Date: 21 Jun 1993 01:50:46 +1000
Organization: werple public-access unix, Melbourne
Lines: 21
Message-ID: <20210m$1k0@werple.apana.org.au>
References: <weisss.740482273@hphalle2>
NNTP-Posting-Host: werple.apana.org.au
Keywords: com, getty, shell, HUP, login

weisss@Informatik.TU-Muenchen.DE (Stefan Weiss) writes:

[description of HUP signal not being sent by com driver]

>Didn't anyone notice this before? Or am I too blind to see an obvious
>solution to this problem?

The quick fix is to comment-out line 148 of /sys/i386/isa/com.c, which says:

	comsoftCAR |= 1 << unit;        /* XXX */

This is more-or-less the same in NetBSD.  Hardware flow control is also
broken in this version of com.c - for the time being, you may want to get
cgd's com driver modifications:

	agate.berkeley.edu:pub/386BSD/386bsd-0.1/unofficial/deprecated/com-cgd/
		com-beta-0.2.1.tar.Z

A much better driver by Bruce Evans is also on the way.

Andrew