Subject: Re: Wanted a better console
To: Gilbert FERNANDES <gilbert.fernandes@wanadoo.fr>
From: Karim Belbachir <karim@xuthal.net>
List: netbsd-help
Date: 09/03/2003 15:24:20
On Tue, Sep 02, 2003 at 09:54:13PM +0200, Gilbert FERNANDES wrote:
> Then edit your ~/.profile and add those lines :
> 
> set -o emacs
> bind '^I'=complete
> 
> The emacs mode will make up/down arrows show command history
> and the ^I is the TAB, which we link to complete. Korn offers 3 kinds
> of complete: command complete, file complete (local dir) or both.

You can also make ksh behave like the emacs mode of bash, that is, using
TAB for both command and file completion, by writing those lines:

set -o emacs
bind '^I'=complete
bind '^I'=complete-list

Be careful to write the bind commands in the that order else it does
not work.

Karim Belbachir