*BSD News Article 17366


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!doc.ic.ac.uk!bright.ecs.soton.ac.uk!robinson.ecs.soton.ac.uk!not-for-mail
From: rsk@ecs.soton.ac.uk (Bob Kemp)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: [???BSD] Shell keeps running after modem hangs up
Date: 21 Jun 1993 10:19:37 +0100
Organization: Electronics and Computer Science, University of Southampton
Lines: 28
Message-ID: <203uf9$gvb@robinson.ecs.soton.ac.uk>
References: <weisss.740482273@hphalle2> <20210m$1k0@werple.apana.org.au>
NNTP-Posting-Host: robinson.ecs.soton.ac.uk
Keywords: com, getty, shell, HUP, login

In <20210m$1k0@werple.apana.org.au> andrew@werple.apana.org.au (Andrew Herbert) writes:

>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?

I've several times had something similar when using X11.  If I need to
quit out of X11 with (say) kermit running (talking to modem) then when I
login again the kermit is still there and accepting input.  The difference
is that kermit doesn't realise that the pseudo tty has "gone away".
Shouldn't it have its stdin set to /dev/null?
I _think_ it has also happened with other programs, not just kermit.

The reason for having to quit out of X11 sometimes is that it seems to
start ignoring keybd input after a while (1-2hrs??).  Perhaps connected with
inactivity or screen blanking?  Has anybody else seen this?

Bob
(using 0.1 + 0.2.3)

-- 

Robert Kemp         Internet: rsk@ecs.soton.ac.uk       Phone: (0703) 59 31 22
	ECS Dept, Southampton Univ, Highfield, Southampton, S09 5NH, UK
	    "Rose bushes have thorns; thorn bushes bear roses"