Kbase P167415: How to adjust the OpenEdge line count limit with the protermcap file?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/06/2010 |
|
Status: Unverified
GOAL:
How to adjust the OpenEdge line count limit with the protermcap file?
GOAL:
Where can I change the line count limit used in Unix by OpenEdge?
FACT(s) (Environment):
UNIX
Progress/OpenEdge Product Family
FIX:
The protermcap file is used to configure many things related to the use of OpenEdge in relation to the terminal capabilities.
To change the number of lines OpenEdge will display within the client session it is necessary to modify the protermcap file.
Initially it might be advisable to make a copy of the $DLC/protermcap file.
Make changes to the copy of the protermcap file.
Use the PROTERMCAP environment variable to refer to the private copy of the protermcap file until or unless the modifications are complete and the decision is made to make the changes global for all users.
Example of setting the PROTERMCAP environment variable:
PROTERMCAP=/home/myuser/protermcap; export PROTERMCAP
1) Identify what term type is being used.
2) Within the protermcap find the corresponding term type.
3) Add (if none exists) or modify the current definition of li# and then save the file.
Example of li# which sets number of lines to 24:
:li#24:\
Example of li# which sets number of lines to 30:
:li#30:\