HP Visualize J5000 hp workstations - hp-ux 10.20 graphics administration guide - Page 137

Resources, ResourceLine = Comment | IncludeFile | ResourceSpec | empty_line

Page 137 highlights

-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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

-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.
Graphics Administration Guide for HP-UX 10.20
Page 137