ECHO-ON/ECHO-OFF Command

The ECHO-ON and ECHO-OFF commands are used to enable and disable the echoing, or displaying on the screen, of characters entered at the keyboard. If echoing is disabled, input will not appear on the terminal screen as it is typed. By default, echoing is enabled. You must have SYS2 privileges to use this command on processes other than your own, and SYS1 privileges to affect your own process.

Format

ECHO-ON [n]

ECHO-OFF [n]

Parameter(s)

n

Process number. The default is the current process. If n is not specified, echoing is enabled or disabled for your current process.

Description

The ECHO-OFF command suppresses echoing for the terminal attached to a specified process. The ECHO-ON command restores input echoing for a specified process. These commands are frequently used in Procs.

When echoing is disabled, the system receives and processes input, but the characters don’t appear on the screen as they are entered. System messages do appear in response to this input, however.

Disabling Echoing for a Process

The following example disables echoing for a user whose process number is 21:

>ECHO-OFF 21

The user will not be able to see input entered at the terminal until either the ECHO command is executed from the user’s terminal, or the system administrator enters the following command:

>ECHO-ON 21