I am so used to using tcsh and the file completion feature on it. Is there
any way to get file completion to work on ksh. thanks
You need to "set -o vi".
Once this is done, you hit "Esc \" or on HP-UX "Esc Esc" to get file
Hitting "Esc =" will list all files that can fit the completion.
BTW, with "set -o vi", you use "vi" keys to search and edit your history.
Another neat feature is "Esc v" will bring you into vi itself and allow
you to edit your command line. I do this if I can't see the whole command,
or if I am editing a while loop.
There is a way of setting Emacs (I think "set -o emacs") and using Emacs
keystrokes for file completion, but I don't use it, and I don't have the
Korn book in front of me.
David Weintraub _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
System Configuration Management _/ _/
Dow Jones/Telerate - NSG _/ I AM THE GREAT AND POWERFUL OZ* _/
*Pay no attention to the man behind the curtains
I have a book called "The new KornShell Command and Programming
Language". In several chapters, it mentions "side effects" of
built-ins. I'm confused what's that so that I can't understand some
paragraphs. Any help is appreciated.
10. alias in ksh