Use coloured prompt under Emacs term-mode.
--- a/.bashrc Thu Jul 26 15:17:27 2012 +0300
+++ b/.bashrc Tue Jul 31 20:33:21 2012 +0300
@@ -12,7 +12,7 @@
PS1='bash# '
# Set magenta bold font.
case "$TERM" in
- xterm*)
+ xterm*|eterm-color)
PS1='\[\033[31m\033[1m\]\h\[\033[35m\]+bash# \[\033[0m\]'
PS2='\[\033[32m\]> \[\033[0m\]'
;;