User guide
set keys
Chapter 2 Command Descriptions 147
set keys
Device support This command is supported in all devices.
Purpose Changes the key or key sequences used to generate certain characters
and command functions, or displays current key mappings for these
characters and functions.
Use the carat character (^) to indicate that the Ctrl key should be held while
pressing another key.
Required
permissions
The root user can configure key sequences. Normal users can display key
mappings.
Syntax Configure key sequences
set keys function=keys
[range=range]
Display current key mappings
set keys [range=range]
Options function=keys
One of the following characters or control functions (where ^ means
“press and hold the Ctrl key”):
backchar
The back character. The default is ^b.
eof
The end of file character. The default is ^d.
erase
The erase command. The default is ^h.
forwchar
The forward key (move cursor forward). The default is ^f.
intr
The interrupt command. The default is ^c.
kill
The kill character. The default is ^u.
lnext
The literal next character (interpret the next character literally). The
default is ^v.
nextcmd
Scroll forward through command history. The default is ^n.
prevcmd
Scroll backward through command history. The default is ^p.
xon
The XON character. The default is ^q.