Kbase P101335: Tips to modify PROTERMCAP
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
Tips to modify PROTERMCAP
GOAL:
How to have the functions keys working correctly
FIX:
All the PROGRESS function keys have <CTL> sequences that can be substituted if the function keys are not working. A list of substitute keys is to be found within the Pocket Progress or the OpenEdge Quick Reference.
For the function keys to work correctly, modifications within the $DLC/protermcap file might be necessary.
It is needed to find out what escape sequence a function key is sending. To do so, it's possible to use the vi editor as per the following steps:
1. Open the vi editor (command "vi")
2. Be in input mode (type "i")
3. Press <Ctrl><v>
4. Hit the function key
The escape sequence that this key sends is echoed on the screen.
Repeat steps 3 and 4 for each function key, after having enter a space character for readability.
The entry for this key is to be found within PROGRES protermcap file in the DLC directory, under the terminal entry that matches the TERM variable used.
When the entry for the key function in the protermcap does not match its escape sequence, then modification in protermcap is needed.
Should entries be added within protermcap, then it is needed to add a backslash on the line just previous to the first line appended; PROGRESS recognizes the end of a PROTERMCAP entry as the line with no ending backslash.