in ksh :
you can use cursor keys to move the cursor left/right or choose previous
commands when you specify (in .profile):

set -o emacs

alias __A='^P'

alias __B='^N'

alias __C='^F'

alias __D='^B'
# note : the aliases are control chars!
the colored output is a feature of "ls" i think, not made by bash.
so if you use AIX the ls will stay the same (without colors)
--> OK : bash has a built-in ls command... so the color is made "by
bash"...