Filename completion lets you type just the first part of a filename and have the shell fill in the rest. The variations are: using the F key for basic filename completion, the D key if you want all the duplicates listed or Tab or Shift-Tab (BackTab) to move forward or backward through the list one-by-one.
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 you don't want a space following, use the -N option when you start the C shell.) 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). (Any highlighting color is turned off when you press the next keystroke.) |
|
Alt-D or Ctrl-D |
Duplicate completions. Same wildcarding, but if there are multiple matches, show them all with a space following. (Here again, if you don't want a space following, use the -N option when you start the C shell.) If there were no matches, highlight the pattern in the color specified by the MATCHFAIL variable (default is bright red). |
|
<Tab> |
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-<Tab>. Alternately, if the C shell is started with the -T option, the Tab key generates a plain tab character and Ctrl-<Tab> is the filename completion key.) |
|
Shift-<Tab> |
Previous filename. Same as Tab, but cycling in reverse through the list. |
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
1318.
This page was last modified August 9, 2001.