4.2 Command Procedures
This section describes the command procedures used during
login.
DECW$LOGIN.COM
The user DECW$LOGIN.COM procedure is normally exe-
cuted during a DECwindows session manager startup.
DECW$SYLOGIN.COM
The system DECW$SYLOGIN.COM procedure is normally
executed during a DECwindows session manager startup.
ENTER.COM
The user ENTER.COM procedure, which is searched for in
[user-name.SFT] and then in SYS$LOGIN:, is executed by the
USER command when the user moves from an application,
group or home environment to their user environment.
EXIT.COM
The user EXIT.COM procedure, which is searched for in
[user-name.SFT] and then in SYS$LOGIN:, is executed by
the USER command when the user moves from their user
environment to an application, group or home environment.
HOME.COM
The user HOME.COM procedure, which is searched for in
[user-name.SFT] and then in SYS$LOGIN:, is executed by the
HOME command when the user moves from an application,
group or user environment back to their home environment.
dw-appl-code _ENTER.COM
A DECwindows enter procedure, which is searched for in
[user-name.DECW] and then in SYS$LOGIN:, is used to per-
form DECwindows application specific activities prior to the
execution of a DECwindows application.
For example the procedure [user.DECW]CMS_ENTER.COM
might contain commands to define the CMS library to be
related to the current default directory as passed from the
session manager or FileView. DECwindows application codes
include: Code Application CMS CMS DTM DTM WRITE
DECwrite
dw-appl-code _EXIT.COM
A DECwindows exit procedure, which is searched for in
[user-name.DECW] and then in SYS$LOGIN:, is used to per-
form DECwindows application specific activities after the
execution of a DECwindows application.
For example the procedure [user-name.DECW]CMS_
EXIT.COM might contain commands to deassign the clear
the default CMS library. DECwindows application codes are
listed under the dw-appl-code _ENTER.COM section.
dw-appl-code _LOGIN.COM
A DECwindows login procedure, which is searched for in
[user-name.DECW] and then in SYS$LOGIN:, is used to per-
form DECwindows application specific activities prior to the
first execution of the application image. For example the
procedure [user-name.DECW]CMS_LOGIN.COM might
contain commands to define a CMS library search list of all
the CMS librariues that the user has access to.
LOGICALS.COM
The user LOGICAL.COM procedure, which is searched for
in [user-name.SFT] and then in SYS$LOGIN:, is used to de-
fine user based logical names in either the process, job or user
logical name tables. This procedure should use the DEFAPP
and DEFROT commands to define the logical names
LOGIN.COM
The user LOGIN.COM procedure (or any other procedure as
specified by the users authorization LGICMD attribute) is ex-
ecuted by the LOGINOUT image after the SYLOGIN.COM
procedure.
SYLOGIN.COM
The SYLOGIN procedure is executed by the LOGINOUT
image after setting up the process information, but be-
fore executing the users LOGIN.COM procedure (or or
any other procedure as specified by the users authorization
LGICMD attribute). It is defined by the system logical name
SYS$SYLOGIN which is normally defined as
SYS$MANAGER:SYLOGIN.COM.
This procedure includes access to a number of user definable
hooks as follows: User Procedure Usage LOGICALS.COM
Define user based logicals in either the process, job or user
logical name tables. dw-appl-code _ENTER.COM Enter
procedure for the specified DECwindows application. dw-
appl-code _EXIT.COM Exit procedure for the specified
DECwindows application. dw-appl-code _LOGIN.COM Login
procedure for the specified DECwindows application. The
user procedures are described in further detail below.