Controlling mvTerm Properties from mvBASIC

There are two new UMESSAGE messages which mvTERM responds to, which allow changing the size of the window and the terminal emulation of the current session.

The new messages are defined in the BASICLIB file, VTERM.MSGS item.

The message to change the size is WM.TERM.SIZE and the message to change the emulation is WM.TERM.TYPE.

The message parameters for the WM.TERM.SIZE are 80/132, 24/25/40/42/43

The message parameters for the WM.TERM.TYPE are "I" or "V"

If any message parameter is 0 or null (or an invalid value) then the corresponding mvTERM session property is left unchanged.

Examples

Changing the mvTERM Terminal Emulation to the current TERM type.

UMESSAGE WM.TERM.TYPE, 0, SYSTEM(7)

Changing the mvTERM page size to 132x43

UMESSAGE WM.TERM.SIZE, 132, 43

Changing the mvTERM page depth to 25'

UMESSAGE WM.TERM.SIZE, 0, '25'

There is a demo program (TERM) in the DEMO account (with source) accessible via the menu bar.

See Also

Configuring and Using the mvTerm Client

Setting Up mvTerm on Windows

Overview of the mvTerm Window

Configuring (and Saving) mvTerm Properties

Using mvTerm Command Line Syntax

Creating Customized mvTerm Menus

Starting and Connecting mvTerm

Logging off and Disconnecting mvTerm

Copying and Pasting Within an mvTerm Client Session

Using Back Pages

Using Enhanced Programmable Mouse Click Features