When customizing TCP/IP, you can use this procedure to change
key functions and sequences.
- You must have working knowledge of the vi editor.
- The vi editor must be on your system.
The following steps describe how to create and edit the $HOME/.3270keys file
to customize key functions or sequences:
- Copy the /etc/3270.keys file to the $HOME directory
and rename it .3270keys using the following
command:
cp /etc/3270.keys $HOME/.3270keys
- Change the bind statements in the $HOME/.3270keys file
to change the assignment of a key set using the following steps:
- Start the vi editor on a new file and enter insert mode.
- Press the Ctrl-V key sequence and then the key that you want
to map.
This displays a value for the pressed key.
- Place the displayed value on the appropriate line in the
Sequence
column
of the $HOME/.3270keys file.
For example, after you have invoked the vi editor and entered
insert mode, press Ctrl-V and then Alt-Insert. This displays
[[141q
.
The first
[
is replaced with
\e
in the
Sequence
column
so that the configured line looks like the following:
3270 Function Sequence Key
bind pa1 "\e[141q" #a_insert