lkml.org 
[lkml]   [1999]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Blank console on keyboard request
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.041 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site