Re: Two questions

From: Andries Brouwer (aeb@veritas.com)
Date: Fri Jun 02 2000 - 07:12:40 EST


On Fri, Jun 02, 2000 at 07:58:31AM -0400, Richard B. Johnson wrote:
> On Fri, 2 Jun 2000, Andries Brouwer wrote:
>
> > On Thu, Jun 01, 2000 at 04:05:22PM -0400, Richard B. Johnson wrote:
> >
> > > How do I turn off console blanking
> >
> > Try "setterm -blank 0".
>
> Pretty hard to do without including setterm in PROM on an embedded
> system. `strace` shows that setterm just sends an escape-sequence.

Yes - that is why I didnt tell you about the ioctl.
It does not exist.

But if you are going to put things into an embedded system,
change the line
        static int blankinterval = 10*60*HZ;
in console.c into
        static int blankinterval = 0;

Andries

-
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/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:15 EST