Sun Microsystems 6800/4810/4800/3800 manual 6Command Line Editing Capabilities

Models: 6800/4810/4800/3800

1 138
Download 138 pages 63 Kb
Page 25
Image 25

Command Line Editing

The system controller has a basic command line editor that allows you to edit the command line. The keys you press are not echoed on the screen.

TABLE 2-6lists the keystrokes used to perform basic command line editing.

To use the Control key sequences, hold down the Control key while typing the following character (TABLE 2-6).

To use Escape key sequences, press and release the Escape key. Then press and release the following character (TABLE 2-6).

TABLE 2-6Command Line Editing Capabilities

Keystroke

Description

 

 

Backspace

Erases the character before the cursor.

(Control-h)

 

Delete

Erases the character before the cursor.

Control-U

Erases the entire line.

Control-C

Cancels editing the command line. The command is not executed.

Return

Finishes editing the line.

Control-b

Moves backward one character.

Esc-b

Moves backward one word.

Control-f

Moves forward one character.

Esc-f

Moves forward one word.

Control-a

Moves backward to the beginning of the line.

Control-e

Moves forward to the end of the line.

Esc-h

Erases from the beginning of the word to just before the cursor.

 

Stores erased characters in a save buffer.

Control-w

Erases from the beginning of the word to just before the cursor.

 

Stores erased characters in a save buffer.

Control-d

Erases next character.

Esc-d

Erases from the cursor to the end of the word. Stores erased

 

characters in a save buffer.

Control-k

Erases from the cursor to the end of the line. Stores erased characters

 

in a save buffer.

Control-u

Erases the entire line. Stores erased characters in a save buffer.

 

 

Chapter 2 System Controller Syntax, Arguments, and Device Names 9

Page 25
Image 25
Sun Microsystems 6800/4810/4800/3800 manual 6Command Line Editing Capabilities