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

XLoad*Background

Page 140 highlights

By combining class and instance specifications, application preferences can be set quickly and easily. Users of color displays will frequently want to set Background and Foreground classes to particular defaults. Specific color instances such as text cursors can then be overridden without having to define all of the related resources. For example, dticon*Dashed: XTerm*cursorColor: XTerm*multiScroll: XTerm*jumpScroll: XTerm*reverseWrap: XTerm*curses: XTerm*Font: XTerm*scrollBar: XTerm*scrollbar*thickness: XTerm*multiClickTime: XTerm*charClass: XTerm*cutNewline: XTerm*cutToBeginningOfLine: XTerm*titeInhibit: XTerm*ttyModes: gold on on on on 5 500 33:48,37:48,45-47:48,64:48 off off on XLoad*Background: XLoad*Foreground: XLoad*highlight: XLoad*borderWidth: hpterm*Geometry: hpterm*Background: hpterm*Foreground: hpterm*Cursor: hpterm*BorderColor: hpterm*Font: gold red black 0 80x65-0-0 rgb:5b/76/86 white white off on 6x10 intr ^c erase ^? kill ^u white 6x10 If these resources were stored in a file called .Xdefaults in your home directory, they could be added to any existing resources in the server with the following command: $ xrdb -merge $HOME/.Xdefaults This is frequently how user-friendly startup scripts merge user-specific defaults into any site-wide defaults. All sites are encouraged to set up convenient ways of automatically loading resources. See the Xlib manual section "Resource Manager Functions" for more information. Page 140 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

By combining class and instance specifications, application preferences can be set quickly and easily.
Users of color displays will frequently want to set Background and Foreground classes to particular
defaults. Specific color instances such as text cursors can then be overridden without having to define all
of the related resources. For example,
dticon*Dashed:
off
XTerm*cursorColor:
gold
XTerm*multiScroll:
on
XTerm*jumpScroll:
on
XTerm*reverseWrap:
on
XTerm*curses:
on
XTerm*Font:
6x10
XTerm*scrollBar:
on
XTerm*scrollbar*thickness:
5
XTerm*multiClickTime:
500
XTerm*charClass:
33:48,37:48,45-47:48,64:48
XTerm*cutNewline:
off
XTerm*cutToBeginningOfLine:
off
XTerm*titeInhibit:
on
XTerm*ttyModes:
intr ^c erase ^? kill
^u
XLoad*Background:
gold
XLoad*Foreground:
red
XLoad*highlight:
black
XLoad*borderWidth:
0
hpterm*Geometry:
80x65-0-0
hpterm*Background:
rgb:5b/76/86
hpterm*Foreground:
white
hpterm*Cursor:
white
hpterm*BorderColor:
white
hpterm*Font:
6x10
If these resources were stored in a file called .Xdefaults in your home directory, they could be added to
any existing resources in the server with the following command:
$ xrdb -merge $HOME/.Xdefaults
This is frequently how user-friendly startup scripts merge user-specific defaults into any site-wide
defaults. All sites are encouraged to set up convenient ways of automatically loading resources. See the
Xlib manual section "Resource Manager Functions" for more information.
Graphics Administration Guide for HP-UX 10.20
Page 140