Autocomplete directories using tcsh - tab/escape key

inode0 inode0 at gmail.com
Mon Sep 26 14:06:07 UTC 2005


On 9/26/05, Andrew.Bridgeman at corusgroup.com
<Andrew.Bridgeman at corusgroup.com> wrote:
>   We are looking at moving all user accounts from tcsh to ksh to
> enable certain bits of software to work properly. When the users currently
> login they get standard profile so all paths to software and aliases are
> the same. I am trying to find out what/where allows users to autocomplete
> directories i.e when they type cd /user/a they then press tab or escape and
> it completes the directory i.e cd /user/andrewb. We need to get this
> autocomplete function to work when we move to ksh as the users have said it
> is a very useful function. Any help with this would be much appreciated on
> this issue.

This seems to be working for me out of the box. Which version of ksh
are you running?

$ rpm -qf `which ksh`
ksh-20040229-12

If you are using the ancient pdksh I think there are some "set -o"
options controlling tab and escape completion.

John




More information about the redhat-list mailing list