Subject: Re: ksh and tab completion
To: None <email@example.com>
From: Matthias Buelow <firstname.lastname@example.org>
Date: 03/19/2001 21:40:40
>in man there is written about set vi and set vi-tabcomplete
>unfortunately it does not work.
set -o vi (etc.)
with "set vi" you just set the positional parameters to "vi".
>does anybody know how to make tabcompletion in ksh?
in the pdksh, which NetBSD's /bin/ksh is per default, with
set -o vi-tabcomplete, as the manpage says.
Just for the records, in the real KornShell, you cannot do this
in ksh88, but in ksh93 you can by rebinding some discipline and
setting viraw (obviously can't work in the default half-cooked
vi mode without the need for a third eol-character, which no Unix
has.) (Just in case someone is about to use ksh on a UNIX[tm] system
and is wondering why "vi-tabcomplete" won't work.)
 vi-mode using ksh users normally get used to esc-\ and esc-=
pretty fast but ymmv.