space CONT-d in csh...

Michel Fingerhut fingerhu at ircam.fr
Fri Dec 21 20:03:11 AEST 1990


hubcap at hubcap.clemson.edu asks about
>So I just noticed that the key sequence      SPACEBAR^d
>I just went through the man page, and unless I missed it, this feature
>is not described there. ...


It is.  See under "Command and Filename Recognition" section of csh(1).  It
is a particular case of CTRL/D for list of options:  suppose there is a command
or a file name of which you remember only the beginning, or you want to know
all commands or filenames (or even user names) starting that way.  Type then
the prefix immediately followed by CTRL/D, and csh will list all possible
completions.

Now your particular case is prefix=SPACE.  Space being the legal prefix of
all possible built-in commands and commands in your $path (since it's actually
ignored), when followed by CTRL/D it lists them all, inasmuch as typing "l"
followed by CTRL/D will list all commands and built-in starting with "l".

On Suns, it exists if you set the filec csh variable.



More information about the Comp.unix.ultrix mailing list