HP Visualize J5000 HP Workstations - Graphics Administration Guide For Red Hat - Page 55

Resources, ResourceName = [Binding] {Component Binding} ComponentName

Page 55 highlights

-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} Graphics Administration Guide For Red Hat Linux 6.2

  • 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

-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.
-xnllanguage
language[_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
}
Graphics Administration Guide For Red Hat Linux 6.2