Keyboard remapping lets you associate a sequence of keystrokes with a particular action, so that typing the sequence of keystrokes causes the action to occur. The sequence of keystrokes can be either a single key or a single key combined with Shift, Ctrl, or Alt. The action can be to display a character, to execute a host function, to execute a custom function, or to execute a menu command.
To access the Keyboard window, either click the Remap button on the toolbar, click Edit > Preferences > Keyboard, or click Keyboard in the session properties.
Key assignment
Assigning keys to functions
Assigning keys to custom functions
Assigning keys to applets
Assigning keys to macros
Unassigning keys
Searching for key assignments
Restoring key assignments
Restrictions for key remapping
The current keyboard definition in your session is selected by default. In order to open a keyboard or toolbar definition file, it must have been previously saved to a drive (shared or local) to which you have access. For more information, refer to Opening Keyboard and Toolbar configuration components.
When you select a category, the specific functions within that category appear in the table below, along with the keys assigned to those functions. Select a function in this table to change its key assignment. Refer to Default Characters and Functions for more information.
Note that if the administrator has disabled Edit Keyboard Mappings, the only available button on this screen will be Search for Key. |
To assign or reassign a key to a function:
You can assign a key combination to a function using the Alt, Ctrl, and Shift keys (for example, Alt+F1 or Ctrl+Alt+Q). If your browser is a version of Netscape earlier than 6.x, you might experience problems attempting to assign a key combination to a function using the Alt key. If this happens, you should not use Alt in key combinations. |
If the key has already been assigned to a function, you will be shown the function that that key is assigned to and told to unassign the key first. |
If you want to assign a key or key combination to a custom function that is not currently listed in Keyboard Remap under the Custom Functions category, you can define these functions using the Custom Function Editor. When you do this, the Custom Functions category will appear with your newly defined functions, which can then be assigned to any key. Complete the assignment by following the steps for Assigning keys to functions, choosing Custom Functions as the category.
You can optionally define a custom function in the HTML or Java script file used to start the sessions. See adding additional HTML parameters for more information.
To assign or reassign a key to an applet, you must first run the applet:
The applet is now available for a key assignment.
To undo an assignment of a key to a function, select the function, and then click Unassign Key.
To find out if a key has already been assigned to a function:
If there is that key has already been assigned a function, that function will appear highlighted along with its assigned key. If no function is assigned to that key, a "Not Assigned" message will appear.
To restore a previously reassigned key to its default assignment:
To restore all keys to their default assignments, click Reset All.
The Ctrl key is mapped to the Enter function by default for the 3270 and 5250 emulators. Because Java does not distinguish between left and right Ctrl keys, this change means that both Ctrl keys now act as Enter. You can still remap Ctrl or use it in combination with another key, and you can still remap the Enter function to any other key. |
Restrictions for key remapping include the following:
When using Java 2 with Host On-Demand, the Ctrl-Tab and the Ctrl-Shift-Tab key combinations cannot be remapped. With Java 2, these key combinations are consumed by the Java Focus Manager and are not returned to Host On-Demand for processing.
In Host On-Demand, certain key combinations are treated in a similar fashion and cannot be assigned to different keyboard functions.
JVM key events, such as key pressed and key released, are dependent upon the operating system and keyboard layout of the machine where they are processed. The JVM makes no distinction between the following:
If the JVM receives a key function for Enter from either the main Enter key or the keypad Enter key, the key stroke will be processed as an Enter key event. To the JVM, the two key strokes are not distinct. Similar processing will occur for the Control and Alt key functions defined in the same manner.
Note that on some operating systems, these sets of keys are defined differently. On AIX, the right Control key is defined with the Execute key function, not the Control key function. In this case, the JVM will treat the key strokes from the right and left Control keys differently. |
Because of these JVM limitations, Host On-Demand is also unable to distinguish between two keys defined in the manner stated previously. A Host On-Demand user or administrator cannot assign different key remapping functions to
if the JVM processes these keys as the same key event. For example, if Right Ctrl+P is processed the same as Left Ctrl+P by the JVM, then these key combinations cannot be assigned to different key remapping functions in Host On-Demand.