lkml.org 
[lkml]   [2003]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Turning off automatic screen clanking
Le lun 28 jui 2003 16:00:03 GMT, Richard B. Johnson a tapoté sur son clavier :
> I have experimentally determined that I can turn off
> the automatic screen blanking with the following escape
> sequence.
>
> const char blk[]={27, '[', '9', ';', '0', ']', 0};
> main()
> {
> printf(blk);
> }

Yes, this is what setterm -blank 0 does. See setterm_command() in
drivers/char/console.c(2.4) or vt.c(2.6)

> I need to know what the appropriate ioctl() is to do this
> directly without using escape sequences.

It's not possible even with current 2.6.0-test2 but could be added to
tioclinux in a few lines.

Regards,
Samuel Thibault
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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