Startup and General Configuration Summary set line-editor
2-14 Startup and General Configuration
set line-editor
UsethiscommandtosetthecurrentanddefaultlineeditingmodeorthewaytheDeletecharacter
istreatedbythelineeditor.Youcanalsosetthepersistenceofyourlineeditingselections.
Syntax
set line-editor {emacs | vi | default | delete {backspace | delete}} [default]
Parameters
Defaults
IfdefaultisnotenteredafterselectingalineeditingorDeletemode,theselectionwillapplyonly
tothecurrentsessionandwillnotpersistforfuturesessions.
Mode
Switchcommand,Read‐Write.
Examples
Thisexamplesetsthecurrentline‐editortovimode:
Matrix(rw)->set line-editor vi
Thisexamplesetsthedefaultline‐editortoemacsmodeandsetstheselectiontopersistforfuture
sessions:
Matrix(rw)->set line-editor emacs default
emacs Selectsemacscommandlineeditingmode.SeeTable 2‐7forsome
commonlyusedemacscommands.
vi Selectsvicommandlineeditingmode.
default Selectsdefaultlineeditingmode.
delete
{backspace|delete}
SetsthewaythelineeditortreatstheDeleteASCIIcharacter.
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)MakethelineeditororDeletemodesettingpersistfor all
futuresessions.