tcl.set-esc Verb: Access/TCL

tcl.set-esc

Command tcl.set-esc Verb: Access/TCL
Applicable release versions: AP/Unix
Category TCL (746)
Description specifies the value of the key to treat as the <escape> key. This key subsequently pushes a level when pressed.

The key to trigger a level push may be redefined by indicating the decimal or hexadecimal value of the character to use in place of <escape>.

Valid arguments:

".hexnum"

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

"decnum"

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

"off"

Disables this function by defining escape as x"ff".

"esc"

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

"?" Displays command usage information without changing anything.
Syntax set-esc {argument} {(option}
Options q Quiet mode; no output is displayed.
Example
set-esc
Escape value x'1C' (decimal 28)
This checks the current setting for the escape key.

set-esc 3
Escape value x'03' (decimal 3)
Previous value x'1C' (decimal 28)
This defines the <escape> key as <ctrl>+c.

:set-esc esc
Escape value x'1B' (decimal 27)
Previous value x'03' (decimal 3)
This defines the <escape> key as the <break> key.
Purpose
Related tcl.esc-level
tcl.set-break
tcl.esc-data
tcl.config.options
unix.pick0
r83.to.ap.3
Pickto.ap.3