HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 121

X, Motif, and CDE Configuration Files

Page 121 highlights

The Desktop Environment According to the xfs man page, there is no default configuration file. Instead, you must specify such a file with the -config file option. Likewise, there is no default port; it must be specified either on the command line or in the configuration files. If the font server is to be run on the same machine as the X server and if the font server is started before the X server, the font server does not need to be added to the font path of the X server. However, if the font server is started after the X server is already running, or if a font server is running on a different machine than the X server, then the font server must be added to the font path of the X server as follows: # xset +fp tcp/:7000 This adds the font server port to the front of the font path list searched by the X server. If you are adding a font server that is not running on the same machine as the X server, the xset command is extended to also specify the font server host: # xset +fp tcp/host_name:7000 Once the font server is running and has been added to the font path of an X server, the server must rehash its fonts. This is also done with the xset client via # xset fp rehash. hpterms The hpterm client emulates a Term0 terminal. The syntax of the hpterm client is as follows: # hpterm [-options] [&] There are too many options to cover here. Refer to the hpterm man page for all the options available. When running block mode applications, it may be necessary for hpterm to identify itself to application programs as some terminal other than X-hpterm. Most applications understand the terminal id 2392A. Newer applications also understand the terminal id 700/92; while, older applications may only understand the terminal id 2622A. To set the terminal identification string, use the -ti command line option, the termId resource, or the TermId class. X, Motif, and CDE Configuration Files X Configuration Files The X window system has the following configuration files: sys.x11start sys.Xdefaults system.hpwmrc X*screens X*devices X*pointerkey By convention, these files are all located in /usr/lib/X11. In addition, each X client application has its own app-defaults configuration file located, also by convention, in the /usr/lib/X11/app-defaults directory. We have listed six files above, but unless you need to configure multi-head displays (X*screens), multipleinput devices (X*devices), or keyboard-only pointer navigation (X*pointerkey) you only need to work with sys.x11start, sys.Xdefaults, and system.hpwmrc. The sys.x11start file is a script that was used to start X and X clients prior to CDE. The script was modified so the required set of applications and X clients started automatically at login. The sys.Xdefaults file was read as X started to obtain values for various appearance and behavior resources. Changes to sys.Xdefaults ensured the X environment and clients had the proper appearance and behavior. 116

  • 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

The Desktop Environment
116
According to the
xfs man
page, there is no default configuration file.
Instead, you must specify such a file
with the
-config file
option.
Likewise, there is no default port; it must be specified either on the command
line or in the configuration files.
If the font server is to be run on the same machine as the X server and if the font server is started before the
X server, the font server does not need to be added to the font path of the X server.
However, if the font
server is started after the X server is already running, or if a font server is running on a different machine
than the X server, then the font server must be added to the font path of the X server as follows:
# xset +fp tcp/:7000
This adds the font server port to the front of the font path list searched by the X server.
If you are adding a
font server that is not running on the same machine as the X server, the
xset
command is extended to also
specify the font server host:
# xset +fp tcp/
host_name
:7000
Once the font server is running and has been added to the font path of an X server, the server must rehash
its fonts.
This is also done with the
xset
client via
# xset fp rehash
.
hpterms
The
hpterm
client emulates a Term0 terminal.
The syntax of the
hpterm
client is as follows:
# hpterm [-options] [&]
There are too many options to cover here.
Refer to the
hpterm man
page for all the options available.
When running block mode applications, it may be necessary for
hpterm
to identify itself to application
programs as some terminal other than
X-hpterm
. Most applications understand the terminal id
2392A
.
Newer applications also understand the terminal id
700/92
; while, older applications may only understand
the terminal id
2622A
.
To set the terminal identification string, use the
-ti
command line option, the
termId
resource, or the
TermId
class.
X, Motif, and CDE Configuration Files
X Configuration Files
The X window system has the following configuration files:
sys.x11start
sys.Xdefaults
system.hpwmrc
X*screens
X*devices
X*pointerkey
By convention, these files are all located in
/usr/lib/X11
. In addition, each X client application has its own
app-defaults configuration file located, also by convention, in the
/usr/lib/X11/app-defaults
directory. We
have listed six files above, but unless you need to configure multi-head displays (
X*screens
), multiple-
input devices (
X*devices
), or keyboard-only pointer navigation (
X*pointerkey
) you only need to work
with
sys.x11start, sys.Xdefaults,
and
system.hpwmrc
.
The
sys.x11start
file is a script that was used to start X and X clients prior to CDE. The script was
modified so the required set of applications and X clients started automatically at login. The
sys.Xdefaults
file was read as X started to obtain values for various appearance and behavior resources. Changes to
sys.Xdefaults
ensured the X environment and clients had the proper appearance and behavior.