3

Is it possible to make completion with Tab like in bash?

Currently I use Esc twice, can this be changed to a tab?

  • 1
    Holy moly, you're using a System V machine? – Bratchley Apr 27 '15 at 15:25
  • Only for test study,i like old system like dos,unix sysV,even unix v7(1979),for work and at home i use linux,hpux,aix and sometimes ios – elbarna Apr 27 '15 at 15:30
  • It does not appear that ksh88 implements configurable key bindings – glenn jackman Apr 27 '15 at 15:44
  • I have configured alias for use arrow keys instead ctrl+p,ctrl+n,etc i though was possible alias esc too – elbarna Apr 27 '15 at 15:57
2

I'm not sure which version of System V you're using, nor which version of ksh, but it's possible to change the completion key to Tab with ksh93 (not with ksh88, though, I believe).

Depending on age, these in your ~/.profile may do it:

set -o emacs
bind bind "^I=complete"

See this thread for more info.

  • sure work,but on my unix srv4(att 2.1) ksh is ksh88,anyway thanks – elbarna Jul 13 '15 at 18:49
1

The question is solved: with ksh93 is possible to change completion key, but with ksh88 it's not possible

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.