Filename Completion Key Meaning Alt-F or Ctrl-F Filename completion. Appending the ``*'' wildcard character onto the end, use the previous word as a wildcard pattern. If it matches a single file, substitute it in with a space following. If there were multiple matches, but they all had some common front-part that fully ``used up'' the pattern, substitute in just that common front- part and show it in the color specified by the DUPLICATES variable (default is green). If substitution wasn't possible, highlight the pattern in the color specified by the MATCHFAIL variable (default is bright red). Alt-D or Ctrl-D Duplicate completions. Same wildcarding, but if there are multiple matches, show them all with a space following. If there were no matches, highlight the pattern in the color specified by the MATCHFAIL variable. Next filename. Move one-by-one through the list of matching filenames. After the last, paste the original back in place, highlighting with the MATCHFAIL color, then continue, with the next Tab, cycling through the list again. (To type an ordinary tab character, use Ctrl-.) Shift- Previous filename. Same as Tab, but cycling in reverse through the list. Command Completion Command completion lets you type just part of a previous command and have the shell fill in the rest. As with filename completion, if no match is found, color highlighting as defined by the MATCHFAIL variable (default is bright red) will be used. Consecutive depressions cause the search to continue on back through the history list. Key Meaning Ctrl- Search for the last command that starts with the characters in the previous word. Alt- Search for the last command that contains the characters in the previous word anywhere on the command line. Command Line Editing Key Meaning Accept the command as typed. Move to the end (if not there already) and carriage return to a new line. Beginning of command line. End of command line. 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 these references that failed. If already at the first entry, the command line is highlighted in bright red. Down one command line in the history list. If already at the latest entry, the command line is highlighted in bright red. One character left. One character right. Ctrl- Move to the upper-leftmost character in the current screenful if the command is long enough that it actually wraps across several screens. Ctrl- Move to the lower-rightmost character in the current screenful. Ctrl- Up one row on the screen if the command is long enough that it runs over a row. Ctrl- Down one row on the screen. Ctrl- Backup word. Ctrl- Forward word. Alt- Delete all preceding characters on the command line. Alt- Delete all following characters. Alt- Delete up one row on the screen if the command runs over a row. Alt- Delete down one row. Alt- Delete preceding word. Ctrl- Alt- Delete following word. Toggle insert/overstrike mode. When inserting, the cursor is slightly thicker. Ctrl- 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 all the rest of the previously deleted text. Backup to one past the last history reference. (Repeatedly typing is a convenient way of picking up a whole series of commands from history.) Forward to the newest entry in the history list. Clear the command line. Note: Users lacking separate arrow keys must press Ctrl- Shift instead of Alt.