From:	SMTP%"Coar@DECUS.Org" 14-JUL-1996 21:39:58.95
To:	EVERHART
CC:	
Subj:	Re: How 2 Change THe Opening Screen

Date: Sun, 14 Jul 1996 09:16:53 -0400
From: Coar@DECUS.Org
Subject: Re: How 2 Change THe Opening Screen
To: Kamisa@Infolink.Net.IL
Cc: Open-VMS-SIG@DECUS.Org, Coar@DECUS.Org
Errors-to: open-vms-sig-owner@DECUS.Org
Warnings-to: open-vms-sig-owner@DECUS.Org
Message-id: <9607141316.AA08962@Mage.Eng.PKO.DEC.Com>
Content-transfer-encoding: 7BIT
Comments: Send OPEN-VMS-SIG subscribe/unsubscribe requests to mailserv@DECUS.Org

    Hi, Amit.

    Unfortunately, you neglected to say which operating system this
    workstation is running, and you sent the message to both an OpenVMS list
    and a Digital UNIX list, so the addressees aren't helpful..

    I'm not sure how it's done on Digital UNIX, but the key on OpenVMS is to
    modify the file SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.COM to include a
    definition for the global symbol DECW$LOGINLOGO:

     $ DECW$LOGINLOGO == "<command-procedure>"  !e.g., SYS$MANAGER:FOO.COM

    Note that this is *just* the file name, with no `@'.

    At the time the Digital logo would normally appear, this command procedure
    will be executed instead.  The WSA device for the display is passed to it
    as the equivalence value of SYS$ERROR, so you can translate that to set
    things up properly:

      $ WSA_DEVICE = F$TRNLNM ("SYS$ERROR")
      $ DEFINE DECW$DISPLAY 'WSA_DEVICE'

    You'll probably have to copy the DECW$PRIVATE_APPS_SETUP file from the
    .TEMPLATE file in SYS$MANAGER; the .COM file doesn't exist by default.

    There's an article in the most recent issue of `Digital Systems Report'
    (which used to be called `Digital Systems Journal,' and `VAX Professional'
    before that) which describes one way of taking advantage of this.

    If your command procedure doesn't do anything, the logo won't be
    displayed.  If that's what you want, you might try defining the symbol as
    "NL:" - I don't know if it'll work, but it's worth a try.

    Obviously, you'll need to end the DECwindows session and log back on again
    for this to take effect.

    The login process is described in some detail in some DSNlink articles.
    In particular, check out the following titles in the DECW-MOTIF database:

     - `[Motif] V1.2 Login Sequence Overview And Troubleshooting'
     - `[Motif] How To Replace `Digital' Logo With Your Own Message'
     - `[Motif] How To Automatically Start An Application At Boot Time'

    Also, look at section 1.2 (and following) in the `DECwindows Motif Version
    1.2 for OpenVMS Release Notes' for more details.

    Hope this helps..

    #ken    :-)}	Jeratol the Chaotic (KAC,KLC31)
			http://WWW.DECUS.Org/coar/

Ken.Coar@Eng.PKO.DEC.Com | All opinions herein contained, stated or implied,
Coar@DECUS.Org           | are solely those of the author.  And he's fullovem.
Digital Equipment Corp.  | `... it was mine art, ... that made gape the pine 
Massachusetts, USA       | and let thee out.'  - Prospero (_The Tempest_)

