Hamilton C shell
Command Line Editing


Key
Meaning
<Enter> Accept the command as typed. Move to the end (if not there already) and carriage return to a new line.
<Home> Beginning of command line.
<End> End of command line.
<UpArrow> Up one command in the history list. Each time it's pressed, it displays the preceding entry in the history list. Any "!..." or "%..." history references in the original text will have been fixed up unless it was the immediately preceding command and it had one of these references that failed. If already at the first entry, the command line is highlighted in bright red.
<DownArrow> Down one command line in the history list. If already at the latest entry, the command line is highlighted in bright red.
<LeftArrow> One character left.
<RightArrow> One character right.
Ctrl-<Home> Move to the upper-leftmost character in the current screenful if the command is long enough that it actually wraps across several screens.
Ctrl-<End> Move to the lower-rightmost character in the current screenful.
Ctrl-<UpArrow> Up one row on the screen if the command is long enough that it runs over a row.
Ctrl-<DownArrow> Down one row on the screen.
Ctrl-<LeftArrow> Backup word.
Ctrl-<RightArrow> Forward word.
Alt-<Home> Delete all preceding characters on the command line.
Alt-<End> Delete all following characters.
Alt-<UpArrow> Delete up one row on the screen if the command runs over a row.
Alt-<DownArrow> Delete down one row.
Alt-<LeftArrow>   Ctrl-<Backspace> Delete preceding word.
Alt-<Insert> Toggle insert/overstrike mode. When inserting, the cursor is slightly thicker.
Ctrl-<Insert> Insert the next word from the last section of deleted text. When it reaches the end of the deleted text, it starts over.
Alt-<Insert> Insert all the rest of the previously deleted text.
<PageUp> Backup to one past the last history reference. (Repeatedly typing <PageUp> <Enter> is a convenient way of picking up a whole series of commands from history.)
<PageDown> Forward to the newest entry in the history list.
<Esc> Clear the command line.

Note: Users lacking separate arrow keys must press Ctrl-Shift instead of Alt



Previous Topic | Next Topic

Hamilton C shell | Free Updates | Free Demo Software | Win32 Training
Y2K | Customer Testimonials | On-line Hamilton C shell User Guide
Home | Email | Support | Company Profile | Distributors | Links



Copyright © 1997-2001 by Hamilton Laboratories. All rights reserved.
You are visitor number 1818. This page was last modified August 9, 2001.