AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Commandline auto completion with AIX using vi

    Posted Thu September 17, 2009 05:33 AM

    Originally posted by: SystemAdmin


    Hi,

    on our HP-UX systems we have an auto completion command line by clicking double ESC (Editor = vi Shell = ksh).

    For example:

    cd /ho + Double click ESC

    =

    cd /home
    Is is possible with AIX, too?

    Thans in advance
    #AIX-Forum


  • 2.  Re: Commandline auto completion with AIX using vi

    Posted Thu September 17, 2009 05:55 AM

    Originally posted by: SystemAdmin


    yeah :-)

    cd /ho(Esc key \key ) you will get auto completion using vi
    #AIX-Forum


  • 3.  Re: Commandline auto completion with AIX using vi

    Posted Thu September 17, 2009 06:07 AM

    Originally posted by: SystemAdmin


    Thanks for your answer. But it does not work for me.

    I have a german keyboard layout.
    Greetz
    #AIX-Forum


  • 4.  Re: Commandline auto completion with AIX using vi

    Posted Thu September 17, 2009 11:26 AM

    Originally posted by: hdkutz


    Try
    set -o vi
    Then execute
    cd /ho ESC + \
    Works here in Germany too.

    Cheers,
    ku
    #AIX-Forum


  • 5.  Re: Commandline auto completion with AIX using vi

    Posted Thu September 17, 2009 01:16 PM

    Originally posted by: kappa


    hi,

    auto filename completion works for ksh, no matter what unix flavour.

    set -o vi # ESC+\
    set -o emacs # ESC+ESC

    you can also set the cursor keys, but this is left as an exercise for the google fanboy :)
    #AIX-Forum