OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
The Tcl reference page summarizes the Tcl built-in commands. You can view the Tcl
summary reference page on a UNIX style system by entering
dcecp> man Tcl
.
. [output omitted]
.
dcecp>
1.8 Customizing dcecp Sessions
The DCE control program includes a number of commands, objects, and task scripts for
performing most of the day-to-day DCE administration operations. Nevertheless, as you
gain experience using the dcecp interface, you may find you want to add new commands
and capabilities or to customize some existing ones. The following sections explain how
to add scripts and new objects to your dcecp session. An object is just a formal
implementation of a script that uses the dcecp help system and takes the form of object
operation. Chapters 2 and 3 explain the fundamentals of writing dcecp scripts and
creating new objects.
1.8.1 AddingScripts to dcecp Sessions
Once you have written a script, you can make it available to one person or to everyone
who is logged into the host by modifying one or more of the following files invoked
when dcecp initializes:
[info library]/init.tcl
This file is read first and contains standard Tcl initialization commands
for the host. This affects all instances of dcecp running on a host. The
file contains definitions for the Tcl unknown command and the
auto_load facility used for initializing all of the dcecp objects.
Administrators should avoid adding dcecp customizations to this file.
dcelocal/init.dcecp
This file contains dcecp-specific startup information for the host. This
affects all instances of dcecp running on a host. The dcecp scripts
implementing operations and tasks are stored in the dcelocal/dcecp
directory. Add customizations in the form of procedures to this file to
make them available to all dcecp users on the host.
$HOME/.dcecprc
This optional file stores user customizations that affect individual dcecp
users (the owners of the .dcecprc files). Each DCE user can maintain a
.dcecprc file and store private procedures or alias names for operations.
Modified .dcecprc files allow flexible administration in environments
1 16 Tandem Computers Incorporated 124243