From owner-freebsd-current Tue Jul 3 5:51:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 029E137B408; Tue, 3 Jul 2001 05:51:08 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.4/8.11.4) id f63Cp3v25948; Tue, 3 Jul 2001 16:51:03 +0400 (MSD) (envelope-from ache) Date: Tue, 3 Jul 2001 16:50:59 +0400 From: "Andrey A. Chernov" To: Ruslan Ermilov Cc: Bruce Evans , Alfred Perlstein , current@FreeBSD.ORG Subject: Re: TIOCSCTTY Message-ID: <20010703165058.A25874@nagual.pp.ru> References: <20010702111904.O84523@sneakerz.org> <20010703152523.C39090@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010703152523.C39090@sunbay.com> User-Agent: Mutt/1.3.19i 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, 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 [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