From owner-freebsd-current Tue Jul 3 11:37: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 73C7337B403; Tue, 3 Jul 2001 11:36:59 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA24565; Wed, 4 Jul 2001 04:36:57 +1000 Date: Wed, 4 Jul 2001 04:34:55 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Ruslan Ermilov Cc: current@FreeBSD.ORG Subject: Re: TIOCSCTTY In-Reply-To: <20010703184417.A69095@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > On Wed, Jul 04, 2001 at 01:15:17AM +1000, Bruce Evans wrote: > > On Tue, 3 Jul 2001, Ruslan Ermilov wrote: > > > ... > > > Nothing has changed re: consolectl. It still has session c0b14700 (with > > > the session leader PID = 6) bound to it. > > > > Nothing should have changed, since moused only closed a dup'ed descriptor > > for /dev/console. > > > Sure, this is normal. > > > The last-close bugs will bite later when ancestors of > > moused all close all their descriptors for /dev/console. > > Here we can still see the consolectl vs console confusion. > > > How this applies to my "emulation" program, which opens > /dev/consolectl only when in a new session? I'm not sure, since I didn't keep it :-). "This" was just more background information. The point is that holding /dev/consolectl open breaks job control stuff on /dev/console. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message