NVRAMRC Script Editor Keystroke Commands
You use the keystrokes in this table on the command line, or with the NVRAMRC script
editor. Use the keystrokes to re-execute previous commands without retyping them, to
edit the current command line, to fix typing errors, or to recall and change previous
commands.
|
|
Control-B
|
Moves backward one character.
|
Escape B
|
Moves backward one word.
|
Control-F
|
Moves forward one character.
|
Escape F
|
Moves forward one word.
|
Control-A
|
Moves backward to beginning of the line.
|
Control-E
|
Moves forward to end of the line.
|
Control-N
|
Moves to the next line of the NVRAMRC script editing
buffer.
|
Control-P
|
Moves to the previous line of the NVRAMRC script editing
buffer.
|
Return (Enter)
|
Inserts a new line at the cursor position and advances to the next
line.
|
Control-O
|
Inserts a new line at the cursor position and stays on the current
line.
|
Control-K
|
Erases from the cursor position to the end of the line, storing
the erased characters in a save buffer. If at the end of a line,
joins the next line to the current line (that is, deletes the new
line).
|
Delete
|
Erases the previous character.
|
Backspace
|
Erases the previous character.
|
Control-H
|
Erases the previous character.
|
Escape H
|
Erases from beginning of word to just before the cursor, storing
erased characters in a save buffer.
|
Control-W
|
Erases from beginning of word to just before the cursor, storing
erased characters in a save buffer.
|
Control-D
|
Erases the next character.
|
Escape D
|
Erases from the cursor to the end of the word, storing the erased
characters in a save buffer.
|
Control-U
|
Erases the entire line, storing the erased characters in a save
buffer.
|
Control-Y
|
Inserts the contents of the save buffer before the cursor.
|
Control-Q
|
Quotes the next character (i.e. allows you to insert control
characters).
|
Control-R
|
Retypes the line.
|
Control-L
|
Displays the entire contents of the editing buffer.
|
Control-C
|
Exits the NVRAMRC script editor, returning to the OpenBoot command
interpreter. The temporary buffer is preserved, but is not written
back to the script. (Use nvstore afterwards to
write it back.)
|
|