http://www.bookshelf.jp/texi/emacs-man/21-3/jp/faq_5.html#SEC80
http://www.namazu.org/~tsuchiya/elisp/#ansi-color
(autoload 'ansi-color-for-comint-mode-on "ansi-color"
"Set `ansi-color-for-comint-mode' to t." t)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)