We now retrieve the installation files as shown below.
Retrieving the installation files
VSCLIB? set default cern:[new.mgr] VSCLIB? copy vxcern::cern:[new.mgr]*.com; * VSCLIB? copy vxcern::cern:[new.mgr]*.for; * VSCLIB? copy vxcern::cern:[new.mgr]*.c; * VSCLIB? set default [-.exe] VSCLIB? copy vxcern::cern:[new.exe]*.com; * VSCLIB? set default cern:[new.lib] VSCLIB? copy vxcern::cern:[new.lib]*.opt; * VSCLIB? create/directory cern:[decw] ! If you want to link PAW with the old version ! of DECwindows VSCLIB? set default cern:[decw] VSCLIB? copy vxcern::cernvax:[decw]*.exe *
We now compile and link the program MAIN_CERNLOGIN.FOR and customise our LOGIN.COM.
Creating MAIN_CERNLOGIN.EXE
VSCLIB? fortran cern:[new.mgr]main_cernlogin VSCLIB? link main_cernlogin
Before running this program, we must define the logical name CERN_ROOT. Note that CERN_ROOT should be defined consistantly with the CERN logical name. In a production environment, CERN_ROOT is typically the PRO subdirectory of the CERN tree. When installing, however, it is wise to point CERN_ROOT to the NEW area, as shown below.
Defining CERN_ROOT
VSCLIB? define/sys/exec/trans=(concealed,terminal) - cern_root - disk$user1:[jamie.cernlib.cern.new.]
Example LOGIN.COM for the CERNLIB account
$ define cern _uxcnb1$dua20:[cernlib.cern.] /trans=(conc,term) $ run cern:[new.mgr]main_cernlogin $! $! The following symbols are defined by $! MAIN_CERNLOGIN but we chose to keep $! these modules in a different place $! $ ycompare :== $cern:[new.exe]ycompare $ yedit :== $cern:[new.exe]yedit $ yfrceta :== $cern:[new.exe]yfrceta $ yindex :== $cern:[new.exe]yindex $ ylist :== $cern:[new.exe]ylist $ ypatchy :== $cern:[new.exe]ypatchy $ ysearch :== $cern:[new.exe]ysearch $ yshift :== $cern:[new.exe]yshift $ ytobcd :== $cern:[new.exe]ytobcd $ ytobin :== $cern:[new.exe]ytobin $ ytoceta :== $cern:[new.exe]ytoceta $! $ yexp*and :== @cern:[new.exe]yexpand $! $ fcasplit :== $cern:[new.exe]fcasplit $! $ cern_level :== new $! $ @cern:[new.mgr]plienv