STACK-KEYS-ON/ STACK-KEYS-OFF Commands

The TCL Stacker Keys project provides the ability to scroll through previously inputted TCL statements using the up and down arrow keys. The system currently supports the storage and retrieval of previously inputted TCL statements using a TCL stacker list. The up array key (CTRL-Z) displays the previous command from the TCL stacker list and when on the oldest TCL stacker statement, the oldest TCL statement is re-displayed. The down array key (CTRL-J) displays the next command from the TCL stacker list and when on the newest TCL statement, a blank line is displayed. The TCL stacker keys feature can be enabled or disabled on a per process basis. When the TCL stacker keys feature is enabled, the special handling of the up and down arrow keys only occurs during the input processing of TCL statements and not at any other input processing component of the system (eg. INPUT statement handler in Basic runtime). When the TCL stacker feature is disabled, the up and down arrow keys operate as in previous mvBase releases with the up arrow key displaying the last inputted TCL statement and there not being any special processing for the down arrow key.

The STACK-KEYS-ON and STACK-KEYS-OFF commands allow the user to enable or disable the TCL stacker keys feature on a process.

Format

STACK-KEYS-ON n

STACK-KEYS-OFFn

Parameter(s)

n

(Optional) Specifies the line number on which stack keys are being enabled of disabled. If not specified, stack keys are  enabled of disabled on the current process.

Description

When a user logs onto an account and the process gets initialized, the TCL stacker keys feature is disabled by default. The user must execute the STACK-KEYS-ON command to enable the TCL stacker keys feature, which could be placed in a logon PROC. These commands can be used to enable or disable the TCL stacker keys feature on any process of the system by specifying the line-number parameter with the command.