set keys

Use the set keys command to

Use the carat character (^) to indicate that the CTRL key should be held while pressing another key.

Anyone can display or change key mappings.

Command Syntax

Configuration Syntax

Enter the set keys command as shown below to change the key sequences you use to generate certain characters and command functions.

set keys function=keys

Display Syntax

Enter the set keys command as shown below to display current key mappings.

set keys [range=range]

Command Fields

Command Field

Description

function

backchar  the back key (move cursor back). PortServer TS 8/16 only.  Default is ^b
eof  the end of file character. Default is ^d
erase  the erase command. Default is ^h
forwchar  the forward key (move cursor forward). PortServer TS 8/16 only. Default is ^f
intr  the interrupt command. Default is ^c
kill  the kill character. Default is ^u
lnext  literal next character (interpret the next character literally). PortServer TS 8/16 only. Default is ^v
nextcmd  scroll forward through the command history. PortServer TS 8/16 only. Default is ^n
prevcmd  scroll backward through the command history. PortServer TS 8/16 only. Default is ^p
tesc telnet escape  character Digi One, PortServer TS 2/4 only. Default is ^]
xon  the XON character. Default is ^q
xoff  the XOFF character. Default is ^s
xona  the auxiliary XON character. Default is ^q
xoffa the auxiliary XOFF character. Default is ^s

range

Specifies an entry or range of entries in the key table.

Command Examples

Displaying the Key Table

In this example, the set keys command displays the key table.

set keys

Changing a Key

In this example, the set keys command changes the key that generates an end of file character (eof).

set keys eof=^h