%M - Control of Message Line

#### Search Results

Search

# %M - Control of Message Line

`%M` |  |  |  | `T` |  |
|  | `B` |
|  | [-]nn |
= |  | `BL` |
`GR`
`NE`
`PI`
`RE`
`TU`
`YE`

With this terminal command, you can control the position, the protection mode and the color of the Natural message line.

This terminal command is ignored in batch mode.

This document covers the following topics:

- Message Line Positioning

- Message Line Color

## Message Line Positioning

Command | Function
--- | ---
`%MT` | Causes the message line to be the top line of the screen.
`%MB` | Causes the message line to be the bottom line of the screen.
`%M` | Causes the current message line position to be switched from the top line to the bottom line of the screen (or vice versa), or from line `nn` to the bottom line.
`%Mnn` | Causes the message line to be placed on line `nn` of the screen.
`%M-nn` | Causes the message line to be placed on the `nn`th line from the bottom of the screen. If the line number `nn` or -`nn` is not within the current screen, the message line will not be displayed.

## Message Line Color

Command | Function
--- | ---
`%M=color-code` | When a color screen is used, this terminal command causes the message line to be displayed in the specified color (for an explanation of color codes, see the session parameter `CD`).

See also Control of the Message Line - Terminal Command %M in the Programming Guide.

### On this page

- Message Line Positioning
- Message Line Color