tangled dev_t, struct tty and screen in syscons (was: Re: TIOCSCTTY)

2001-07-03 Thread Kazutaka YOKOTA
JFYI, In i386, /dev/console is the same as /dev/consolectl, and all I/O operations for /dev/console, /dev/concolectl and /dev/ttyv0 take place in the screen #0, as shown below. In alpha /dev/console is /dev/ttyv0. Access to /dev/console is routed to /dev/consolectl's dev_t by cdevsw functions i

Re: TIOCSCTTY

2001-07-03 Thread Kazutaka YOKOTA
>> It sounds like moused needs to be fixed to drop its control terminal. >> >But the daemon(3) performs this function, and forked moused(8) runs >without the controlling tty. > >Further investigation shows, that after running and killing this small >program (from /etc/rc.local), I can't get a fu

Re: TIOCSCTTY

2001-07-02 Thread Alfred Perlstein
* Ruslan Ermilov <[EMAIL PROTECTED]> [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 I think