Consultor Eletrônico



Kbase 18557: vt220 PAGE-UP & PAGE-DOWN not working in PROTERMCAP
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/4/1999
vt220 PAGE-UP & PAGE-DOWN not working in PROTERMCAP

Progress Version 7 may not allow you to use your PAGE-UP and
PAGE-DOWN keys when your terminal type is being set to vt220. The
purpose of this kbase is to assist you in remapping these keys so
that your PAGE-UP and PAGE-DOWN keys are functional. The escape
key sequences given below are based on a real vt220 terminal and
netterm terminal emulation software.

Note: Progress does not support the modification of the protermcap
file. Modification of the protermcap file is sometimes
required based on your specific terminal or the terminal
emulation package you are using.

Procedure:

1. Determine what your TERM environment variable is being set to.
This can be done by issuing the following command:
echo $TERM

2. Determine what the escape sequence is for your PAGE-UP and
PAGE-DOWN key is. This can be done by accessing vi and then
issuing i (which means enter insert mode). Then press your
Control and V key simultaneously. You will see a "^" symbol
appear in the editor. Now press the key you are interested in
determining the escape sequence for.

Example:
On DG/UX the escape sequences for these keys were:

PAGE-UP = ^[v
PAGE-DOWN = ^V

3. Now edit your$DLC/protermcap file to reflect the following
under the entry for vt220.

:PAGE-UP(PREV-SCRN)=\Ev: :PAGE-DOWN(NEXT-SCRN)=^V:
Your PAGE-UP and PAGE-DOWN keys should now function. Please note
the DG/UX example above is just that. An example. You will need to
use the process above to determine your escape sequences for a
specific key you want to remap.

KnowledgeBase Number: 18557
Creation Date: 02/04/99 (CAO)
Modified Date: 02/04/99
This document applies to: Version 7 of Progress

Additional Kbase entries you may find helpful are:

13976 - Protermcap - What is Progress receiving when pressing Key
11779 - Defining Special Keys in PROTERMCAP