tcl.set-esc

Verb: Access/TCL, Releases: AP/Unix

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

Command Name Type Description
tcl.esc-level Verb: Access Makes escape key push a level.
tcl.set-break Verb: Access Sets the value of 'brkchr' for the current process.
tcl.esc-data Verb: Access Makes escape key behave normal.
tcl.config.options Menu Configures various options.
unix.pick0 File Defines virtual machine configuration.
r83.to.ap.3 Article Differences between R83 and AP.
Pickto.ap.3 Article Differences between R83 and AP.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.