Alias in ksh

Alias in ksh

Post by Kevin Gehr » Sat, 03 Feb 1996 04:00:00



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

Kevin Gehrke

 
 
 

Alias in ksh

Post by David and Rachel Weintra » Sun, 04 Feb 1996 04:00:00




> 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

Yes,

You need to "set -o vi".

Once this is done, you hit "Esc \" or on HP-UX "Esc Esc" to get file
completion.

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

 
 
 

1. What's 'side effects' of Ksh built-ins?

Hi,

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.

Lesley Yang

2. Sound configuration problem

3. aliases, aliases, aliases...

4. pppd daemon keeps dying!

5. script alias problem - Re: apache alias and script alias problem

6. kernel installation on a RedHat system

7. How can I define an alias for an arrow key in ksh (AIX 3.2)?

8. Apache Under Load

9. alias in KSH ?

10. alias in ksh

11. Parameters for alias csh to ksh

12. Retaining ksh aliases w/newgrp. Possible?

13. How to do csh-like alias in ksh?