Re: Blank console on keyboard request

Pavel Machek (pavel@suse.cz)
Tue, 23 Nov 1999 10:50:43 +0100


Hi!

> How do I do it with user-mode command? If user-mode command exists,
> I'll drop this patch happily, but I was not aware of it existing. I do
> not know about screen blanking combinations on neither of my notebooks
> (neither toshiba, nor thinkpad). I could turn external display on and
> internal off, but that is not quite the same as blanking and will have
> bad side effects.
>
> Oops. I stand corrected. There's an TIOCLINUX ioctl for unblanking the
> screen, but not for blanking the screen. There should be, though.
> :-)

> Maybe that would be the better patch....

Actually that _was_ that patch long ago, but I was told it is too
dangerous: malicious user could gain /dev/tty1 access and then fry
monitor with blank/unblank/blank/unblank.

This is not concern for users which have console access, because they
could just use hammer on monitor :-). Or maybe I'm just too paranoid
and should add TIOCLINUX ioctl?
Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/