[an error occurred while processing this directive]
![]() |
![]() HP OpenVMS Systems Documentation |
![]() |
HP OpenVMS DCL Dictionary
SET CONTROL
Enables or disables the Ctrl/Y or the Ctrl/T function. Pressing Ctrl/Y interrupts a command and returns you to the DCL command level. Pressing Ctrl/T momentarily interrupts a command to print a line of statistics. FormatSET CONTROL [=(T,Y)] Parameter
DescriptionThe Ctrl/Y function provides a general-purpose escape from the current operation. The Ctrl/Y function can generally be used during an interactive terminal session to interrupt the current command, command procedure, or program image.
|
#1 |
---|
$ SET NOCONTROL=Y |
The SET CONTROL command in this example disables the Ctrl/Y function as well as most Ctrl/C functions.
#2 |
---|
$ SET CONTROL=T |
The SET CONTROL command in this example enables the Ctrl/T function.
#3 |
---|
$ SET NOCONTROL=(T,Y) |
The SET CONTROL command in this example disables both the Ctrl/T and Ctrl/Y functions.
#4 |
---|
$ []Ctrl/T NODE22::SMITH 16:21:04 (DCL) CPU=00:03:29.39 PF=14802 IO=18652 MEM=68 $ SET NOCONTROL=T $ []Ctrl/T |
As shown in this example, when you press Ctrl/T, the system displays the appropriate information. The SET NOCONTROL=T command disables the Ctrl/T function. Now when you press Ctrl/T, no information is displayed.
1 Note that DCL maintains a pending Ctrl/Y asynchronous system trap (AST) to the terminal driver. This affects captive command procedures when using the SET HOST command. For more information, see the description of the SET HOST command. |
Previous | Next | Contents | Index |