[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

841.0. "Unsupported procedures to start a C3 at boottime." by CSC32::BUTTERWORTH (Gun Control is a steady hand.) Fri Jun 23 1995 18:52

Example-POLYCENTER Console Manager - How Replace the DECWindows Motif Login box
                   with the C3

     Any party granted access to the following copyrighted information
     (protected under Federal Copyright Laws), pursuant to a duly executed
     Digital Service Agreement may, under the terms of such agreement copy
     all or selected portions of this information for internal use and
     distribution only. No other copying or distribution for any other
     purpose is authorized. 
 
Copyright (c) Digital Equipment Corporation 1995.  All rights reserved

PRODUCT:    DEC POLYCENTER Console Manager Version(s) V1.5 and above

OP/SYS:     OpenVMS VAX Version 6.0 and Above
            OpenVMS Alpha Version 1.5 and Above

SOURCE:     Digital Equipment Corporation


OVERVIEW:

The following command procedures, when used in conjunction with each 
other, will start a DEC POLYCENTER Console Manager (PCM) Central Control 
Coordinator in place of the DECWindows Motif login box on the PCM 
platform's local display.  


*** CAUTION ***

These sample procedures have been tested using DEC POLYCENTER Console 
Manager V1.5 on OpenVMS VAX V6.0 and OpenVMS Alpha V6.1.  However, we 
cannot guarantee their effectiveness because of the possibility of error 
in transmitting or implementing them.  They are meant to be used as a 
template for writing your own procedures, and they may require 
modification for use on your system.


PROCEDURE NOTES:

The first procedure, DECW$PRIVATE_APPS_SETUP.COM, should be copied to 
SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.COM, or merged with an existing
version in SYS$MANAGER.

The second procedure, CONSOLE$C3_0_0_0.COM, should be copied to 
SYS$MANAGER:CONSOLE$C3_0_0_0.COM.

The third and final procedure, CONSOLE_C3_STARTUP.COM, should be copied 
to SYS$MANAGER:CONSOLE_C3_STARTUP.COM


PROCEDURES:

--------------------------------CUT HERE----------------------------------------
$ !
$ ! Procedure DECW$PRIVATE_APPS_SETUP.COM - Customize DECwindows Applications.
$ !
$ !****************************************************************************
$ !*                                                                          *
$ !*  COPYRIGHT � 1987, 1991 BY                                               *
$ !*  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS.                  *
$ !*  ALL RIGHTS RESERVED.                                                    *
$ !*                                                                          *
$ !*  THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED   *
$ !*  ONLY IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE   *
$ !*  INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR  ANY  OTHER   *
$ !*  COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY   *
$ !*  OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE IS  HEREBY   *
$ !*  TRANSFERRED.                                                            *
$ !*                                                                          *
$ !*  THE INFORMATION IN THIS SOFTWARE IS  SUBJECT TO CHANGE WITHOUT NOTICE   *
$ !*  AND  SHOULD  NOT  BE  CONSTRUED AS  A COMMITMENT BY DIGITAL EQUIPMENT   *
$ !*  CORPORATION.                                                            *
$ !*                                                                          *
$ !*  DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE  OR  RELIABILITY OF ITS   *
$ !*  SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.                 *
$ !*                                                                          *
$ !*                                                                          *
$ !****************************************************************************
$ !
$ ! This is session customization file that defines the DECW$MAINAPP symbol 
$ ! to run sys$startup:vcs$startup_motif.com. This command file starts up
$ ! the C3 with motif. 
$ ! This file was copied from sys$manager:decw$private_apps_setup.template 
$ ! and modified.
$ !
$ !
$ ! The following is a list of additional options that can be used with
$ ! this file.....currently the only symbol defined is DECW$MAINAPP. 
$ ! You change these setup options by defining the DCL symbols listed in the
$ ! following table:
$ !
$ !     Option          Symbol                  Values
$ !---------------------------------------------------------------------
$ !     Books           DECW$BOOK               directory spec
$ !       The directory used by the bookreader to find on-line books
$ !             DEFAULT = sys$common:[decw$book]
$ !
$ !     FileView        VUE$LIBRARY             directory spec
$ !       The directory for FileView command files
$ !             DEFAULT = decw$syscommon:[vue$library.user],-
$ !                       decw$syscommon:[vue$library.system]
$ !
$ !     Keymaps         DECW$KEYMAP             directory spec
$ !       The directory for Keymap files
$ !             DEFAULT = decw$syscommon:[sys$keymap.decw.user],-
$ !                       decw$syscommon:[sys$keymap.decw.system]
$ !
$ !     Examples        DECW$EXAMPLES           directory spec
$ !       The directory for DECwindows example programs
$ !             DEFAULT = sys$common:[syshlp.examples.decw]
$ !
$ !     XDPS Examples   XDPS$EXAMPLES           directory spec
$ !       The directory for XDPS example programs
$ !             DEFAULT = sys$common:[syshlp.examples.xdps]
$ !
$ !     SM Menus        VUE$MBLIBRARY           directory spec
$ !       The directory for Session Manager menu bar command files
$ !             DEFAULT =
$ !
$ !     Logo            DECW$LOGINLOGO          DCL command file filespec
$ !       A customized logo used during loginout
$ !             DEFAULT = none
$ !
$ !     Node            DECW$APPSNODE           NODE name
$ !     Server          DECW$APPSSERVER         SERVER number
$ !     Screen          DECW$APPSSCREEN         SCREEN number
$ !       The parameters to the set display command - node, server, screen
$ !             DEFAULT = node 0, server 0, screen 0
$ !
$ !
$ !
$ !     Option          Symbol                  Values
$ !---------------------------------------------------------------------
$ !     SM Command      DECW$SESSIONCOM         DCL command file filespec
$ !       The command procedure to be run after authorization is complete.
$ !        This command procedure needs to start a session manager
$ !             DEFAULT = sys$manager:decw$startsm.com
$ !
$ !     decw$sylogin    DECW$SYLOGINCOM         DCL command file filespec
$ !     -  The DECwindows sylogin command procedure
$ !             DEFAULT = sys$manager:decw$sylogin.com
$ !
$ !     SM init         DECW$SESSIONINIT        DCL command 
$ !     -  The command that initializes the workstation with the correct
$ !        user resource values
$ !             DEFAULT = run sys$system:decw$wsinit
$ !
$ !     Session         DECW$SESSIONMAIN        DCL command 
$ !     -  The command that runs a session
$ !             DEFAULT = run sys$system:decw$session
$ !
$ !     SM End          DECW$SESSIONEND         DCL command
$ !     -  The command that resets a session
$ !             DEFAULT = None
$ !
$ !     Login Log       DECW$LOGINLOG           file spec for log file
$ !     -  A log file for decwindows loginout
$ !             DEFAULT = None
$ !
$ !     Multiple Login  DECW$LOGINMANY          If defined means True
$ !     -  Allow multiple connections during loginout
$ !             DEFAULT = Not allowed
$ !
$ !     SM Log file     DECW$SESSIONLOG         True or False
$ !     -  Turn off the log file for the session manager
$ !             DEFAULT = Log file on
$ !
$ ! The symbol DECW$MAINAPP specifies the program to run when 
$ ! DECwindows startup is complete. The default would have been 
$ ! decw$startlogin.
$ ! 
$ !
$ write sys$output " "
$ write sys$output "using DECW$PRIVATE_APPS_SETUP to bring up C3"
$ DECW$MAINAPP       :== "@SYS$MANAGER:CONSOLE_C3_STARTUP.COM"
$ write sys$output " "
$ exit
--------------------------------CUT HERE----------------------------------------

--------------------------------CUT HERE----------------------------------------
$ !
$ ! Procedure CONSOLE$C3_0_0_0.COM.
$ !
$ !****************************************************************************
$ !*                                                                          *
$ !*  COPYRIGHT � 1994, 1995 BY                                               *
$ !*  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS.                  *
$ !*  ALL RIGHTS RESERVED.                                                    *
$ !*                                                                          *
$ !*  THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED   *
$ !*  ONLY IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE   *
$ !*  INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR  ANY  OTHER   *
$ !*  COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY   *
$ !*  OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE IS  HEREBY   *
$ !*  TRANSFERRED.                                                            *
$ !*                                                                          *
$ !*  THE INFORMATION IN THIS SOFTWARE IS  SUBJECT TO CHANGE WITHOUT NOTICE   *
$ !*  AND  SHOULD  NOT  BE  CONSTRUED AS  A COMMITMENT BY DIGITAL EQUIPMENT   *
$ !*  CORPORATION.                                                            *
$ !*                                                                          *
$ !*  DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE  OR  RELIABILITY OF ITS   *
$ !*  SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.                 *
$ !*                                                                          *
$ !*                                                                          *
$ !****************************************************************************
$ !
$ ! CONSOLE$C3_0_0_0.COM
$ !
$ display = f$trnlnm("CONSOLE$C3_STARTUP_DISPLAY")
$ DEFINE DECW$DISPLAY 'display'
$ SET MESSAGE /FACILITY /IDENTIFICATION /SEVERITY /TEXT
$ SET DEFAULT SYS$MANAGER
$ SET PROCESS /DUMP
$ spawn/nowait/nonotify/process=DECW$MWM mcr DECW$MWM -multiscreen
$ CONSOLE C3
$  endsession := $DECW$ENDSESSION
$  endsession -noprompt
$  STOP/ID=0
--------------------------------CUT HERE----------------------------------------

--------------------------------CUT HERE----------------------------------------
$ !
$ ! Procedure CONSOLE_C3_STARTUP.COM.
$ !
$ !****************************************************************************
$ !*                                                                          *
$ !*  COPYRIGHT � 1994, 1995 BY                                               *
$ !*  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS.                  *
$ !*  ALL RIGHTS RESERVED.                                                    *
$ !*                                                                          *
$ !*  THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED   *
$ !*  ONLY IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE   *
$ !*  INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR  ANY  OTHER   *
$ !*  COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY   *
$ !*  OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE IS  HEREBY   *
$ !*  TRANSFERRED.                                                            *
$ !*                                                                          *
$ !*  THE INFORMATION IN THIS SOFTWARE IS  SUBJECT TO CHANGE WITHOUT NOTICE   *
$ !*  AND  SHOULD  NOT  BE  CONSTRUED AS  A COMMITMENT BY DIGITAL EQUIPMENT   *
$ !*  CORPORATION.                                                            *
$ !*                                                                          *
$ !*  DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE  OR  RELIABILITY OF ITS   *
$ !*  SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.                 *
$ !*                                                                          *
$ !*                                                                          *
$ !****************************************************************************
$ !
$ ! CONSOLE_C3_STARTUP.COM
$ !
$ display = f$trnlnm("DECW$STARTUP_DEVICE")
$ define/system CONSOLE$C3_STARTUP_DISPLAY 'display'
$ run/detach/authorize -
/input=SYS$MANAGER:CONSOLE$C3_0_0_0.COM -
/output=SYS$MANAGER:CONSOLE$C3_0_0_0_OUTPUT.LOG -
/process="PCM C3 0.0" -
sys$system:loginout.exe
$logout
--------------------------------CUT HERE----------------------------------------

\
\
\ CONTRIBUTORS:   
\
\      Technical:
\           Dan Butterworth (216032)
\           {Name} ({Badge})
\
\      Editorial:
\           Caroline Butterworth (302957)
\
    
T.RTitleUserPersonal
Name
DateLines