Using Host Connection Program
2-7
Xwindow 3270 Emulator (xhcon)
The xhcon command is the Motif version of the e789 command. It has all of the
functionalities of the e789 command. However, some new features are supported:
• Mouse function
– cursor movement and control
– light-pen support
• Access 3270 function keys via push buttons
• Dynamic window size for multiple sessions
The following software is required to use the xhcon command:
• X Window System Version 11 Release 5
• OSF/Motif Version 1.2
Customizing the xhcon Command
The xhcon command uses the hconutil utility to customize the color and keyboard
configuration so that the e789 and xhcon commands can run interchangeably. The xhcon
command also requires the Motif default resources from the
/usr/lib/X11/app–defaults/XHcon file. These default resources are:
• Bindings for the virtual key events defaultVirtualBindings:
osfMenuBar: Ctrl<Key>F10 \
osfRight: <Key>Right \
osfDown: <Key>Down \
osfUp: <Key>Up \
osfCancel: <Key>Escape \
osfLeft: <Key>Left
• Background color if it is not already defined by the hconutil utility:
*background: SteelBlue
• Foreground color if it is not already defined by the hconutil utility:
*foreground: White
• Color of the scroll bar slider trough:
*troughColor: White
• Color of the highlighted rectangle:
*highlightColor: Red
• Font to draw the text:
*fontSet : –ibm––medium–r–medium––20–14–100–100–c–90–*
• Color to draw the field outline box:
*fieldOutlineColor: White
• Cursor style, block/full cursor, or underscore:
*fullCursor: True
Note: Do not change the defaultVirtualBindings resource because the
osfMenuBar binding will disable the 3270 F10 function key. Use the Ctrl-F10 key
combination to activate the menu bar.
Kommentare zu diesen Handbüchern