Overview of X Resources


Introduction to X Resources

X clients usually have characteristics that can be customized; these properties are known as X resources . Since 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 .

SAS 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.

If you need more information on X Window System clients and X resources, refer to the documentation provided by your vendor.

Syntax for 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 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.startSessionManager: True   SAS.maxWindowHeight: 100   SAS.awsResizePolicy: grow 

Refer to your X Window System documentation for more information on resource specifications.




SAS 9.1 Companion for UNIX Environments
SAS 9.1 Companion For Unix Enivronments
ISBN: 1590472101
EAN: 2147483647
Year: 2004
Pages: 185
Authors: SAS Institute

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net