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.
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. |
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.
All command modes.
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