set-esc

set-esc


set-dptr Index Level set-file
Syntax set-esc {argument} {(option}
Category TCL
Type Verb
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.
Options q  Quiet mode; no output is displayed.
See Also esc-level set-break esc-data config options pick0 Upgrading R83 to Advanced Pick, Part 3 of 3 Upgrading R83 to Advanced Pick, Part 3 of 3
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.
Warnings Assigning an "unreasonable" value to the <escape> key, such as the <return> key, will have unpredictable results.
Compatibility D3/Unix
set-dptr Index Level set-file