[lkml]   [2003]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.

    Samuel Thibault
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:0.021 / U:0.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site