[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Method to stop console video blanking



Bob McClure Jr wrote:

On Fri, Nov 30, 2001 at 10:48:45AM -0800, Rick Stevens wrote:

My turn to ask a question for once:

Does anyone know the mechanism to stop the console from blanking
the video?  Not the X screensaver (that's easy), I mean the one that
controls the virtual consoles.  I know it seems weird, but we're
chasing a subtle bug and can't put a serial console on the beast.

According to console_codes, I think sending an "ESC[9;0]" (ESC=0x1b)
does it but I'm not certain.  Any suggestions are highly welcomed.

----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens vitalstream com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
-      We are born naked, wet and hungry. Then things get worse.     -
----------------------------------------------------------------------


Thats what "man console_codes" reports, though there's no elucidation. You may also need to invoke "ESC[14;0]" to keep it from powering down the monitor, if that's possible.


Thanks, Bob.  I think "setterm -blank 0" is what I was looking for.
See my second post.  I can't belive I didn't remember that!

"They say your memory is the second thing to go...but I can't
remember what the first one is!"     -- Victor Borge

----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens vitalstream com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
- grasshopotomaus: A creature that can leap to tremendous heights... -
-                                                ...once.            -
----------------------------------------------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]