Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 16:50:59 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        Bruce Evans <bde@zeta.org.au>, Alfred Perlstein <bright@sneakerz.org>, current@FreeBSD.ORG
Subject:   Re: TIOCSCTTY
Message-ID:  <20010703165058.A25874@nagual.pp.ru>
In-Reply-To: <20010703152523.C39090@sunbay.com>
References:  <20010702111904.O84523@sneakerz.org> <Pine.BSF.4.21.0107031943440.39888-100000@besplex.bde.org> <20010703152523.C39090@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 03, 2001 at 15:25:24 +0300, Ruslan Ermilov wrote:
> On Tue, Jul 03, 2001 at 07:53:08PM +1000, Bruce Evans wrote:
> > On Mon, 2 Jul 2001, Alfred Perlstein wrote:
> > 
> > > * Ruslan Ermilov <ru@FreeBSD.org> [010702 10:51] wrote:
> > > > Hi!
> > > > 
> > > > Could someone please explain why the following code snippet
> > > > does not work anymore with the "/dev/console" argument?
> > > > 
> > > > # ./tiocsctty /dev/console
> > > > tiocsctty: ioctl(/dev/console, TIOCSCTTY): Operation not permitted
> > 
> > This still works here.  Perhaps another process has aquired /dev/console
> > as its controlling terminal.
> > 
> Weird.  I figured out what causes this, it's moused(8).  I have inserted
> some debug code into it to see what's going on:

It sounds like moused needs to be fixed to drop its control terminal.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010703165058.A25874>