[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: blank console
Please, Hev're, he asked a simple question, don't make him confused!
No, it is neither APM, nor stty, nor BIOS, nor kernel, nor bug of
the Pentium. It is even not the April 1st! In order to change the
time (in minutes) between screen blanking of the console, just try
the simple escape sequence I gave in previous message (I tried!).
Believe me! Please !!!
And if you are still skeptical, at least try the following C code:
------------------------------------------------------------------
#include <stdio.h>
main(argc, argv)
char *argv[]; /* I never define argc; It spends a line! */
{
if (argc != 2) {
fprintf(stderr, "Usage: a.out <No. of minutes>\n");
exit(1);
}
printf("\033[9;%d]\n", atoi(argv[1]));
}
--
Eli Marmor
El-Mar Software Ltd.