here’s a quick and dirty way to teach ansi-color the aix color codes

(setq ansi-color-map
          [
           default bold
                           default italic underline bold bold-italic modeline
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil nil nil
                           (foreground-color . "black")
                           (foreground-color . "dark red")
                           (foreground-color . "forest green")
                           (foreground-color . "dark orange")
                           (foreground-color . "dark blue")
                           (foreground-color . "dark magenta")
                           (foreground-color . "dark cyan")
                           (foreground-color . "light grey")
                           nil nil
                           (background-color . "black")
                           (background-color . "dark red")
                           (background-color . "forest green")
                           (background-color . "dark orange")
                           (background-color . "dark blue")
                           (background-color . "dark magenta")
                           (background-color . "dark cyan")
                           (background-color . "light grey")
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil nil nil
                           nil nil nil nil nil nil nil nil nil
                           (foreground-color . "dim grey")
                           (foreground-color . "red")
                           (foreground-color . "green")
                           (foreground-color . "gold")
                           (foreground-color . "slate blue")
                           (foreground-color . "magenta")
                           (foreground-color . "cyan")
                           (foreground-color . "white")
                           nil nil
                           (background-color . "dim grey")
                           (background-color . "red")
                           (background-color . "green")
                           (background-color . "gold")
                           (background-color . "slate blue")
                           (background-color . "magenta")
                           (background-color . "cyan")
                           (background-color . "white")
                           nil nil
                           ]
          )