|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Patch] virtual consoles switching disabling
From: Thorsten Glaser (tg
mirbsd.de)
Date: Wed Feb 15 2006 - 11:26:28 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alexey Vatchenko dixit:
>Thorsten Glaser wrote:
>> Alexey Vatchenko dixit:
>>
>>>I added new ioctl: WSDISPLAYIO_ENSWITCH with (int) flag:
>>
>> Why not a sysctl?
>
>Actually, i didn't think about sysctl. All wscons stuff (add screen,
>remove screen, set screen) is implemented as ioctls, so i thought it was
>the right way. And it's easier to implement DISABLE-ENABLE-ON-CLOSE :)
I thought of it when I read your phrase "disable switching" and
thought an administrator might want to do it. But then, it could
be done by editing /etc/ttys either, so... it's not necessary.
//mirabile
--
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence. -- Coywolf Qi Hunt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]