Gentoo Archives: gentoo-server

From: Sven Wegener <Sven.Wegener@×××××××.net>
To: ramereth@g.o
Cc: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Disabling screen blanking
Date: Mon, 03 May 2004 20:52:54
Message-Id: 4096B13F.3020104@STEALER.net
In Reply to: Re: [gentoo-server] Disabling screen blanking by Lance Albertson
1 Lance Albertson wrote:
2 > Sven Wegener wrote:
3 >>Just to make sure, you're doing this on a remote machine over an SSH
4 >>connection? setterm will echo the control characters to stdout so you
5 >>have to redirect them at the console, e.g.
6 >>
7 >>setterm -blank 0 >/dev/tty1
8 >>
9 >>Hope this helps.
10 >>Sven
11 >
12 > I tried it here on a machine at work on the console and it didn't appear to
13 > work. Unless I missed some option.
14
15 No option missed, but your current terminal (ssh pty, mostly TERM=xterm)
16 lacks support of the blank extension. That's why they are not echo'ed
17 when invoking setterm -blank, the following should do the trick:
18
19 TERM=linux setterm -blank 0 >/dev/tty1

Replies

Subject Author
Re: [gentoo-server] Disabling screen blanking Sven Wegener <Sven.Wegener@×××××××.net>