beautypg.com

HP NonStop G-Series User Manual

Page 61

background image

Setting Up the UNIX Workstation

x6530 Run Command and Customizing Options

2–32

082628 Tandem Computers Incorporated

4.

Place customizing information for mwm in a file named .mwmrc in each user’s
home directory.

User Accounts and Path

Commands

Use the method for your UNIX system to establish a user account for each x6530 user.
After creating the user accounts, each user’s UNIX .login file should have a path
command that includes the directory where the X Window System files are stored,
usually /usr/bin/X11. For example:

path = (/bin /user/bin/ /etc /usr/bin/X11)

DISPLAY Variable

The UNIX .login file is a convenient place to define the user’s workstation as the place
to display the x6530 window. This specification is done with a UNIX environment
DISPLAY variable. For example:

setenv DISPLAY steve:0

Note

Another way to define the display workstation is with the x6530 -display option.

.Xdefaults File

Each user can customize the way x6530 works with an .Xdefaults file. To start, make a
copy of the sample .Xdefaults file that was included with the X Window System in
each user’s home directory. You or the user can edit this file to add or change the
resource and class variables for x6530.

Setting Up mwm’s Menu

To run x6530 from mwm’s menu, the menu must be customized to include an item for
x6530 for the user to select. The menu item is defined in the file named .mwmrc in the
user’s home directory.

A sample .mwmrc file is provided with the X Window System. Make a copy in each
user’s home directory that either you or the user can modify to include an x6530 run
command as an mwm menu item. See the X Window System User’s Guide for more
information about customizing and using mwm.

For example, the following portion of a .mwmrc file defines four menu items,
including one named x6530. When x6530 is selected from mwm’s menu, the x6530
command it is associated with is executed:

menu RootMenu

{

"x6530" f.exec "x6530 T44 -keymap /etc/.xkmPCXView &"

"UNIX Window" f.exec "xterm &"

"Clock" f.exec "xclock &"

"Editor" f.exec "xedit &"

"Quit MWM" f.quit_mwm

}

This manual is related to the following products: