Index
The log display window

The Command-input window

The command-input window is used for sending commands to the control-system. The available commands can be seen by typing

  help
in this window. To see help on a particular command, type:
  help command_name
When one types in a command that results in a reply message, or an error message, this is displayed in the command-input window in a different color.

Cut and paste

The command-input window supports cut and paste operations. To select the text to be cut, click and hold the left mouse button over the first character of the text that you want to select, and drag until you have selected everything that is of interest.

If your selection extends over more than one line, you will notice that the prompts are not included in the selected text. If there are any command output messages within your selected area, you will also notice that they are not included in the selected text. This was designed to allow one to just cut and paste the commands without also getting extraneous text. Similarly, if your selection starts within output text, command input won't be included in the selected text. To be more specific, if one starts a selection in a particular type, of text, such as within a prompt, a command, or a reply message, the selection will only include similar text.

Pasting text within the window is simply a matter of pressing the middle mouse button within the command window.

Command-line editing

The command-line editing options are modelled on those of tcsh. For example the arrow keys can be used for recalling previous commands and moving the cursor left or right within a given command. In the following list of key bindings, the prefix Control- means that you should hold down the Control key while pressing the key that follows it. Similarly, the prefix Meta- means that you should hold down the Meta key while pressing the key that follows it. The Meta key on a Sun keyboard is marked with a black diamond. Finally, a prefix of Escape- means that one should press the escape key momentarily, then press the key that follows it.
Control-b or LeftArrow
Move the cursor one character to the left.
Control-f or RightArrow
Move the cursor one character to the left.
Control-LeftArrow or Meta-b or Escape-b
Move one word to the left.
Control-RightArrow or Meta-f or Escape-b
Move one word to the right.
Control-a
Move the cursor to the start of the line.
Control-e
Move the cursor to the end of the line.
BackSpace Delete or Control-h or Control-?
Delete the character that precedes the cursor.
Control-d
Delete the character that follows the cursor.
Meta-Delete or Escape-Delete
Delete the word that precedes the cursor.
Meta-d or Escape-d
Delete the word that follows the cursor.
Control-u
Delete the whole line.
Control-k
Delete everything to the right of the cursor.
Meta-p or Escape-p
Search backwards for the previous command that started with the text that currently precedes the cursor. You can keep hitting this key sequence multiple times to find older matches.
Meta-n or Escape-n
After having searched backwards, this key-binding will switch to searching forwards for the next command that started with the text that currently precedes the cursor. You can keep hitting this key sequence multiple times to find newer matches.
Home or Escape-<
Scroll back to the first line in the window.
End or Meta-> or Escape->
Scroll forward to the last line in the window.
Prior or Meta-v or Escape-v
Scroll back one page.
Next or Control-v
Scroll forward one page.
Control-Space or Control-@
Set a mark at the character position that is currently under the cursor.
Control-w
Cut the text between the cursor and the mark (previously set by Control-Space or Control-@) to the clipboard.
Meta-w or Escape-w
Copy the text between the cursor and the mark to the clipboard, without deleting it first.
Control-y
Copy text from the clipboard into the current line.
Martin Shepherd (4-Nov-1999)