Kbase P129677: Troubleshooting Errors 443 and 4146
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  26/03/2009 |
|
Status: Verified
GOAL:
Troubleshooting Errors 443 and 4146
GOAL:
Unable to use your terminal. Check your PROTERMCAP file. (443)
GOAL:
The size of the variable terminal window should have a minimum of columns and a minimum number of rows. (4146)
FACT(s) (Environment):
UNIX
Progress/OpenEdge Versions
OpenEdge Category: Configuration
FIX:
When running a Progress/OpenEdge session on Unix or Linux there are PROTERMCAP settings which affect the minimum number of columns and rows allowed for a session. The minimum number of columns, by default is 73.
Sometimes users see errors that indicate the setting for columns is too small and refuses to start the client session. In cases such as this it is helpful to know what settings contribute to the value being used.
If the above errors appear when starting a Progress/OpenEdge session, the first place most users will look is the environment. There are environment variables in the *nix shell that may be used named COLUMNS or COLS and ROWS. To check these do the following at the command prompt:
echo $COLUMNS
echo $COLS
echo $ROWS
If any of these are outside allowable settings you can set the above variables as a first attempt at resolving this issue. If this doesn't work, take a look at stty settings. Depending upon the environment stty may be the final word on these settings. To set cols and rows via stty try the following at the command prompt.
stty cols 80
stty rows 24
If that doesn't work, look at the settings in your emulator. Most emulators allow setting columns and rows and Progress/OpenEdge may be getting these settings directly from the emulator.
Finally, some emulators (like putty) may inherit resolution settings from the desktop. If these numbers are set very low, regardless of the columns and rows settings anywhere, the emulator might set these values low to compensate for the low resolution.
This has also been known to happen when resizing the emulator window. The emulator software sees the new size and adjusts the settings accordingly. These settings may be passed to the Progress/OpenEdge session from the emulator even though it's not apparent in the environment.