Help on DECwindows Motif for OpenVMS Bookreader
←Previous Next→ Contents Examples Figures Tables Close Download Help
  Creating a Resource File (OpenVMS)

  Follow these steps to use resources to change Bookreader
  settings:

  1.   Locate the directory where the logical name DECW$USER_
      DEFAULTS points to.  Enter the following command:

      $  SHOW  LOGICAL  DECW$USER_DEFAULTS

  2.   Set default to the directory that DECW$USER_
      DEFAULTS points to.  For example:

      $  SHOW  LOGICAL  DECW$USER_DEFAULTS
      "DECW$USER_DEFAULTS"  =  "SYS$LOGIN:"  (DECW$LOGICAL_NAMES)
      1   "SYS$LOGIN"  =  "DISK1:[USER]"  (LNM$JOB_80D26620)

      $  SET  DEFAULT  SYS$LOGIN

  3.   Find out if a DECW$XDEFAULTS.DAT file already
      exists by entering the following command:

      $  DIR  DECW$XDEFAULTS.DAT

  4.   If DECW$XDEFAULTS.DAT does not exist, create a file
      with that name.

  5.   Copy the file containing the default Bookreader resources
      into your SYS$LOGIN directory using the following
      commands:

      $  SET  DEFAULT  SYS$LOGIN
      $  COPY  DECW$SYSTEM_DEFAULTS:DECW$BOOKREADER.DAT  *.*

  6.   Edit your copy of DECW$BOOKREADER.DAT. Delete all
      resources you do not want to change, then specify new
      values for the resources you want to customize.

      Each specification in the resource file follows explicit
      syntax rules.  For more information about the re-
      source syntax, see Specifying Bookreader Resource

      Settings .

  7.   Exit from DECW$BOOKREADER.DAT, saving your
      changes.  The next time you invoke Bookreader, it will
      first read the default values from the DECW$BOOKREADER.DAT
      file in DECW$SYSTEM_DEFAULTS. Then it will
      modify the defaults using the values you specify in
      SYS$LOGIN:DECW$BOOKREADER.DAT.

  Additional topics:

  *   Specifying Bookreader Resource Settings

  *   Customizing the Bookreader Display

  *   Bookreader Help Topics
←Previous Next→ Contents Examples Figures Tables Close Download Help