tcl.esc-level Verb: Access/TCL

tcl.esc-level

Command tcl.esc-level Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
Description specifies that the <escape> key is to push a level when pressed.

On AP/Unix, this command uses "set-esc" to enable the special escape key. Without any argument, the usual ESCAPE value (x'1B' or 27) is assigned to the level pushing function. The optional argument defines an alternate value (see the command "set-esc").

The following arguments are valid on AP/Unix:


".hexnum" Indicates the key to trigger a level push, designated by its corresponding hexadecimal value.

"decnum" Indicates the key to trigger a level push, designated by its corresponding decimal value.

"esc" Defines escape as x"1B", the normal value for escape.

"?" Displays command usage information without changing any existing settings.
Syntax esc-level [decnum | .hexnum | esc | ?]
Options
Example
esc-level

Makes the <escape> key push a level.


esc-level .1a

This causes a <ctrl>+z to push a level. Valid on AP/Unix only.


esc-level 26 

This also causes a <ctrl>+z to push a level, but is indicated by its 
decimal value. Valid on AP/Unix only.


esc-level ? 

Usage: esc-level {decimal|.hexadecimal|off|esc|?}

This example shows the "on-line" help text produced by "?".


esc-level esc

This resets the <escape> key to its "normal" definition.
Purpose
Related tcl.brk-debug
tcl.level.pushing
levels
tcl.esc-toggle
tcl.break-key
tcl.brk-level
tcl.esc-data
tcl.set-esc
editor.p
system.debugger.end
filename.keyboards
basic.execute