[comp.windows.x] DECwindows screen saver questions

H1C5962@VENUS.TAMU.EDU (Lee Cox - Academic Computing Services) (01/13/90)

Three (or so) questions...

On a DECstation 3100, if I use the "xset s noblank" command, as soon as
I logoff, it (like the online doc says it should) goes back to the
default of blanking the screen.  How do I change the default to be
noblank?

On a VAXstation under VMS, is there a way to use the noblanking screen
saver and, if so, have it be the default?

Under VMS, are there equivalent commands or ways to reproduce the
effects of commands like xset, xsetroot, xrdb, etc.?

************************************************************************

 Lee Cox                          BITnet: H1C5962@TAMSTAR
                                  HEPnet: FNBIT::TAMHEP::THOR::H1C5962
 Asst. Systems Manager              NREN: H1C5962@STAR.TAMU.EDU
 Academic Computing Services        SPAN: UTSPAN::UTADNX::THOR::H1C5962
 Texas A&M University             THEnet: THOR::H1C5962
 College Station, TX 77843-3154   GTEnet: (409)845-9577

                     Paranoia is our profession.

************************************************************************

graham@fuel.dec.com (kris graham) (01/13/90)

> On a DECstation 3100, if I use the "xset s noblank" command, as soon as
> I logoff, it (like the online doc says it should) goes back to the
> default of blanking the screen.  How do I change the default to be
> noblank?

Methinks you want to disable the 'screen-saver' capability...no?
You can disable the screen-saver if you are running the DECwindows
session manager....via the 'Customize/window' pull-down entry.  You
can also set times on 'blanking'.  Just remember to save the resources
after you set them.

In  .Xdefaults, this translates to:

sm.screen_saver_enable:	disable

or

sm.screen_saver_period:	38  (example using timer... in minutes)

>..On a VAXstation under VMS, is there a way.... 

VMS has the same interface via the session manager.

Christopher Graham          
Digital Equipment Corp            
Ultrix Resource Center                                             
New York City

Internet: graham@fuel.enet.dec.com 
UUCP:     ...!decwrl!fuel.enet.dec.com!graham

H1C5962@RIGEL.TAMU.EDU (Lee Cox - Academic Computing Services) (01/13/90)

>> On a DECstation 3100, if I use the "xset s noblank" command, as soon as
>> I logoff, it (like the online doc says it should) goes back to the
>> default of blanking the screen.  How do I change the default to be
>> noblank?
>
>Methinks you want to disable the 'screen-saver' capability...no?
>You can disable the screen-saver if you are running the DECwindows
>session manager....via the 'Customize/window' pull-down entry.  You
>can also set times on 'blanking'.  Just remember to save the resources
>after you set them.

No, I don't want to disable the screen saver; I want to change its
behavior.  Using the "xset s blank" command causes the normal behavior
of causing the screen to go blank after a period of inactivity set with
sm.screen_saver_period.  However, if I use the "xset s noblank" command,
the screen will not go completely blank.  Instead, all windows except
the background will disappear.  The background window will shift
slightly to avoid burning the background pattern into the screen and an
"X" (as in the xlogo) of a varying size will blank a random part of the
screen.  We have some of our workstations in a glass-enclosed area in
front of our Cray YMP and when we installed a MIPS 2030 there, I noticed
that it used the "noblank" behavior for the screen saver as its default. 
Since we are trying to draw attention to them, I would like to have our
DECstation 3100 and our VAXstations 3100 and 3520 do the same thing. 
I've been able to get the DECstation 3100 to do the "noblank" while I
was logged in, but once I logged out, it went back to blanking the
screen.

stripes@eng.umd.edu (Joshua Osborne) (01/17/90)

>>> On a DECstation 3100, if I use the "xset s noblank" command, as soon as
>>> I logoff, it (like the online doc says it should) goes back to the
>>> default of blanking the screen.  How do I change the default to be
>>> noblank?
>>

As a kludge you can put a short sleep in your .logout (if you use .cshrc)
and a xset.  (like "(sleep 60;xset s noblank) &").
Since you want it perminatly you might want to put it into the crontab, or
if you are running xdm mabie you can get that to do it...   (either with
a config file, or source hacking).

If you don't find a xset (or whatever) use xset from a Unix system:
xset s noblank -display mr_vms:0
-- 
           stripes@wam.umd.edu          "Security for Unix is like
      Josh_Osborne@Real_World,The          Mutitasking for MS-DOS"
      "The dyslexic porgramer"                  - Kevin Lockwood
Einstein argued that there must be simplified explanations of nature, because
God is not capricious or arbitrary.  No such faith comforts the software
engineer.
- Fred Brooks, Jr.