Previous Page | Next Page

Customizing the SAS Windowing Environment

Overview of X Resources


Introduction to X Resources

X clients usually have characteristics that can be customized by the system administrator or by the user; these properties are known as X resources. Because SAS functions as an X Windows client, many aspects of the appearance and behavior of the SAS windowing environment are controlled by X resources. For example, X resources can be used to define a font, a background color, or a window size. The resources for an application, such as SAS, are placed in a resource database.


Specifying X Resources

A resource specification has the following format:

resource-string: value
The resource-string usually contains two identifiers and a separator. The first identifier is the client or application name (SAS ), the separator is a period (.) or asterisk (*) character, and the second identifier is the name of the specific resource. The value given might 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, see your X Window System documentation.

Previous Page | Next Page | Top of Page