[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 6

x_chg_trm_140 Command

Purpose

Changes the characteristics of an Xstation140.

Syntax

x_chg_trm_140 -n Name -t TypeName -ha HardwareAddress -s Server -w Time -a FileAccess -x Xserver -hp PanShape -xdm Mode -h Host -l Language -k Keyboard -kf File -fn Font -g Location -r KeyRepeatRate

Description

The x_chg_trm_140 command changes the characteristics of the Xstation140 for the current host, using the Name variable of the -n flag. The x_chg_trm_140 command then stores the changed configuration in the /etc/x_st_mgr/xs140/cfg/IPaddress file, the /etc/x_st_mgr/x_st_mgrd.tmty file, and the /etc/x_st_mgr/x_st_mgrd.cf file.

Flags

The following flags are required when using the x_chg_trm_140 command to change the Xstation 140:

-ha Address Specifies the local-area network (LAN) hardware address of the Xstation. This address appears on the LAN Statistics screen when you turn on the Xstation. Each Xstation has a unique 6-byte hexadecimal hardware address, in XXXXXXXXXXXX format, that cannot be changed by the user.
-n Name Specifies the name of the Xstation. The Name variable can be up to 8 characters long and include the uppercase or lowercase letters a through z, the numbers 0 through 9, the - (dash), and the . (period). Name can be a user name, such as taylor, or a group name with a number appended, such as graphs-2, and should identify an Xstation by its location in the work place or by the primary user's name. The Name parameter is stored in the /etc/hosts file.
Note: The Name variable should not start with a lowercase or uppercase o or x, followed by an octal or hexadecimal numeric. These characters are interpreted as octal or hexadecimal numbers, instead of as a terminal name. For example, in x3 and xE4, the 3 and the E4 are hexadecimal numerics.
-t TypeName Specifies the name you defined for this network Xstation-model subnet combination with the Define an Xstation Network Type option in SMIT or with the x_def_net command. Press the F4 key in SMIT to select the Network Type. An example is x_st_mgr.ether140 for Ethernet and an Xstation 140.

The following flags are optional when using the x_chg_trm_140 command to change the Xstation 140:

-a FileAccess Specifies the process for accessing the font files. In SMIT, press the F4 key to select an option.

The default option is x_st_mgrd.

-fn Font Sets the font used in the login window. Press the F4 key in SMIT to select an option.
-g Location Sets the position of the login window on the display. Press the F4 key in SMIT to select an option. Valid options are Upper left, Upper right, Lower left, and Lower right.
-h Host Specifies the name of the X Display Manager Control Protocol (XDMCP) host used for direct or indirect communication with the Xstation. Valid options are none or the name of an XDMCP host. If XDMCP is not used or if broadcast mode is used, the value of Host is none. The name of an XDMCP host must be specified if Mode is direct or indirect. The default value is none.
-hp PanShape Specifies how the hardware pan feature is to be used. Valid options are none, square, horizontal, and vertical. The default value is none.

With the hardware pan feature enabled, the physical screen shows a portion of a larger base window whose size is dependent on the amount of video random access memory (VRAM) installed on the Xstation. When the cursor is moved past the edge of the display, the screen will automatically scroll in the direction of the cursor provided it has not already reached the edge of the base window.

Note: The window size for panning is always a power of two. With 2MB of VRAM, expanding the window dimensions to a power of two may not leave enough memory for the shape selected.
-k Keyboard Sets the map for the keyboard layout. Press the F4 key in SMIT to select an option.
-kf File Sets the name of the keyboard file. The default is the keyboard option. Some countries have a second keyboard file usually named keyboard.alt.
-l Language Sets the LANG environment variable, which specifies system messages. Press the F4 key in SMIT to select a value.
-r KeyRepeatRate Sets the rate, in characters per second, of automatically transmitted duplicate characters. A prolonged stay on any character key will activate the typematic operation and continue to transmit duplicate characters until the key is released. The arrow keys will move at twice the speed of character keys, up to 30 characters per second. The default rate is 28.
-s Server Specifies whether the host system is a primary boot server. A primary boot server responds immediately to a boot-protocol broadcast request from an Xstation; for other (secondary) boot servers, a delay time is imposed (see the -w Time flag below). Two values are valid: y if the server is a primary server, and n if the server is not a primary server. The default value is y.
-w Time Specifies the number of seconds a secondary boot server must wait before answering a boot-protocol broadcast request. (The valid number for a primary server is 0, because there is no delay time.) In SMIT, press the F4 key to see the recommended range of values. Generally, a value less than the minimum value does not distinguish between a primary and secondary server and a secondary server may be selected even when the primary server is available. A value greater than the maximum value may lead to a timeout.
-x Xserver Specifies the way to access the Xserver file list. In SMIT, press the F4 key to select an option.

The default value is Base FLASH.

-xdm Mode Specifies the mode used by XDMCP uses the xdm program to facilitate the connection of an Xstation to a remote host. XDMCP allows the user to turn an Xstation off and on again and maintain an established connection to the remote host. Valid options are:
broadcast
Sends a message to the network and waits for an xdmcp host to respond.
direct
Directs a request to an xdmcp manager known to the Xstation.
indirect
Sends an indirect request to an xdmcp manager that maintains a list of xdmcp hosts. The manager assigns an xdmcp host to respond to the Xstation.
off
No X Display Manager Control Protocol (XDMCP). The default option is off.

Security

Access Control: Only the root user should have execute (x) access to this command.

Example

To change the hardware access of Xstation taylor for the current host to 10005ac9999, without changing other characteristics defined with the x_add_trm_140 command, enter:

x_chg_trm_140 -n=taylor -ha=10005ac9999 

Only changed variables must be entered.

Files

/usr/lpp/x_st_mgr/bin/x_chg_trm_140 Contains the x_chg_trm_140 command.
/etc/x_st_mgr/xs140/cfg/IPaddress Contains the Xstation configuration file.
/etc/x_st_mgr/x_st_mgrd.tmty Contains the terminal type file.
/etc/x_st_mgr/x_st_mgrd.cf Contains the Xstation Manager configuration file.
/etc/bootptab Contains the Boot Protocol table.

Related Information

The aixterm command, bootpd daemon, login command, pclient command, x_add_nfs_fpe command, x_add_trm_120 command, x_add_trm_130 command, x_add_trm_140 command, x_add_trm_150 command, x_add_trm_160 command, x_add_xst_fpe command, x_chg_net command, x_chg_trm_120 command, x_chg_trm_130 command, x_chg_trm_150 command, x_chg_trm_160 command, x_def_net command, x_ls_net command, x_ls_net_fp command, x_ls_trm command, x_rm_fpe command, x_rm_net command, x_rm_trm command.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]