Problem:
I would like to use a vt220 emulation with some full screens with 132 columns and others full screens with 80 columns.
Resolution:
It is necessary to use the Micro Focus function cobtermmmode.
And also the compiled terminfo files must be right.
If the parameter of cobtermmode is validated to 1 the size of the screen is 25*132
If the parameter of cobtermmode is validated to 0 the size of the screen is 25*80
An example is attached .