Introduction to Terminal Commands

#### Search Results

Search

# Introduction to Terminal Commands

This document covers the following topics:

- Purpose of Terminal Commands

- Changing the Terminal Command Control Character

- Issuing Terminal Commands

- Using Terminal Commands in Programs

- Terms Used in the Terminal Command Descriptions

## Purpose of Terminal Commands

A complete functional overview of Natural terminal commands is given in the section Terminal Commands Grouped by Function.

## Changing the Terminal Command Control Character

You can define another special character as control character; this is done with the session parameter `CF`.

When the control character is changed, all terminal commands which have been assigned to function keys will be adjusted accordingly.

## Issuing Terminal Commands

Terminal commands can be used in a Natural runtime environment. The following rules apply:

## Using Terminal Commands in Programs

Terminal commands may also be issued from within a program by using the `SET CONTROL` statement. When a terminal command is specified with a `SET CONTROL` statement, the control character is omitted.

## Terms Used in the Terminal Command Descriptions

In the descriptions of several terminal commands, the terms "screen" and "window" are used with the following meanings:

Term | Meaning
--- | ---
Screen | Depending on the operating system under which Natural is running, "screen" refers either to the entire terminal screen as such, or to the operating-system window in which the Natural session is running, or to the Natural main output window. However, for the sake of convenience, the term "screen" is used in all these instances.
Window | Always refers to the Natural window (as explained with the terminal command `%W`).

### On this page

- Purpose of Terminal Commands
- Changing the Terminal Command Control Character
- Issuing Terminal Commands
- Using Terminal Commands in Programs
- Terms Used in the Terminal Command Descriptions