OpenBoot 3.x Command Reference Manual

NVRAM Script Editor Keystroke Commands

Table I-7 NVRAM Script Editor Keystroke Commands

Keystroke 

Description 

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 script editing buffer. 

Control-P 

Moves to the previous line of the script editing buffer. 

Return (Enter) 

Inserts a newline at the cursor position and advances to the next line. 

Control-O 

Inserts a newline 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 (i.e. deletes the newline). 

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 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.)