-selectionTimeout

This option specifies the timeout in milliseconds within which two communicating applications must respond to one another for a selection request.

-synchronous

This option indicates that requests to the X server should be sent synchronously, instead of asynchronously. Since Xlib normally buffers requests to the server, errors do not necessarily get reported immediately after they occur. This option turns off the buffering so that the application can be debugged. It should never be used with a working program. -title string

This option specifies the title to be used for this window. This information is sometimes used by a window manager to provide some sort of header identifying the window.

-xnllanguagelanguage[_territory][.codeset]

This option specifies the language, territory, and codeset for use in resolving resource and other filenames.

-xrm resourcestring

This option specifies a resource name and value to override any defaults. It is also very useful for setting resources that don't have explicit command line arguments.

Resources

To make the tailoring of applications to personal preferences easier, X provides a mechanism for storing default values for program resources (e.g., background color, window title, etc.). Resources are specified as strings that are read in from various places when an application is run. Program components are named in a hierarchical fashion, with each node in the hierarchy identified by a class and an instance name. At the top level is the class and instance name of the application itself. By convention, the class name of the application is the same as the program name, but with the first letter capitalized, although some programs that begin with the letter "x" also capitalize the second letter for historical reasons.

The precise syntax for resources is:

ResourceLine = Comment IncludeFile ResourceSpec empty_line Comment = "!" {any_character_except_null_or_newline}

IncludeFile = "#" WhiteSpace "include" WhiteSpace FileName WhiteSpace FileName = valid filename for operating system

ResourceSpec = WhiteSpace ResourceName WhiteSpace ":" WhiteSpace Value ResourceName = [Binding] {Component Binding} ComponentName Binding = "." "*"

WhiteSpace = {space horizontal tab} Component = "?" ComponentName ComponentName = NameChar {NameChar} NameChar = "a"-"z" "A"-"Z" "0"-"9" "_" "-"

Value = {any character except null or unescaped newline}

Elements separated by vertical bar ("") are alternatives. Braces ("{"..."}") indicate zero or more repetitions of the enclosed elements. Brackets ("["..."]") indicate that the enclosed element is optional. Quotes ("...") are used around literal characters.

Page 137

Graphics Administration Guide for HP-UX 10.20