On 04/12/2018 03:16 PM, Wolfgang S. Rupprecht wrote:
stan <stanl-fedorauser(a)vfemail.net> writes:
> On Mon, 09 Apr 2018 12:56:43 -0700
> Wolfgang S Rupprecht <wolfgang.rupprecht(a)gmail.com> wrote:
>
>> That looks like a fine solution if you are logged in on a terminal and
>> you want to change it for your current terminal. I'm not sure how
>> that would work from rc.local. How would I tell it to do that to all
>> the vt's? (I tried the stdin and stdout as redirection targets but it
>> didn't seem to work.)
>
> A quick search turned up these pages, which should get you a little
> further on your journey.
>
>
https://superuser.com/questions/152347/change-linux-console-screen-blanki...
>
>
https://unix.stackexchange.com/questions/8056/disable-screen-blanking-on-...
Thanks. Those are both 7 years old and things appear to have changed
much.
[wolfgang@arbol ~]$ setterm -blank 600
setterm: argument error: 600
Not only is the "-blank" missing but I believe it applies to the current
tty. That would make it difficult to slip into /etc/rc.local .
The option is "--blank" (two dashes, as are most multicharacter command
line options) and the maximum value allowed is 60 (this is in minutes),
with 0 meaning "don't blank at all". And yes, it's for the current VT.
I know of no way of forcing it onto other VTs, and I still really don't
see a reason to need to change it unless you're watching a terminal for
output for some reason.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- On a scale of 1 to 10 I'd say... oh, somewhere in there. -
----------------------------------------------------------------------