key bindings

I'm using AIX 5.2 with ksh, I think it's ksh88 by default, and not ksh93.

I would like to enable my arrow keys to ressamble bash behaviour.

I don't know to what sequence of characters they're bound now. They do something but it's rather useless behaviour, meaning, unexpected and not very intuitive. How can I figure out what the current binding is, and how do I change it?

My arrow keys work as expected in vi. vi is my standard editor. I don't have emacs.

Well, what do you know?

set -o emacs
alias __A='^P'
alias __B='^N'
alias __C='^C'
alias __D='^B'
alias __H='^A'

works even without emacs on my system.

Now, does anyone has ideas on how to enable command completion with TAB?