R3166-R3206-HP High-End Firewalls Getting Started Command Reference-6PW101
12
Field Descri
p
tion
Location IP address of the user
F The current user works in asynchronous mode
escape-key
Syntax
escape-key { default | character }
undo escape-key
View
User interface view
Default level
3: Manage level
Parameters
character: Specifies the shortcut key for terminating a task, a single character (or its corresponding ASCII
code value in the range 0 to 127) or a string of 1 to 3 characters. Only the first character of a string
functions as the shortcut key. For example, if you enter an ASCII code value of 113 , t h e sy s te m u s e s i t s
corresponding character q as the shortcut key. If you enter the string q@c, the system uses the first
character q as the shortcut key.
default: Restores the default escape key combination of Ctrl+C.
Description
Use the escape-key command to define a shortcut key for terminating a task.
Use the undo escape-key command to disable the shortcut key for terminating tasks.
By default, a task is terminated by pressing Ctrl+C.
After you define a new shortcut key by using the escape-key command, the new shortcut key is used to
terminate a task. To display the shortcut key you have defined, use the display current-configuration
command.
If you set the character argument in a user interface of a device, when you use the user interface to log
in to the device and then telnet to another device, the character argument can be used as a control
character to terminate a task rather than used as a common character. For example, if you specify
character e in VTY 0 user interface of Device A, when you log in to Device A by using VTY 0 from a PC
(Hyper Terminal), you can input e as a common character on the PC, and you can also use e to terminate
the task running on Device A. If you telnet to Device B from Device A, you can only use e to terminate the
task running on Device B, rather than use e as a common character, so specify character as a key
combination.
Examples
# Define key a as the shortcut key for terminating a task.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] escape-key a
To verify the configuration: