Consultor Eletrônico



Kbase 47664: How to change size of a terminal emulator window in UNIX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Solution ID: P17664

GOAL:

How to change size of a terminal emulator window in UNIX

FACT(s) (Environment):

UNIX

FIX:

With some terminal emulators, the Progress session will be resized automatically to match the number of rows and columns for the terminal emulator's window, so no work is needed.

For other terminal emulators and the ones running over a serial line, Progress has no way of finding how many rows and columns your terminal emulator window has. In these cases, the protermcap file must be edited, adding a new entry reflecting the desired number of rows and columns. For example:

myTerminal|Customized terminal:\
:li#53:\
:co#95:\
:tc=vt220:

In the above example, terminal myTerminal defines a terminal type which is 95 columns wide and 53 lines high. The rest of the terminal definitions (function keys, escape sequences for reverse and underline, etc.) are taken from the vt220 definitions.

You activate this entry by setting the TERM environment variable to myTerminal:

TERM=myTerminal
export TERM
pro myDb .....