Changing the assignment of a key set

When customizing TCP/IP, you can use this procedure to change key functions and sequences.

  1. You must have working knowledge of the vi editor.
  2. 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:

  1. Copy the /etc/3270.keys file to the $HOME directory and rename it .3270keys using the following command:
    cp /etc/3270.keys $HOME/.3270keys
  2. Change the bind statements in the $HOME/.3270keys file to change the assignment of a key set using the following steps:
    1. Start the vi editor on a new file and enter insert mode.
    2. Press the Ctrl-V key sequence and then the key that you want to map.
      This displays a value for the pressed key.
    3. 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