howto set tabcomplete

howto set tabcomplete

Post by jp.. » Fri, 07 Apr 2000 04:00:00



does anyone know how to set filecompletion using the tab key
under ksh with vi commandline emulation under aix?

appreciate the help

john

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

howto set tabcomplete

Post by qazw.. » Fri, 07 Apr 2000 04:00:00




> does anyone know how to set filecompletion using the tab key
> under ksh with vi commandline emulation under aix?

Don't know about tab complete (that's a csh thing). However, if you
press "<ESC>\" (and you have set -o vi), that will complete your file
name. An extra key press over csh, but it does work.

Also try out "<ESC=>" and "<ESC*>". "<ESC>=" will list all of the files
that so far match your input, and "<ESC>*" will fill in for all files
that do match.

Otherwise, take a look at "man ksh" on your system and see if they
mention tab key file name completion.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

howto set tabcomplete

Post by F. Michael Or » Sat, 08 Apr 2000 04:00:00





> > does anyone know how to set filecompletion using the tab key
> > under ksh with vi commandline emulation under aix?

> Don't know about tab complete (that's a csh thing). However, if you
> press "<ESC>\" (and you have set -o vi), that will complete your file
> name. An extra key press over csh, but it does work.

> Also try out "<ESC=>" and "<ESC*>". "<ESC>=" will list all of the files
> that so far match your input, and "<ESC>*" will fill in for all files
> that do match.

> Otherwise, take a look at "man ksh" on your system and see if they
> mention tab key file name completion.

If you 'set -o emacs', then ESC-ESC will do filename completion in ksh.
--

F. Michael Orr
Sr. Systems Engineer
Norfolk Public Schools, Norfolk, VA, USA

 
 
 

howto set tabcomplete

Post by Dan Merc » Sat, 08 Apr 2000 04:00:00






>> does anyone know how to set filecompletion using the tab key
>> under ksh with vi commandline emulation under aix?

> Don't know about tab complete (that's a csh thing). However, if you
> press "<ESC>\" (and you have set -o vi), that will complete your file
> name. An extra key press over csh, but it does work.

> Also try out "<ESC=>" and "<ESC*>". "<ESC>=" will list all of the files
> that so far match your input, and "<ESC>*" will fill in for all files
> that do match.

Unless the resulting command line will exceed some buffer size which
seems to be around 256 characters.  I couldn't correlate i to anything
in limits.h.

--
Dan Mercer

Quote:

> Otherwise, take a look at "man ksh" on your system and see if they
> mention tab key file name completion.

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Opinions expressed herein are my own and may not represent those of my employer.