Chapter Contents |
Previous |
Next |
SAS Companion for the OpenVMS Operating Environment |
The SAS System functions correctly without any modifications to the resource database. However, you may want to change the default behavior or appearance of the interface. There are several ways to specify your customizations. Some methods modify all SAS sessions displayed on a particular X server. Some methods affect all SAS sessions run on a particular host. Other methods affect only a single SAS session. You can use one of the following methods to specify your customizations:
The following sections describe how to customize the resource database. If you need more information on X Window System clients and X resources, refer to the documentation provided by your vendor.
Specifying X Resources |
A resource specification has the following format:
resource-string: value |
SAS
), the separator
is a period (.) or asterisk (*) character, and the second identifier is the
name of the specific resource. The value given
may be a Boolean value (
True
or
False
), a number, or
a character string, depending on the resource type.
The application name and resource name can both specify an instance value or a class value. A specification for a class applies to a larger scope than a single instance.
The following are sample resource specifications:
SAS.maxWindowHeight: 100 SAS.awsResizePolicy: grow
For more information about resource specifications, refer to your X Window System documentation.
Editing the X Resource File |
The X resources for the SAS System are defined in the SAS$XDEFAULTS.DAT resource file in the SYS$LOGIN directory. An example of this file is located in the SAS$ROOT:[TOOLS] directory.
You can change the settings of the X resources in this file without affecting other X Window System applications.
Using the Preferences Dialog Box to Modify X Resource Settings |
You can open the Preferences dialog box by issuing the
DLGPREF command in the command window, or from the Tools
menu, select
Options
, and
then select
Preferences
.
Select the tabs at the top of the window to move between the various settings.
To modify the General settings, select the General tab in the Preferences dialog box. General Tab in the Preferences Dialog Box shows the default general settings.
General Tab in the Preferences Dialog Box
The following is an explanation of the settings:
Start Session
manager
Startup
Logo
If you select
Use Default Logo
, SAS uses the default file for your site. If you select
No Logo
, then no file is displayed.
If you select
Use Custom Logo
, then you can either enter the XPM filename directly in the text field
or click on [Select] to open the Startup Logo dialog box. These
check boxes set the
SAS.startupLogo
resource.
Use application workspace
SAS.noAWS
resource. You must exit and reopen the windows for changes to this resource
to take effect.AWS Resize
Policy
Grow
Fixed
This area sets the
SAS.awsResizePolicy
resource.
After you have changed the settings, click on [OK] to implement your choices or click on
[Cancel]
to cancel your choices. Click on [Defaults] to return to the
default settings. Click on [Help] for help about the Preferences
dialog box.
To modify the display manager settings, select the DMS tab in the Preferences dialog box. DMS Tab in the Preferences Dialog Box shows the default display manager settings.
DMS Tab in the Preferences Dialog Box
The following is an explanation of the settings:
Use menu access keys
SAS.usePmenuMnemonics
resource.Confirm exit
SAS.confirmSASExit
resource.Save settings
on exit
SAS.wsaveAllExit
resource.Backup Documents
SAS.autoSaveInterval
resource) the documents that you currently have open. This check box sets
the
SAS.autoSaveOn
resource.Help &
Documentation Browser - Netscape Path
SAS.helpBrowser
resource.After you have changed the settings, click on [OK] to implement your choices or click on
[Cancel]
to cancel your choices. Click on [Defaults] to return to the
default settings. Click on [Help] for help about the Preferences
dialog box.
To modify the Editing settings, select the Editing tab in the Preferences dialog box. Editing Tab in the Preferences Dialog Box shows the default editing settings.
Editing Tab in the Preferences Dialog Box
The following is an explanation of the settings:
Default paste buffer
XPRIMARY
PRIMARY
). This is the default.XTERM
XSCNDARY
SECONDARY
).XCLIPBRD
CLIPBOARD
).XCUTn
This field
sets the
SAS.defaultPasteBuffer
resource. For more information about paste buffers, see Customizing Cut-and-Paste Operations.
Automatically store selection
SAS.markPasteBuffer
resource.Cursor
Insert
and
Overtype
check boxes set
the
SAS.insertModeOn
resource to
True
and
False
, respectively.After you have changed the settings, click on [OK] to implement your choices or click on
[Cancel]
to cancel your choices. Click on [Defaults] to return to the
default settings. Click on [Help] for help about the Preferences
dialog box.
The items in the Results area of the Preferences dialog box control the format of the results that you produce. Results Tab in the Preferences Dialog Box shows the default results settings.
Results Tab in the Preferences Dialog Box
The following is an explanation of the settings:
Listing |
specifies that your output is in text format. You
can select both
Listing
and
HTML format. |
HTML |
specifies that your output is in HTML format. You
can select both
Listing
and
HTML format. |
Style |
specifies the HTML style to use when generating output in HTML format. |
Folder |
specifies the folder in which to store your HTML
results. Click [Select] to choose a folder. Select
Use WORK Folder to designate your SAS WORK folder
as the repository for your HTML results. |
Auto navigate during result
generation |
specifies that HTML output is automatically displayed
when it is generated. This value cannot be selected if you have selected
Password protect HTML file browsing . |
Password protect HTML file
browsing |
requires a password when sending HTML files to a
browser. This value cannot be selected if you have selected
Auto navigate during result generation . |
The items in the ToolBox area of the Preferences dialog box affect both the toolbox and the command window. To modify these settings, select the ToolBox tab in the Preferences dialog box. ToolBox Tab in the Preferences Dialog Box shows the default ToolBox settings.
ToolBox Tab in the Preferences Dialog Box
The following is an explanation of the settings:
Display tools window
SAS.defaultToolBox
resource.Display command window
SAS.defaultCommandWindow
resource.Combine windows
SAS.useCommandToolBoxCombo
resource.Use arrow decorations
SAS.useShowHideDecorations
resource.Always on top
SAS.toolBoxAlwaysOnTop
resource.Toolbox
Persistent
SAS.isToolBoxPersistent
resource.Tools
Use large tools
SAS.useLargeToolBox
resource.Use tip text
SAS.useToolBoxTips
resource.delay
SAS.toolBoxTipDelay
resource. You can enter a value directly into the field or use the arrows
to the right of the field to change the value.After you have changed the settings, click on [OK] to implement your choices or click on [Cancel] to cancel your choices. Click on [Defaults] to return to the default settings. Click on [Help] for help about the Preferences dialog box.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.