set line-editor

Use this command to set the current and default line editing mode or the way the Delete character is treated by the line editor. You can also set the persistence of your line editing selections.

Syntax

set line-editor {emacs | vi | default | delete {backspace | delete}} [default]

Parameters

emacs Selects emacs command line editing mode. See Basic Line Editing Emacs & vi Commands for some commonly used emacs commands.
vi Selects vi command line editing mode.
default Selects default line editing mode.
delete 
{backspace | delete} Sets the way the line editor treats the Delete ASCII character.

delete backspace — The line editor will treat Delete (0x7f) as a Backspace (0x08) character.

delete delete — The line editor will treat Delete as the Delete character (the default condition).

default (Optional) Make the line editor or Delete mode setting persist for all future sessions.

Defaults

If default is not entered after selecting a line editing or Delete mode, the selection will apply only to the current session and will not persist for future sessions.

Mode

All command modes.

Examples

This example sets the current line-editor to vi mode:

System(rw)->set line-editor vi

This example sets the default line-editor to emacs mode and sets the selection to persist for future sessions:

System(rw)->set line-editor emacs default