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 |