binding keys in Korn Shell

binding keys in Korn Shell

Post by Mohit Aro » Sat, 05 Apr 1997 04:00:00



Hi,
        I want to bind the TAB key to do file completion as well as show
all the matching files in the directory when no single filename match is found.
This is akin to what happens in bash. Does anyone know how to do this ? The
defaults (M-ESC and M-=) are too cumbersome.

- Mohit

 
 
 

binding keys in Korn Shell

Post by John Adam » Fri, 11 Apr 1997 04:00:00




> >Hi,
> >       I want to bind the TAB key to do file completion as well as show
> >all the matching files in the directory when no single filename match is found.
> >This is akin to what happens in bash. Does anyone know how to do this ? The
> >defaults (M-ESC and M-=) are too cumbersome.

> I had a discussion with Jeffrey Korn about this last month.

> Here are the excerpts:

> ---------------------------------------------------------------------------
> Date: 4 Mar 1997 18:58:36 GMT

> Newsgroups: comp.unix.shell
> Subject: Re: ksh: Filename completion: How to set [tab]

> Make sure you're using ksh93 (from www.research.att.com/sw/tools/reuse) which
> has the ability to do arbitrary key bindings.  Then try this:

What, if anything, can be done if you must still work with the 88d version?

John Adams