|
|
|
|
The 3270 emulation program maps the keys on your terminal's keyboard to functions used in 3270 emulation. You can review those definitions, and change them if you want, by choosing Key Definitions on the Customize menu.
When you change your keyboard definitions, the change affects all your 3270 sessions. You cannot customize keyboard mapping by session. If the configuration file does not allow you to modify style files, you can view the key mappings as described in this chapter, but you cannot change them.
To review current keyboard mapping, choose Key definitions from the Customize menu, or, from the main screen, press KEYS (default keystroke Ctrl + K). The dialog box shown in View and Define Key Definitions Dialog Box, is displayed.
The dialog box in the 3179G emulation program is similar to the one shown here, except that it has an additional entry, 3179G System, in the Key Group list box.
The following list describes the contents of the View and Define Key Definitions dialog box:
The 3270 emulation program categorizes 3270 functions into different groups. These groups are listed in the Key Group box. To see which functions are included in each group, highlight an entry in the Key Group list. The functions in that group are listed in the Function column on the left side of the list box at right.
3270 functions included in the Key Group are listed in this column. If more than one keystroke can be used for the same 3270 function, the function is listed once for each keystroke.
For each 3270 function in the Function column, the key or keystroke combination listed in this column is the keystroke on your terminal that performs that function. If more than one keystroke can be used for the same 3270 function, each keystroke is listed. If no keystrokes are currently assigned to the function, Undefined is listed.
Choose <OK> to confirm any changes you make to key definitions. Choose <Cancel> to abandon any changes you make to key definitions. In addition, the following push buttons are available on the View and Define Key Definitions dialog box:
Choose this to change the key or key combination that represents a particular 3270 function. See instructions in Redefining a Keystroke Used for a 3270 Function.
Choose this to remove a key or key combination that represents a 3270 function. See instructions in Undefining Keystrokes.
Choose this to add a new key or key combination to represent a particular
3270 function (in addition to any keys already assigned). See instructions
in Adding a Keystroke to a 3270 Function. This push button is not selectable if
Characters
is selected in the Key Group list box. You can only redefine
mappings for character keys, not add them, because the 3270 emulation program
does not allow you to map more than one keystroke to a character key.
Choose this to revert to the 3270 emulation program's original mapping of keys to functions. See instructions in Choosing Default Keyboard Mapping.
Each 3270 function can be represented by one or more keys or key combinations on your terminal. You can change these either by redefining (replacing an existing keystroke with a new one) or by adding a new keystroke (leaving any existing ones unchanged). For information about adding a new keystroke, see Adding a Keystroke to a 3270 Function.
To redefine a keystroke used for a 3270 function (replacing an existing keystroke), start from the View and Define Key Definitions dialog box, and use the following procedure:
In the Key Group list box, highlight the key group that includes the function to be remapped.
In the Function column, select the function to be redefined. If this function has multiple keystrokes assigned to it, select the entry corresponding to the keystroke that you want to replace.
Choose <Redefine>.
The dialog box shown in Redefining Key
Press the key combination on your terminal's keyboard that you want to correspond to the 3270 function. You can use a single key, a single character key with Shift, or a single alphabetic key with Ctrl. You can also use one or two Esc keystrokes, followed by a single key by itself or with Shift or Ctrl (as above).
If your terminal uses xon/xoff flow control, that flow control protocol uses the key combinations Ctrl + Q and Ctrl + S, and you cannot use them for key mappings.
Alternatively, choose the key or combination currently mapped to the function to retain that mapping.
Depending on existing key combinations, setting a new combination can have one of four possible outcomes:
If the new key combination is not already used and the function is currently undefined, the new definition is displayed in the Function/Keystroke list box.
If the new key combination is not already used but the function is currently defined as a different key combination, the dialog box shown in New Key Combination Not Used but Defined Dialog Box, is displayed.
Make one of the following choices:
To assign the new key combination to the function, choose <Redefine>.
To end the redefinition without making the change, choose <Cancel>.
The View and Define Key Definitions dialog is displayed again.
If the new key combination is already in use and the function is currently undefined, the dialog box shown in New Key Combination Currently Undefined Dialog Box, is displayed.
Make one of the following choices:
To reassign the new key combination to the function and clear its previous use, choose <Redefine>.
To end the redefinition without making the change, choose <Cancel>.
The View and Define Key Definitions dialog is displayed again.
If the new key combination is already in use and the function is currently defined as a different key combination, the dialog box shown in New Key Combination in Use but Function Defined Differently Dialog Box, is displayed.
Make one of the following choices:
To reassign the new key combination to the function and clear its previous use, choose <Redefine>.
To swap definitions between the two 3270 functions, choose <Swap>.
To end the redefinition without making the change, choose <Cancel>.
The View and Define Key Definitions dialog is displayed again.
You cannot add a keystroke to a character key; you can only redefine
it, because the 3270 emulation program does not allow two different keystrokes
to be mapped to the same character key. If you select Characters
in the Key Group list box, the < Add >
push button is not selectable. Also, you cannot have more than six keystrokes
mapped to the same 3270 key; the < Add >
push button is not selectable if you select a key that already has six keystrokes
mapped to it.
To add a new keystroke to a 3270 function (leaving any existing keystrokes unchanged), start from the View and Define Key Definitions dialog box, and use the following procedure:
In the Key Group list box, highlight the key group that includes the function.
In the Function column, select the function. If multiple keystrokes are assigned to this function, you can select any of the entries for the function.
Choose <Add>.
The dialog box shown in Adding Definition for
Press the key combination on your terminal's keyboard that you want to correspond to the 3270 function. You can use a single key, a single character key with Shift, or a single alphabetic key with Ctrl. You can also use one or two Esc keystrokes, followed by a single key by itself or with Shift or Ctrl (as above).
If your terminal uses xon/xoff flow control, that flow control protocol uses the key combinations Ctrl + Q and Ctrl + S, and you cannot use them for key mappings.
If the keystroke you choose is already assigned to this 3270 function, a pop-up message informs you of this. Choose <OK> to acknowledge the message; no change is made to your key mappings.
If the keystroke you choose is already assigned to another 3270 function, you are given the choice of adding the keystroke (removing it from the other 3270 function) or abandoning the addition. The dialog for this is similar to the equivalent dialog for redefining a key combination. (See New Key Combination in Use but Function Defined Differently Dialog Box.)
Otherwise, the keystroke is added to the function and you are returned to the View and Define Key Definitions dialog box.
You can remove a keystroke from a 3270 function, so that it can no longer be used to represent that function. If you remove the only keystroke mapped to a 3270 function, you will no longer be able to use the function. To undefine a keystroke, use the following procedure:
In the View and Define Key Definitions dialog box, select the keystroke you want to undefine from the Function/Keystroke list box. If multiple keystrokes are associated with the same function, be sure to select the correct keystroke.
Choose <Undefine>. A Warning message box is displayed. If you do not wish to undefine the keystroke then choose <Cancel>.
If you removed the only definition of a function, Undefined appears in the Keystroke column of the View and Define Key Definitions dialog box.
When you finish redefining keys, choose <OK> to confirm your changes or <Cancel> to abandon them. You return to the main screen.
To change the keyboard mapping to the 3270 emulation program's original settings, choose <Defaults> from the View and Define Key Definitions dialog box. A Warning message box is displayed asking you to confirm this choice. If you do not wish to choose the default keyboard mapping then choose <Cancel>
|
|
|
|
|