The esc-toggle BASIC program turns the function of the ESC key to either be treated as data (esc-data) or as a level-pushing mechanism (esc-level).
See Also
define-up Command, esc-data Command, esc-level Command, Levels