tcl.set-esc
Sets the value of escape character for the current process.
Syntax
set-esc {argument} {(option}
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.
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.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
