Consultor Eletrônico



Kbase P97257: Compilation errors related to frame size when moving from SCO (8.2C) to Linux (9.1D)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/9/2004
Status: Unverified

FACT(s) (Environment):

RedHat Enterprise Linux ES 3.0
Progress 8.2C
Progress 9.1D
SCO OpenServer

SYMPTOM(s):

Code moved from 8.2C on SCO OpenServer to 9.1D09 on RedHat Enterprise Linux ES 3.0

Unable to fit frame on output device. (400)

Cannot fit <widget name> with <at/colon/to> within FRAME <frame>. (4027)

Ignoring position info for AT (2054)

<widget name> will not fit in FRAME <frame name> in PROGRAM . (4028)

This title is too wide for the frame: . (239)

CAUSE:

A custom 4GL program is used to compile the application. This program sets the terminal type to vt220w then does a PUT SCREEN to send control codes to the terminal. It appears that the PUT SCREEN statement is no longer needed and/or interferes with the switching from 80 columns to 132 columns.

FIX:

Set the terminal type at the operating system level to vt220w (i.e. TERM=vt220w; export TERM) and comment out the code in the compile program that sets the terminal type and does the PUT SCREEN to send control codes to the terminal.